Advertisement
Pr0nogo

Untitled

May 4th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.87 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 HydraliskAirAttkInit
  11. Unused1 HydraliskUnused1
  12. GndAttkRpt HydraliskGndAttkRpt
  13. AirAttkRpt HydraliskAirAttkRpt
  14. CastSpell [NONE]
  15. GndAttkToIdle HydraliskGndAttkToIdle
  16. AirAttkToIdle HydraliskAirAttkToIdle
  17. Unused2 HydraliskUnused2
  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 HydraliskUnused3
  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. sigorder 32
  133. playfram 0x00 # Frame set 0
  134. wait 1
  135. nobrkcodestart
  136. playfram 0x11 # Frame set 1
  137. wait 1
  138. playfram 0x22 # Frame set 2
  139. wait 1
  140. playfram 0x33 # Frame set 3
  141. wait 1
  142. HydraliskGndAttkRpt:
  143. wait 1
  144. playfram 0x44 # Frame set 4
  145. playsnd 64 # Bullet\SpoogHit.wav
  146. sproluselo 332 0 # Needle Spines (thingy\spooge.grp)
  147. attack
  148. wait 1
  149. playfram 0x33 # Frame set 3
  150. wait 1
  151. nobrkcodeend
  152. gotorepeatattk
  153. ignorerest
  154. HydraliskGndAttkToIdle:
  155. playfram 0x22 # Frame set 2
  156. wait 1
  157. playfram 0x11 # Frame set 1
  158. wait 1
  159. playfram 0x00 # Frame set 0
  160. wait 1
  161. goto HydraliskWalkingToIdle
  162.  
  163. HydraliskAirAttkInit:
  164. playfram 0x00 # Frame set 0
  165. wait 1
  166. nobrkcodestart
  167. playfram 0x11 # Frame set 1
  168. wait 1
  169. playfram 0x22 # Frame set 2
  170. wait 1
  171. playfram 0x33 # Frame set 3
  172. wait 1
  173. HydraliskAirAttkRpt:
  174. wait 1
  175. playfram 0x44 # Frame set 4
  176. playsnd 64 # Bullet\SpoogHit.wav
  177. sproluselo 332 0 # Needle Spines (thingy\spooge.grp)
  178. attack
  179. wait 1
  180. playfram 0x33 # Frame set 3
  181. wait 1
  182. nobrkcodeend
  183. gotorepeatattk
  184. ignorerest
  185. HydraliskAirAttkToIdle:
  186. playfram 0x22 # Frame set 2
  187. wait 1
  188. playfram 0x11 # Frame set 1
  189. wait 1
  190. playfram 0x00 # Frame set 0
  191. wait 1
  192. goto HydraliskWalkingToIdle
  193.  
  194. HydraliskUnused1:
  195. playfram 0x00 # Frame set 0
  196. wait 1
  197. nobrkcodestart
  198. playfram 0x11 # Frame set 1
  199. wait 1
  200. playfram 0x22 # Frame set 2
  201. wait 1
  202. playfram 0x33 # Frame set 3
  203. wait 1
  204. goto HydraliskUnused2
  205. HydraliskUnused2:
  206. wait 1
  207. playfram 0x44 # Frame set 4
  208. playsnd 64 # Bullet\SpoogHit.wav
  209. sproluselo 332 0 # Needle Spines (thingy\spooge.grp)
  210. attackwith 1
  211. wait 2
  212. playfram 0x33 # Frame set 3
  213. wait 2
  214. playfram 0x44 # Frame set 4
  215. attackwith 1
  216. sproluselo 332 0 # Needle Spines (thingy\spooge.grp)
  217. wait 2
  218. playfram 0x33 # Frame set 3
  219. wait 2
  220. playfram 0x44 # Frame set 4
  221. attackwith 1
  222. sproluselo 332 0 # Needle Spines (thingy\spooge.grp)
  223. wait 2
  224. playfram 0x33 # Frame set 3
  225. wait 1
  226. nobrkcodeend
  227. gotorepeatattk
  228. ignorerest
  229. HydraliskUnused3:
  230. playfram 0x22 # Frame set 2
  231. wait 1
  232. playfram 0x11 # Frame set 1
  233. wait 1
  234. playfram 0x00 # Frame set 0
  235. wait 1
  236. goto HydraliskWalkingToIdle
  237.  
  238. HydraliskWalking:
  239. move 2
  240. wait 1
  241. playfram 0x66 # Frame set 6
  242. move 2
  243. wait 1
  244. playfram 0x77 # Frame set 7
  245. move 2
  246. wait 1
  247. playfram 0x88 # Frame set 8
  248. move 6
  249. wait 1
  250. playfram 0x99 # Frame set 9
  251. move 6
  252. wait 1
  253. playfram 0xaa # Frame set 10
  254. move 6
  255. wait 1
  256. playfram 0xbb # Frame set 11
  257. move 2
  258. wait 1
  259. playfram 0x55 # Frame set 5
  260. goto HydraliskWalking
  261.  
  262. HydraliskSpecialState2:
  263. playfram 280 # Frame set 16, direction 8
  264. goto HydraliskLocal04
  265.  
  266. HydraliskLocal04:
  267. wait 125
  268. goto HydraliskLocal04
  269.  
  270. HydraliskBurrow:
  271. imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
  272. playfram 212 # Frame set 12, direction 8
  273. wait 1
  274. playfram 229 # Frame set 13, direction 8
  275. wait 1
  276. playfram 246 # Frame set 14, direction 8
  277. wait 1
  278. playfram 263 # Frame set 15, direction 8
  279. wait 1
  280. playfram 280 # Frame set 16, direction 8
  281. wait 1
  282. sigorder 4
  283. goto HydraliskLocal04
  284.  
  285. HydraliskUnBurrow:
  286. waitrand 1 5
  287. imgul 423 0 0 # Burrowing Dust (thingy\bDust.grp)
  288. playfram 263 # Frame set 15, direction 8
  289. wait 1
  290. playfram 246 # Frame set 14, direction 8
  291. wait 1
  292. playfram 229 # Frame set 13, direction 8
  293. wait 1
  294. playfram 212 # Frame set 12, direction 8
  295. wait 1
  296. sigorder 4
  297. goto HydraliskWalkingToIdle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement