Pr0nogo

Untitled

Dec 21st, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. # ----------------------------------------------------------------------------- #
  2. # This header is used by images.dat entries:
  3. # 017 Drone (zerg\drone.grp)
  4. .headerstart
  5. IsId 11
  6. Type 26
  7. Init DroneInit
  8. Death DroneDeath
  9. GndAttkInit DroneGndAttkInit
  10. AirAttkInit [NONE]
  11. Unused1 [NONE]
  12. GndAttkRpt DroneGndAttkInit
  13. AirAttkRpt [NONE]
  14. CastSpell [NONE]
  15. GndAttkToIdle DroneGndAttkToIdle
  16. AirAttkToIdle [NONE]
  17. Unused2 [NONE]
  18. Walking DroneWalking
  19. WalkingToIdle DroneGndAttkToIdle
  20. SpecialState1 [NONE]
  21. SpecialState2 DroneSpecialState2
  22. AlmostBuilt DroneAlmostBuilt
  23. Built [NONE]
  24. Landing DroneWalking
  25. LiftOff DroneLiftOff
  26. IsWorking [NONE]
  27. WorkingToIdle [NONE]
  28. WarpIn [NONE]
  29. Unused3 [NONE]
  30. StarEditInit [NONE]
  31. Disable [NONE]
  32. Burrow [NONE]
  33. UnBurrow [NONE]
  34. Enable [NONE]
  35. .headerend
  36. # ----------------------------------------------------------------------------- #
  37.  
  38. DroneInit:
  39. imgul 20 0 0 # REPLACE WITH YOUR SHADOW ENTRY
  40. playfram 0x00 # Frame set 0
  41. goto DroneGndAttkToIdle
  42.  
  43. DroneGndAttkToIdle:
  44. playfram 0x00 # Frame set 0
  45. playfram 0x00 # Frame set 0
  46. playfram 0x00 # Frame set 0
  47. wait 125
  48. goto DroneGndAttkToIdle
  49.  
  50. DroneDeath:
  51. playsnd 512 # REPLACE WITH YOUR SOUND ENTRY
  52. imgol 332 0 0 # Explosion2 (Small) (thingy\tBangS.grp)
  53. wait 3
  54. end
  55.  
  56. DroneGndAttkInit:
  57. playfram 0x11 # Frame set 1
  58. wait 1
  59. playfram 0x22 # Frame set 2
  60. wait 1
  61. playfram 0x33 # Frame set 3
  62. playsnd 64 # REPLACE WITH YOUR SOUND ENTRY
  63. attackwith 1
  64. wait 1
  65. playfram 0x22 # Frame set 2
  66. wait 1
  67. playfram 0x11 # Frame set 1
  68. wait 1
  69. gotorepeatattk
  70. goto DroneGndAttkToIdle
  71.  
  72. DroneWalking:
  73. move 4
  74. wait 1
  75. playfram 0x44 # Frame set 4
  76. move 4
  77. wait 1
  78. playfram 0x55 # Frame set 5
  79. move 4
  80. wait 1
  81. playfram 0x66 # Frame set 6
  82. move 4
  83. wait 1
  84. playfram 0x77 # Frame set 7
  85. move 4
  86. wait 1
  87. playfram 0x88 # Frame set 8
  88. move 4
  89. wait 1
  90. playfram 0x99 # Frame set 9
  91. move 4
  92. wait 1
  93. playfram 0xaa # Frame set 10
  94. move 4
  95. wait 1
  96. playfram 0xbb # Frame set 11
  97. move 4
  98. wait 1
  99. playfram 0xcc # Frame set 12
  100. move 4
  101. wait 1
  102. playfram 0xdd # Frame set 13
  103. move 4
  104. wait 1
  105. playfram 0xee # Frame set 14
  106. move 4
  107. wait 1
  108. playfram 0xff # Frame set 15
  109. move 4
  110. wait 1
  111. goto DroneWalking
  112.  
  113. DroneSpecialState2:
  114. playfram 0x176 # Frame set 22
  115. goto DroneGndAttkToIdle
  116.  
  117. DroneAlmostBuilt:
  118. #USED FOR MINING ONLY
  119. waitrand 5 8
  120. playsnd 847 # REPLACE WITH YOUR SOUND ENTRY
  121. playfram 0x11 # Frame set 1
  122. wait 1
  123. playfram 0x22 # Frame set 2
  124. wait 1
  125. playfram 0x33 # Frame set 3
  126. wait 1
  127. playfram 0x22 # Frame set 2
  128. wait 1
  129. playfram 0x11 # Frame set 1
  130. wait 1
  131. goto DroneAlmostBuilt
  132.  
  133. DroneLiftOff:
  134. #USED FOR MORPHING TO STRUCTURE ONLY
  135. sigorder 16
  136. goto DroneGndAttkToIdle
Add Comment
Please, Sign In to add comment