Guest User

Untitled

a guest
Jun 14th, 2021
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. XDeath:
  2. death:
  3. TNT1 A 0
  4. HEAD H 1 A_Scream
  5. TNT1 A 0 a_changeflag ("SOLID",0) //lets the caco go through actors and shit
  6. HEAD H 0 A_NoBlocking
  7. HEAD G 0 A_PlaySound ("hissything/deflate",CHAN_VOICE,1,0,1.2)
  8. HEAD G 0 A_NoGravity //Important for having him fly around
  9.  
  10. //Different calls here make him spiral around randomly, play with these
  11. HEAD GGGGGGGG 1 A_ChangeVelocity (random(-6, 6), random(-6, 6), random(0,2), 0)
  12. HEAD GGGGGGGG 1 A_ChangeVelocity (random(-5, 5), random(-5, 5), random(-2,3), 0)
  13. HEAD GGGGHHHH 1 A_ChangeVelocity (random(-4, 4), random(-4, 4), random(-2,4), 0)
  14. HEAD HHHHHHHH 1 A_ChangeVelocity (random(-4, 4), random(-4, 4), random(-3,4), 0)
  15. HEAD HHHHHHHH 1 A_ChangeVelocity (random(-2, 2), random(-2, 2), random(-2,2), 0)
  16. HEAD I 1 A_Gravity //gravity kicks in
  17. TNT1 A 0 ThrustThingZ (0,30,1,1) //push him downwards
  18. goto deadfall
  19. deadfall:
  20. HEAD I 1 A_JumpIf(Abs(VelZ) <= 0.01, "DeadStop") //Will keep him in a falling frame until he stops
  21. loop
  22. deadstop:
  23. HEAD J 1 A_PlaySound ("misc/DMpunch",CHAN_VOICE,1,0,0.5) //and now ded
  24. HEAD JK 3
  25. HEAD L -1 A_SetFloorClip
  26. stop
  27.  
Add Comment
Please, Sign In to add comment