Guest User

hydralisk default iscript

a guest
Jan 10th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. # ----------------------------------------------------------------------------- #
  2. # This header is used by images.dat entries:
  3. # 029 Hydralisk (zerg\hydra.grp)
  4. .headerstart
  5. IsId 18
  6. Type 26
  7. Init HydraliskInit
  8. Death HydraliskDeath
  9. GndAttkInit HydraliskGndAttkInit
  10. AirAttkInit HydraliskGndAttkInit
  11. Unused1 [NONE]
  12. GndAttkRpt HydraliskGndAttkRpt
  13. AirAttkRpt HydraliskGndAttkRpt
  14. CastSpell [NONE]
  15. GndAttkToIdle HydraliskGndAttkToIdle
  16. AirAttkToIdle HydraliskGndAttkToIdle
  17. Unused2 [NONE]
  18. Walking HydraliskWalking
  19. WalkingToIdle HydraliskWalkingToIdle
  20. SpecialState1 [NONE]
  21. SpecialState2 HydraliskSpecialState2
  22. AlmostBuilt [NONE]
  23. Built [NONE]
  24. Landing [NONE]
  25. LiftOff [NONE]
  26. IsWorking [NONE]
  27. WorkingToIdle [NONE]
  28. WarpIn [NONE]
  29. Unused3 [NONE]
  30. StarEditInit [NONE]
  31. Disable [NONE]
  32. Burrow HydraliskBurrow
  33. UnBurrow HydraliskUnBurrow
  34. Enable [NONE]
  35. .headerend
  36. # ----------------------------------------------------------------------------- #
  37.  
  38. HydraliskInit:
  39. imgul 30 0 0 # Hydralisk Shadow (zerg\zhyShad.grp)
  40. HydraliskWalkingToIdle:
  41. playfram 0x55 # Frame set 5
  42. HydraliskLocal00:
  43. waitrand 63 75
  44. randcondjmp 25 HydraliskLocal01
  45. randcondjmp 128 HydraliskLocal02
  46. goto HydraliskLocal00
  47.  
  48. HydraliskLocal01:
  49. playfram 0x00 # Frame set 0
  50. wait 1
  51. playfram 0x11 # Frame set 1
  52. wait 1
  53. playfram 0x22 # Frame set 2
  54. wait 1
  55. playfram 0x33 # Frame set 3
  56. wait 25
  57. playfram 0x22 # Frame set 2
  58. wait 1
  59. playfram 0x11 # Frame set 1
  60. wait 1
  61. playfram 0x00 # Frame set 0
  62. wait 1
  63. goto HydraliskWalkingToIdle
  64.  
  65. HydraliskLocal02:
  66. randcondjmp 128 HydraliskLocal03
  67. playfram 0x66 # Frame set 6
  68. wait 1
  69. turnccwise 1
  70. playfram 0x77 # Frame set 7
  71. wait 1
  72. turnccwise 1
  73. playfram 0x88 # Frame set 8
  74. wait 1
  75. turnccwise 1
  76. playfram 0x99 # Frame set 9
  77. wait 1
  78. turnccwise 1
  79. playfram 0xaa # Frame set 10
  80. wait 1
  81. turnccwise 1
  82. playfram 0xbb # Frame set 11
  83. wait 1
  84. turnccwise 1
  85. goto HydraliskWalkingToIdle
  86.  
  87. HydraliskLocal03:
  88. playfram 0x66 # Frame set 6
  89. wait 1
  90. turncwise 1
  91. playfram 0x77 # Frame set 7
  92. wait 1
  93. turncwise 1
  94. playfram 0x88 # Frame set 8
  95. wait 1
  96. turncwise 1
  97. playfram 0x99 # Frame set 9
  98. wait 1
  99. turncwise 1
  100. playfram 0xaa # Frame set 10
  101. wait 1
  102. turncwise 1
  103. playfram 0xbb # Frame set 11
  104. wait 1
  105. turncwise 1
  106. goto HydraliskWalkingToIdle
  107.  
  108. HydraliskDeath:
  109. playsnd 867 # Zerg\Hydra\ZHyDth00.WAV
  110. setfldirect 0
  111. playfram 0xcc # Frame set 12
  112. wait 2
  113. playfram 205 # Frame set 12, direction 1
  114. wait 2
  115. playfram 206 # Frame set 12, direction 2
  116. wait 2
  117. playfram 207 # Frame set 12, direction 3
  118. wait 2
  119. playfram 208 # Frame set 12, direction 4
  120. wait 2
  121. playfram 209 # Frame set 12, direction 5
  122. wait 2
  123. playfram 210 # Frame set 12, direction 6
  124. wait 2
  125. playfram 211 # Frame set 12, direction 7
  126. wait 2
  127. lowsprul 147 0 0 # Hydralisk Remnants (zerg\zhyDeath.grp)
  128. wait 1
  129. end
  130.  
  131. HydraliskGndAttkInit:
  132. playfram 0x00 # Frame set 0
  133. wait 1
  134. nobrkcodestart
  135. playfram 0x11 # Frame set 1
  136. wait 1
  137. playfram 0x22 # Frame set 2
  138. wait 1
  139. playfram 0x33 # Frame set 3
  140. wait 1
  141. HydraliskGndAttkRpt:
  142. wait 1
  143. playfram 0x44 # Frame set 4
  144. playsnd 64 # Bullet\SpoogHit.wav
  145. sproluselo 332 0 # Needle Spines (thingy\spooge.grp)
  146. attack
  147. wait 1
  148. playfram 0x33 # Frame set 3
  149. wait 1
  150. nobrkcodeend
  151. gotorepeatattk
  152. ignorerest
  153. HydraliskGndAttkToIdle:
  154. playfram 0x22 # Frame set 2
  155. wait 1
  156. playfram 0x11 # Frame set 1
  157. wait 1
  158. playfram 0x00 # Frame set 0
  159. wait 1
  160. goto HydraliskWalkingToIdle
  161.  
  162. HydraliskWalking:
  163. move 2
  164. wait 1
  165. playfram 0x66 # Frame set 6
  166. move 2
  167. wait 1
  168. playfram 0x77 # Frame set 7
  169. move 2
  170. wait 1
  171. playfram 0x88 # Frame set 8
  172. move 6
  173. wait 1
  174. playfram 0x99 # Frame set 9
  175. move 6
  176. wait 1
  177. playfram 0xaa # Frame set 10
  178. move 6
  179. wait 1
  180. playfram 0xbb # Frame set 11
  181. move 2
  182. wait 1
  183. playfram 0x55 # Frame set 5
  184. goto HydraliskWalking
  185.  
  186. HydraliskSpecialState2:
  187. playfram 280 # Frame set 16, direction 8
  188. goto HydraliskLocal04
  189.  
  190. HydraliskLocal04:
  191. wait 125
  192. goto HydraliskLocal04
  193.  
  194. HydraliskBurrow:
  195. imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
  196. playfram 212 # Frame set 12, direction 8
  197. wait 1
  198. playfram 229 # Frame set 13, direction 8
  199. wait 1
  200. playfram 246 # Frame set 14, direction 8
  201. wait 1
  202. playfram 263 # Frame set 15, direction 8
  203. wait 1
  204. playfram 280 # Frame set 16, direction 8
  205. wait 1
  206. sigorder 4
  207. goto HydraliskLocal04
  208.  
  209. HydraliskUnBurrow:
  210. waitrand 1 5
  211. imgul 423 0 0 # Burrowing Dust (thingy\bDust.grp)
  212. playfram 263 # Frame set 15, direction 8
  213. wait 1
  214. playfram 246 # Frame set 14, direction 8
  215. wait 1
  216. playfram 229 # Frame set 13, direction 8
  217. wait 1
  218. playfram 212 # Frame set 12, direction 8
  219. wait 1
  220. sigorder 4
  221. goto HydraliskWalkingToIdle
Advertisement
Add Comment
Please, Sign In to add comment