Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XDeath:
- death:
- TNT1 A 0
- HEAD H 1 A_Scream
- TNT1 A 0 a_changeflag ("SOLID",0) //lets the caco go through actors and shit
- HEAD H 0 A_NoBlocking
- HEAD G 0 A_PlaySound ("hissything/deflate",CHAN_VOICE,1,0,1.2)
- HEAD G 0 A_NoGravity //Important for having him fly around
- //Different calls here make him spiral around randomly, play with these
- HEAD GGGGGGGG 1 A_ChangeVelocity (random(-6, 6), random(-6, 6), random(0,2), 0)
- HEAD GGGGGGGG 1 A_ChangeVelocity (random(-5, 5), random(-5, 5), random(-2,3), 0)
- HEAD GGGGHHHH 1 A_ChangeVelocity (random(-4, 4), random(-4, 4), random(-2,4), 0)
- HEAD HHHHHHHH 1 A_ChangeVelocity (random(-4, 4), random(-4, 4), random(-3,4), 0)
- HEAD HHHHHHHH 1 A_ChangeVelocity (random(-2, 2), random(-2, 2), random(-2,2), 0)
- HEAD I 1 A_Gravity //gravity kicks in
- TNT1 A 0 ThrustThingZ (0,30,1,1) //push him downwards
- goto deadfall
- deadfall:
- HEAD I 1 A_JumpIf(Abs(VelZ) <= 0.01, "DeadStop") //Will keep him in a falling frame until he stops
- loop
- deadstop:
- HEAD J 1 A_PlaySound ("misc/DMpunch",CHAN_VOICE,1,0,0.5) //and now ded
- HEAD JK 3
- HEAD L -1 A_SetFloorClip
- stop
Add Comment
Please, Sign In to add comment