skroton

Untitled

Jun 11th, 2014
249
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ACTOR NormalZombieManSpawner replaces ZombieMan
  2. +NOCLIP
  3. +THRUACTORS
  4. States
  5. {
  6. Spawn:
  7. TNT1 A 0
  8. TNT1 A 0
  9. TNT1 A 1
  10. TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(101) == 1,"SpawnVanilla")
  11. TNT1 A 1
  12. TNT1 A 1
  13. TNT1 A 1 A_SpawnItemEx("FastZombieMan",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
  14. Stop
  15. SpawnVanilla:
  16. TNT1 A 0
  17. TNT1 A 0
  18. TNT1 A 1
  19. TNT1 A 1 A_SpawnItemEx("NormalZombieMan",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
  20. Stop
  21. }
  22. }
  23.  
  24. ACTOR NormalZombieMan : ZombieMan {}
  25.  
  26. ACTOR FastZombieMan : ZombieMan
  27. {
  28. Monster
  29. +FLOORCLIP
  30. States
  31. {
  32. Spawn:
  33. POSS AB 10 A_Look
  34. Loop
  35. See:
  36. POSS AABBCCDD 4 A_Chase
  37. Loop
  38. Missile:
  39. POSS E 5 A_FaceTarget
  40. POSS F 4 A_PosAttack
  41. POSS E 4
  42. Goto See
  43. Pain:
  44. POSS G 1
  45. POSS G 1 A_Pain
  46. Goto See
  47. Death:
  48. POSS H 5
  49. POSS I 5 A_Scream
  50. POSS J 5 A_NoBlocking
  51. POSS K 5
  52. POSS L -1
  53. Stop
  54. XDeath:
  55. POSS M 5
  56. POSS N 5 A_XScream
  57. POSS O 5 A_NoBlocking
  58. POSS PQRST 5
  59. POSS U -1
  60. Stop
  61. Raise:
  62. POSS K 5
  63. POSS JIH 5
  64. Goto See
  65. }
  66. }
  67.  
  68. /////ACS
  69.  
  70. script 101 (void)
  71. {
  72. SetResultValue(GetCVar("sv_fastmonsters"));
  73. }
RAW Paste Data