JoBoz

SORRY MAN

Jun 4th, 2011
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. ModLoad()
  2. {
  3.  
  4. /* Global Vars */
  5. //Bots --------------------
  6. level.MaxWaves = 10;//can change
  7. level.BotsForIcons = 8;//can change
  8. level.SpawnedBots = 0;
  9. level.RealSpawnedBots = 0;
  10. level.BotsForWave = 0;
  11. //Waves -------------------
  12. level.Wave = 0;
  13. //Game State --------------
  14. level.zState = "intermission";
  15. //Ammo Drop ---------------
  16. level.AmmoDrop = undefined;
  17. //Intermission Timer ------
  18. level.IntermissionTimeStart = 15;//can change
  19. level.IntermissionTime = 0;
  20. //Brightness --------------
  21. level.brightness = -0.4;
  22.  
  23. /* Init */
  24. level FuncsMain();
  25. level precacheItems();
  26. level thread AImod\_hud::IntermissionCountdown();
  27.  
  28. /* Tweakable */
  29. level.destructibleSpawnedEntsLimit += 300;
  30.  
  31. /* Spawn Anti-Glitch spots */
  32. [[level.SpawnTrigger]] ((1284, 2600, 167), (942, 2604, 51), 50, 100, "mp_terminal");
  33. [[level.SpawnTrigger]] ((1803, 2502, 140), (1790, 2643, 51), 50, 100, "mp_terminal");
  34.  
  35. level thread onPlayerConnect();
  36. level thread AImod\_hud::HudMain();
  37.  
  38. for(;;)
  39. {
  40.  
  41. if(level.Wave == 0){ level.ZombieHealth = 50; }
  42. if(level.Wave == 1){ level.ZombieHealth = 50; }
  43. if(level.Wave == 2){ level.ZombieHealth = 300; }
  44. if(level.Wave == 3){ level.ZombieHealth = 550; }
  45. if(level.Wave == 4){ level.ZombieHealth = 1000; }
  46. wait 1;
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment