Advertisement
ijontichy

<stdin>

Aug 31st, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. actor MegaDoomGuy : PlayerPawn
  2. {
  3. Speed 0.6
  4. Health 100
  5. Radius 16
  6. Height 56
  7. Mass 100
  8. PainChance 255
  9. Player.ColorRange 112, 127
  10. Player.DisplayName "Marine"
  11. Player.StartItem "PistolPlat"
  12. Player.StartItem "Fist"
  13. Player.StartItem "Clip", 50
  14. Player.sidemove 0.01, 0.01
  15. player.forwardmove 1, 1
  16. player.jumpz 12
  17. States
  18. {
  19. Spawn:
  20. NULL A 0 A_TakeInventory("IsJumping",1)
  21. NULL A 0 A_JumpIf (momz != 0 , "Jump")
  22. NULL A 0 A_JumpIf (momy > 0, "Move")
  23. NULL A 0 A_JumpIf (momx > 0, "Move")
  24. NULL A 0 A_JumpIf (momy < 0, "Move")
  25. NULL A 0 A_JumpIf (momx < 0, "Move")
  26. PLAY Z 1
  27. goto Spawn
  28.  
  29. Move:
  30. NULL A 0 A_JumpIf (momz > 0, "Jump")
  31. PLAY ABCB 5 A_JumpIf (momz != 0, "Jump")
  32. NULL A 0 A_JumpIf (momy == 0, "Spawn")
  33. NULL A 0 A_JumpIf (momx == 0, "Spawn")
  34. Goto See
  35.  
  36. Jump:
  37. PLAY D 0 A_GiveInventory("IsJumping",1)
  38. PLAY D 0 A_JumpIf (momz == 0, "Spawn")
  39. PLAY D 1
  40. Goto Jump
  41.  
  42. See:
  43. PLAY A 0
  44. NULL A 0 A_JumpIf (momy > 0, "Move")
  45. NULL A 0 A_JumpIf (momx > 0, "Move")
  46. NULL A 0 A_JumpIf (momy < 0, "Move")
  47. NULL A 0 A_JumpIf (momx < 0, "Move")
  48. Goto Spawn
  49.  
  50. Missile:
  51. PLAY E 12
  52. Goto Spawn
  53.  
  54. Melee:
  55. PLAY F 6
  56. Goto Missile
  57.  
  58. Pain:
  59. PLAY A 0
  60. PLAY A 0 A_Pain
  61. Goto Spawn
  62.  
  63. Death:
  64. PLAY H 0 A_Scream
  65. PLAY H 0 A_ChangeVelocity(0,0,momz+1.0)
  66. PLAY H 0 A_UnsetSolid
  67. PLAY H 1
  68. PLAY H -1
  69. Stop
  70.  
  71. Crash:
  72. PLAY H 3
  73. PLAY I 4
  74. PLAY J -1
  75. Stop
  76. }
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement