Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ACTOR Shark 8000
- {
- //$Category Mr.Man Stuff
- Game Doom
- obituary "%o was shredded by a shark."
- Health 0x7fffffff
- mass 120
- speed 30
- Radius 30
- Height 30
- seesound "shark/sight"
- deathsound "shark/death"
- activesound "shark/active"
- MONSTER
- +FLOORCLIP
- +FLOAT
- +NOGRAVITY
- -NOTARGETSWITCH
- -SHOOTABLE
- +LOOKALLAROUND
- +NOBLOOD
- +THRUACTORS
- States
- {
- Spawn:
- SHRK BC 10 A_Look
- loop
- See:
- SHRK ABCB 4 A_GiveInventory("Chase_Water",1)
- loop
- Melee:
- SHRK A 10 A_FaceTarget
- SHRK F 8 A_CustomMeleeAttack (random (3, 5) *5, "Chomp", "Swipe")
- SHRK A 10
- goto See
- Death:
- SHRK A 0
- SHRK A 0 A_Scream
- SHRK AAAAAAAA 0 A_CustomMissile("Gibs1",random(20,40),0,random(0,360),2,random(-100,100))
- stop
- }
- }
- Actor Chase_Water : CustomInventory
- {
- Inventory.MaxAmount 0
- +Inventory.AutoActivate
- States
- {
- Spawn:
- TNT1 A 1
- Fail
- Use:
- TNT1 A 0 A_jumpif(waterlevel < 3, "Waterlimit")
- TNT1 A 0 A_Chase
- Stop
- Waterlimit:
- TNT1 A 0 ThrustThingZ(0, 4, 1, 1)
- TNT1 A 0 A_Chase
- Stop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment