Guest User

Dis no wurrk

a guest
Oct 21st, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. ACTOR Shark 8000
  2. {
  3. //$Category Mr.Man Stuff
  4. Game Doom
  5. obituary "%o was shredded by a shark."
  6. Health 0x7fffffff
  7. mass 120
  8. speed 30
  9. Radius 30
  10. Height 30
  11. seesound "shark/sight"
  12. deathsound "shark/death"
  13. activesound "shark/active"
  14. MONSTER
  15. +FLOORCLIP
  16. +FLOAT
  17. +NOGRAVITY
  18. -NOTARGETSWITCH
  19. -SHOOTABLE
  20. +LOOKALLAROUND
  21. +NOBLOOD
  22. +THRUACTORS
  23.  
  24. States
  25. {
  26. Spawn:
  27. SHRK BC 10 A_Look
  28. loop
  29. See:
  30. SHRK ABCB 4 A_GiveInventory("Chase_Water",1)
  31. loop
  32. Melee:
  33. SHRK A 10 A_FaceTarget
  34. SHRK F 8 A_CustomMeleeAttack (random (3, 5) *5, "Chomp", "Swipe")
  35. SHRK A 10
  36. goto See
  37. Death:
  38. SHRK A 0
  39. SHRK A 0 A_Scream
  40. SHRK AAAAAAAA 0 A_CustomMissile("Gibs1",random(20,40),0,random(0,360),2,random(-100,100))
  41. stop
  42. }
  43. }
  44.  
  45. Actor Chase_Water : CustomInventory
  46. {
  47. Inventory.MaxAmount 0
  48. +Inventory.AutoActivate
  49. States
  50. {
  51. Spawn:
  52. TNT1 A 1
  53. Fail
  54. Use:
  55. TNT1 A 0 A_jumpif(waterlevel < 3, "Waterlimit")
  56. TNT1 A 0 A_Chase
  57. Stop
  58. Waterlimit:
  59. TNT1 A 0 ThrustThingZ(0, 4, 1, 1)
  60. TNT1 A 0 A_Chase
  61. Stop
  62. }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment