Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #library "start"
- #include "zcommon.acs"
- #include "stralloc.acs"
- #include "strcmp.acs"
- script "Start" ENTER CLIENTSIDE
- {
- SetFont("SmallFont");
- Log(s:"Welcome to Final Duel");
- SetFont("BIGFONT");
- HudMessage(s:"This mod has custom keys,make sure they're
- \n\nbound.
- \n\nWarning:This mod needs the game to be at a resolution
- \n\nto be 800x600 or higher.";
- HUDMSG_TYPEON | HUDMSG_LOG, 80000, CR_RED, 1.5, 0.8, 10.0,
- 0.05, 2.0);
- }
- script "Init" Enter
- {
- }
- script "startfd" Enter CLIENTSIDE // Starts everything
- {
- if(GetCVar("hud_scale") == 1)
- {
- setfont("BIGFONT");
- hudmessage(s:"You must set hud_scale to false,
- \n\n or this message will stay here forever.
- \n\n Open the console(", k:"toggleconsole", s:" button) and type:";
- HUDMSG_FADEINOUT, 0, CR_RED, 0.5, 0.44, 0.1, 0.1, 0.1);
- hudmessage(s:"HUD_SCALE 0";
- HUDMSG_FADEINOUT, 0, CR_GREEN, 0.5, 0.53, 0.1, 0.1, 0.1);
- }
- delay(1);
- restart;
- }
- // Changes player TID
- #define PLAYER_TID_START 1000
- script "PTID1" ENTER
- {
- Thing_ChangeTID(0,PLAYER_TID_START+PlayerNumber());
- }
- script "PTID2" RESPAWN
- {
- // Make sure our old dead body doesn't still have our tid
- Thing_ChangeTID(PLAYER_TID_START+PlayerNumber(),0);
- Thing_ChangeTID(0,PLAYER_TID_START+PlayerNumber());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement