Advertisement
Bitterman

Incredible Shrinking Zombieman

Jul 11th, 2014
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. //ShrinkRay
  2. ACTOR ZombieManx Replaces Zombieman
  3. {
  4. Health 20
  5. Radius 20
  6. Height 56
  7. Speed 8
  8. PainChance 200
  9. PainChance "Shrink", 255
  10. PainChance "Boot", 255
  11. Monster
  12. +FLOORCLIP
  13. SeeSound "grunt/sight"
  14. AttackSound "grunt/attack"
  15. PainSound "grunt/pain"
  16. DeathSound "grunt/death"
  17. ActiveSound "grunt/active"
  18. Obituary "$OB_ZOMBIE" // "%o was killed by a zombieman."
  19. DropItem "Clip"
  20. States
  21. {
  22. Spawn:
  23. POSS AB 10 A_Look
  24. Loop
  25. See:
  26. POSS AABBCCDD 4 A_Chase
  27. Loop
  28. Missile:
  29. TNT1 A 0 A_Jumpifinventory("ShrunkInv", 1, "Pain")
  30. POSS E 10 A_FaceTarget
  31. POSS F 8 A_PosAttack
  32. POSS E 8
  33. Goto See
  34. Pain:
  35. POSS G 3
  36. POSS G 3 A_Pain
  37. Goto See
  38. Pain.Shrink:
  39. POSS G 1 A_SetScale(0.5)
  40. POSS G 0 A_GiveInventory ("ShrunkInv", 1)
  41. POSS G 0 A_ChangeFlag ("FRIGHTENED", TRUE)
  42. POSS G 0 A_ChangeFlag ("THRUACTORS", TRUE)
  43. POSS G 3 A_Pain
  44. Goto See
  45. Pain.Boot:
  46. TNT1 A 0 A_Jumpifinventory("ShrunkInv", 0, "Pain")
  47. Goto XDeath
  48. Death:
  49. TNT1 A 0 A_Jumpifinventory("ShrunkInv", 1, "XDeath")
  50. POSS H 5
  51. POSS I 5 A_Scream
  52. POSS J 5 A_NoBlocking
  53. POSS K 5
  54. POSS L -1
  55. Stop
  56. XDeath:
  57. POSS M 5
  58. POSS N 5 A_XScream
  59. POSS O 5 A_NoBlocking
  60. POSS PQRST 5
  61. POSS U -1
  62. Stop
  63. Raise:
  64. POSS K 5
  65. POSS JIH 5
  66. Goto See
  67. }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement