Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ----------------------------------------------------------------------------- #
- # This header is used by images.dat entries:
- # 017 Drone (zerg\drone.grp)
- .headerstart
- IsId 11
- Type 26
- Init DroneInit
- Death DroneDeath
- GndAttkInit DroneGndAttkInit
- AirAttkInit [NONE]
- Unused1 [NONE]
- GndAttkRpt DroneGndAttkInit
- AirAttkRpt [NONE]
- CastSpell [NONE]
- GndAttkToIdle DroneGndAttkToIdle
- AirAttkToIdle [NONE]
- Unused2 [NONE]
- Walking DroneWalking
- WalkingToIdle DroneGndAttkToIdle
- SpecialState1 [NONE]
- SpecialState2 DroneSpecialState2
- AlmostBuilt DroneAlmostBuilt
- Built [NONE]
- Landing DroneWalking
- LiftOff DroneLiftOff
- IsWorking [NONE]
- WorkingToIdle [NONE]
- WarpIn [NONE]
- Unused3 [NONE]
- StarEditInit [NONE]
- Disable [NONE]
- Burrow [NONE]
- UnBurrow [NONE]
- Enable [NONE]
- .headerend
- # ----------------------------------------------------------------------------- #
- DroneInit:
- imgul 20 0 0 # REPLACE WITH YOUR SHADOW ENTRY
- playfram 0x00 # Frame set 0
- goto DroneGndAttkToIdle
- DroneGndAttkToIdle:
- playfram 0x00 # Frame set 0
- playfram 0x00 # Frame set 0
- playfram 0x00 # Frame set 0
- wait 125
- goto DroneGndAttkToIdle
- DroneDeath:
- playsnd 512 # REPLACE WITH YOUR SOUND ENTRY
- imgol 332 0 0 # Explosion2 (Small) (thingy\tBangS.grp)
- wait 3
- end
- DroneGndAttkInit:
- playfram 0x11 # Frame set 1
- wait 1
- playfram 0x22 # Frame set 2
- wait 1
- playfram 0x33 # Frame set 3
- playsnd 64 # REPLACE WITH YOUR SOUND ENTRY
- attackwith 1
- wait 1
- playfram 0x22 # Frame set 2
- wait 1
- playfram 0x11 # Frame set 1
- wait 1
- gotorepeatattk
- goto DroneGndAttkToIdle
- DroneWalking:
- move 4
- wait 1
- playfram 0x44 # Frame set 4
- move 4
- wait 1
- playfram 0x55 # Frame set 5
- move 4
- wait 1
- playfram 0x66 # Frame set 6
- move 4
- wait 1
- playfram 0x77 # Frame set 7
- move 4
- wait 1
- playfram 0x88 # Frame set 8
- move 4
- wait 1
- playfram 0x99 # Frame set 9
- move 4
- wait 1
- playfram 0xaa # Frame set 10
- move 4
- wait 1
- playfram 0xbb # Frame set 11
- move 4
- wait 1
- playfram 0xcc # Frame set 12
- move 4
- wait 1
- playfram 0xdd # Frame set 13
- move 4
- wait 1
- playfram 0xee # Frame set 14
- move 4
- wait 1
- playfram 0xff # Frame set 15
- move 4
- wait 1
- goto DroneWalking
- DroneSpecialState2:
- playfram 0x176 # Frame set 22
- goto DroneGndAttkToIdle
- DroneAlmostBuilt:
- #USED FOR MINING ONLY
- waitrand 5 8
- playsnd 847 # REPLACE WITH YOUR SOUND ENTRY
- playfram 0x11 # Frame set 1
- wait 1
- playfram 0x22 # Frame set 2
- wait 1
- playfram 0x33 # Frame set 3
- wait 1
- playfram 0x22 # Frame set 2
- wait 1
- playfram 0x11 # Frame set 1
- wait 1
- goto DroneAlmostBuilt
- DroneLiftOff:
- #USED FOR MORPHING TO STRUCTURE ONLY
- sigorder 16
- goto DroneGndAttkToIdle
Add Comment
Please, Sign In to add comment