Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #library "GLOBAL"
- #Include "zcommon.acs"
- int select;
- int win;
- script 801 (void) //idle
- {
- while(PlayerCount() < 2)
- {
- SetFont("BIGFONT");
- HudMessagebold(s:"Waiting for Players";
- HUDMSG_FADEINOUT, 0, CR_blue, 0.5, 0.6, 0.1, 0.8, 0.2);
- Delay(35);
- }
- HudMessagebold(s:"A trap activator will be chosen, the rest must avoid the traps (the traps only work once)";HUDMSG_PLAIN | HUDMSG_LOG, 0, CR_TAN, 1.5, 0.65, 5.0);
- Delay(35 * 6);
- HudMessage(s:"~";HUDMSG_PLAIN, 1, CR_RED, 0.5, 0.8, 0);
- delay(5);
- giveinventory("Fist", 1);
- while(true)
- {
- int Pteleport= random(1000,999+playercount());
- bool Approved = false;
- int NA;
- while(approved==false)
- {
- approved=random(false,True);
- if (approved == false) NA=Pteleport;
- delay(1);
- }
- if (GetActorProperty (Pteleport, APROP_Health) > 0)
- {
- TeleportOther(Pteleport, 1, 0);
- terminate;
- }
- delay(1);
- }
- }
- script 802 (void)
- {
- Thing_ChangeTID (0, 1000+PlayerNumber());
- ++SELECT;
- delay(10);
- clearinventory();
- giveinventory("Fist",1);
- until(Getactorproperty(999,APROP_HEALTH)>0){delay(10);}
- if (activatortid()!= 999) // Runner Properties
- {
- Thing_ChangeTID (0, 2000);
- setplayerproperty(0,APROP_SPEED,0.5);
- }
- }
- script 808 (void) //timer
- {
- //HudMessageBold(s:"Map By: \cmJo\ccsse";HUDMSG_PLAIN, 5, CR_YELLOW, 0.9, 0.9, 0);
- delay(36);
- for ( int tim =160 ; tim > 0; tim-- )
- {
- HudMessageBold(s:"You have ",d:tim,s:" seconds left.";HUDMSG_PLAIN, 2, CR_YELLOW, 0.1, 0.9, 0);
- delay(35);
- }
- thing_damage(2000,400,0);
- Printbold(s:"\cd The Activator Wins!");
- delay(3*35);
- Exit_Normal(0);
- }
- script 806(void) //Activator Properties
- {
- clearinventory();
- setplayerproperty(0,APROP_SPEED,1000);
- SetActorProperty(0,APROP_DAMAGEFACTOR,0.001);
- }
- script 809 death
- {
- if (playercount() == 1 && GetActorProperty (999, APROP_Health) > 0)
- {
- SETFONT("BIGFONT");
- Printbold(s:"\cd The Activator Wins!");
- delay(3*35);
- Exit_Normal(0);
- }
- if (Getactorproperty(999,APROP_HEALTH)<=0)
- {
- if (win>0)terminate;
- SETFONT("BIGFONT");
- Printbold(s:"\cl The Activator is gone!");
- delay(35*3);
- SETFONT("BIGFONT");
- Printbold(s:"\ch Runners Win!");
- delay(35*3);
- Exit_Normal(0);
- }
- }
- script 810 (int disconnected) DISCONNECT
- {
- acs_execute(809,0);
- }
- script 811 enter
- {
- Printbold(s:"\cl Warning! BETA content, ZDeathrun conversion by Medis & Zedek. Please report bugs to medis0003@gmail.com. Thanks and enjoy!");
- delay(35*2);
- Printbold(s:"\cl Warning! BETA content, ZDeathrun conversion by Medis & Zedek. Please report bugs to medis0003@gmail.com. Thanks and enjoy!");
- delay(35*2);
- Printbold(s:"\cl Warning! BETA content, ZDeathrun conversion by Medis & Zedek. Please report bugs to medis0003@gmail.com. Thanks and enjoy!");
- }
- /*script 812 open
- {
- print(f:getActorProperty(999,APROP_DAMAGEFACTOR));
- delay(1);
- restart;
- }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement