Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. #library "GLOBAL"
  2. #Include "zcommon.acs"
  3. int select;
  4. int win;
  5. script 801 (void) //idle
  6. {
  7. while(PlayerCount() < 2)
  8. {
  9. SetFont("BIGFONT");
  10. HudMessagebold(s:"Waiting for Players";
  11. HUDMSG_FADEINOUT, 0, CR_blue, 0.5, 0.6, 0.1, 0.8, 0.2);
  12. Delay(35);
  13. }
  14. 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);
  15. Delay(35 * 6);
  16. HudMessage(s:"~";HUDMSG_PLAIN, 1, CR_RED, 0.5, 0.8, 0);
  17. delay(5);
  18. giveinventory("Fist", 1);
  19. while(true)
  20. {
  21. int Pteleport= random(1000,999+playercount());
  22. bool Approved = false;
  23. int NA;
  24. while(approved==false)
  25. {
  26. approved=random(false,True);
  27. if (approved == false) NA=Pteleport;
  28. delay(1);
  29. }
  30. if (GetActorProperty (Pteleport, APROP_Health) > 0)
  31. {
  32. TeleportOther(Pteleport, 1, 0);
  33. terminate;
  34. }
  35. delay(1);
  36. }
  37. }
  38.  
  39. script 802 (void)
  40. {
  41. Thing_ChangeTID (0, 1000+PlayerNumber());
  42. ++SELECT;
  43. delay(10);
  44. clearinventory();
  45. giveinventory("Fist",1);
  46. until(Getactorproperty(999,APROP_HEALTH)>0){delay(10);}
  47. if (activatortid()!= 999) // Runner Properties
  48. {
  49. Thing_ChangeTID (0, 2000);
  50. setplayerproperty(0,APROP_SPEED,0.5);
  51. }
  52. }
  53.  
  54. script 808 (void) //timer
  55. {
  56. //HudMessageBold(s:"Map By: \cmJo\ccsse";HUDMSG_PLAIN, 5, CR_YELLOW, 0.9, 0.9, 0);
  57. delay(36);
  58. for ( int tim =160 ; tim > 0; tim-- )
  59. {
  60. HudMessageBold(s:"You have ",d:tim,s:" seconds left.";HUDMSG_PLAIN, 2, CR_YELLOW, 0.1, 0.9, 0);
  61. delay(35);
  62. }
  63. thing_damage(2000,400,0);
  64. Printbold(s:"\cd The Activator Wins!");
  65. delay(3*35);
  66. Exit_Normal(0);
  67. }
  68.  
  69. script 806(void) //Activator Properties
  70. {
  71. clearinventory();
  72. setplayerproperty(0,APROP_SPEED,1000);
  73. SetActorProperty(0,APROP_DAMAGEFACTOR,0.001);
  74. }
  75.  
  76.  
  77. script 809 death
  78. {
  79. if (playercount() == 1 && GetActorProperty (999, APROP_Health) > 0)
  80. {
  81. SETFONT("BIGFONT");
  82. Printbold(s:"\cd The Activator Wins!");
  83. delay(3*35);
  84. Exit_Normal(0);
  85. }
  86. if (Getactorproperty(999,APROP_HEALTH)<=0)
  87. {
  88. if (win>0)terminate;
  89. SETFONT("BIGFONT");
  90. Printbold(s:"\cl The Activator is gone!");
  91. delay(35*3);
  92. SETFONT("BIGFONT");
  93. Printbold(s:"\ch Runners Win!");
  94. delay(35*3);
  95. Exit_Normal(0);
  96. }
  97. }
  98.  
  99. script 810 (int disconnected) DISCONNECT
  100. {
  101. acs_execute(809,0);
  102. }
  103.  
  104. script 811 enter
  105. {
  106. Printbold(s:"\cl Warning! BETA content, ZDeathrun conversion by Medis & Zedek. Please report bugs to medis0003@gmail.com. Thanks and enjoy!");
  107. delay(35*2);
  108. Printbold(s:"\cl Warning! BETA content, ZDeathrun conversion by Medis & Zedek. Please report bugs to medis0003@gmail.com. Thanks and enjoy!");
  109. delay(35*2);
  110. Printbold(s:"\cl Warning! BETA content, ZDeathrun conversion by Medis & Zedek. Please report bugs to medis0003@gmail.com. Thanks and enjoy!");
  111. }
  112. /*script 812 open
  113. {
  114. print(f:getActorProperty(999,APROP_DAMAGEFACTOR));
  115. delay(1);
  116. restart;
  117. }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement