Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #library "start"
- #include "zcommon.acs"
- #include "stralloc.acs"
- script 999 ENTER
- {
- Log(s:"Welcome to Final Duel");
- }
- script "Init" Enter
- {
- /*int s1;
- s1 = addString(StrParam(k:"reloader"));
- if(getString(s1) == "??? (reloader)")
- {
- ACS_Terminate(999, 0);
- Log(s:"ERROR 5, RELOAD KEY NOT BOUND");
- setfont("BIGFONT");
- Print(s:"Please set a key for reloading in the options menu");
- }*/
- }
- script "startfd" Enter // Starts everything
- {
- // int reloadset = StrParam(k:"reloader");
- /* if(GetCVar("sv_smartaim")<3 && GetCVar("sv_smartaim")!=0 && GetCVar("fd_dummycmd") == 1 || GetCVar("sv_smartaim")>3 && GetCVar("sv_smartaim")!=0 && GetCVar("fd_dummycmd") == 1)
- {
- setfont("BIGFONT");
- hudmessage(s:"You must set your autoaim to 'Only Monsters',
- \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:"SV_SMARTAIM 3";
- HUDMSG_FADEINOUT, 0, CR_GREEN, 0.5, 0.53, 0.1, 0.1, 0.1);
- }*/
- if(!GetCVar("fd_dummycmd") == 1)
- {
- ACS_Terminate(999, 0);
- Log(s:"ERROR 5, MOD NOT INITIALIZED");
- setfont("BIGFONT");
- Print(s:"Please type 'initmenu' in the\nconsole(", k:"toggleconsole", s:" button) and restart the game");
- }
- 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