I was trying to add air attacks to several units, but it isn't working out very well.
Scripts Edited:
# 017 Drone (zerg\drone.grp)
.headerstart
IsId 11
Type 26
Init DroneInit
Death DroneDeath
GndAttkInit DroneGndAttkInit
AirAttkInit DroneGndAttkInit
SpAbility1 [NONE]
GndAttkRpt DroneGndAttkInit
AirAttkRpt DroneGndAttkInit
SpAbility2 [NONE]
GndAttkToIdle DroneGndAttkToIdle
AirAttkToIdle DroneGndAttkToIdle
SpAbility3 [NONE]
Walking DroneWalking
Other DroneGndAttkToIdle
BurrowInit [NONE]
ConstrctHarvst DroneConstrctHarvst
IsWorking DroneIsWorking
Landing [NONE]
LiftOff DroneWalking
Unknown18 DroneUnknown18
Unknown19 [NONE]
Unknown20 [NONE]
Unknown21 [NONE]
Unknown22 [NONE]
Unknown23 [NONE]
Unknown24 [NONE]
Burrow DroneBurrow
UnBurrow DroneUnBurrow
Unknown27 [NONE]
.headerend
# ----------------------------------------------------------------------------- #
DroneInit:
imgul09 18 0 7 # DroneShad (zerg\drone.grp)
playfram 0x00 # frame set 0
goto DroneGndAttkToIdle
DroneGndAttkToIdle:
wait 125
goto DroneGndAttkToIdle
DroneAirAttkToIdle:
wait 125
goto DroneAirAttkToIdle
DroneDeath:
playsnd 833 # Zerg\DRONE\ZDrDth00.WAV
playframno 0
playfram 0xaa # frame set 10
wait 2
playfram 0xbb # frame set 11
wait 2
playfram 0xcc # frame set 12
wait 2
playfram 0xdd # frame set 13
wait 2
playfram 0xee # frame set 14
wait 2
playfram 0xff # frame set 15
wait 2
playfram 0x110 # frame set 16
wait 2
playfram 0x121 # frame set 17
wait 2
sprul11 141 0 0 # DroneDeath (zerg\zdrDeath.grp)
wait 1
end
DroneGndAttkInit:
shvertpos 0
playsnd 64 # Bullet\SpoogHit.wav
sprol15 332 0 # NeedleSpines (thingy\spooge.grp)
wait 1
attack25 1
gotorepeatattk
goto DroneGndAttkToIdle
DroneAirAttkInit:
shvertpos 0
playsnd 64 # Bullet\SpoogHit.wav
sprol15 332 0 # NeedleSpines (thingy\spooge.grp)
wait 1
attack25 1
gotorepeatattk
goto DroneAirAttkToIdle
DroneWalking:
shvertpos 0
local23:
playfram 0x00 # frame set 0
wait 2
playfram 0x11 # frame set 1
wait 2
playfram 0x22 # frame set 2
wait 2
playfram 0x33 # frame set 3
wait 2
playfram 0x44 # frame set 4
wait 2
goto local23
DroneConstrctHarvst:
playfram 0x176 # frame set 22
goto DroneGndAttkToIdle
DroneIsWorking:
shvertpos 0
waitrand 5 8
playsnd 847 # Zerg\DRONE\ZDrMin00.wav
playfram 0x55 # frame set 5
wait 2
playfram 0x66 # frame set 6
wait 2
playfram 0x77 # frame set 7
wait 2
playfram 0x88 # frame set 8
wait 2
playfram 0x55 # frame set 5
goto DroneIsWorking
DroneUnknown18:
sigorder 16
goto DroneGndAttkToIdle
DroneBurrow:
imgol08 423 0 0 # Unknown423 (thingy\bDust.grp)
playfram 0x132 # frame set 18
wait 1
playfram 0x143 # frame set 19
wait 1
playfram 0x154 # frame set 20
wait 1
playfram 0x165 # frame set 21
wait 1
playfram 0x176 # frame set 22
wait 1
sigorder 4
goto DroneGndAttkToIdle
DroneUnBurrow:
waitrand 1 5
imgul09 423 0 0 # Unknown423 (thingy\bDust.grp)
playfram 0x165 # frame set 21
wait 1
playfram 0x154 # frame set 20
wait 1
playfram 0x143 # frame set 19
wait 1
playfram 0x132 # frame set 18
wait 1
playfram 0x00 # frame set 0
sigorder 4
goto DroneGndAttkToIdle
# 050 Ultralisk (zerg\ultra.grp)
.headerstart
IsId 29
Type 12
Init UltraliskInit
Death UltraliskDeath
GndAttkInit UltraliskGndAttkInit
AirAttkInit UltraliskGndAttkInit
SpAbility1 [NONE]
GndAttkRpt UltraliskGndAttkRpt
AirAttkRpt UltraliskGndAttkRpt
SpAbility2 [NONE]
GndAttkToIdle UltraliskGndAttkToIdle
AirAttkToIdle UltraliskGndAttkToIdle
SpAbility3 [NONE]
Walking UltraliskWalking
Other UltraliskGndAttkToIdle
BurrowInit [NONE]
.headerend
# ----------------------------------------------------------------------------- #
UltraliskInit:
imgul09 51 0 0 # UltraliskShad (zerg\zulShad.grp)
UltraliskGndAttkToIdle:
playfram 0x99 # frame set 9
goto local51
UltraliskAirAttkToIdle:
playfram 0x99 # frame set 9
goto local51
local51:
wait 125
goto local51
UltraliskDeath:
playsnd 878 # Zerg\Ultra\ZUlDth00.WAV
playframno 0
playfram 0xff # frame set 15
wait 2
playfram 0x100 # frame set 15
wait 2
playfram 0x101 # frame set 15
wait 2
playfram 0x102 # frame set 15
wait 2
playfram 0x103 # frame set 15
wait 2
playfram 0x104 # frame set 15
wait 2
playfram 0x105 # frame set 15
wait 2
playfram 0x106 # frame set 15
wait 2
playfram 0x107 # frame set 15
wait 2
playfram 0x108 # frame set 15
wait 2
sprul11 158 0 0 # UltraliskDeath (zerg\zulDeath.grp)
wait 1
end
UltraliskGndAttkInit:
playfram 0xee # frame set 14
UltraliskGndAttkRpt:
wait 1
nobrkcodestart
playsndrand 3 891 892 893 # Bullet\zmuFir00.wav, Zerg\Ultra\zulAtt00.WAV, Zerg\Ultra\zulAtt01.WAV, Zerg\Ultra\zulAtt02.WAV
wait 2
playfram 0xdd # frame set 13
wait 2
playfram 0xcc # frame set 12
attack1c 2 894 895 # Zerg\Ultra\zulHit00.WAV, Zerg\Ultra\zulHit01.WAV
wait 2
playfram 0xbb # frame set 11
wait 2
playfram 0xcc # frame set 12
wait 2
playfram 0xdd # frame set 13
wait 2
playfram 0xee # frame set 14
wait 2
nobrkcodeend
gotorepeatattk
goto UltraliskGndAttkToIdle
UltraliskAirAttkInit:
playfram 0xee # frame set 14
UltraliskAirAttkRpt:
wait 1
nobrkcodestart
playsndrand 3 891 892 893 # Zerg\Ultra\zulAtt00.WAV, Zerg\Ultra\zulAtt01.WAV, Zerg\Ultra\zulAtt02.WAV
wait 2
playfram 0xdd # frame set 13
wait 2
playfram 0xcc # frame set 12
attack1c 2 894 895 # Bullet\zmuFir00.wav, Zerg\Ultra\zulHit00.WAV, Zerg\Ultra\zulHit01.WAV
wait 2
playfram 0xbb # frame set 11
wait 2
playfram 0xcc # frame set 12
wait 2
playfram 0xdd # frame set 13
wait 2
playfram 0xee # frame set 14
wait 2
nobrkcodeend
gotorepeatattk
goto UltraliskAirAttkToIdle
UltraliskWalking:
move 2
wait 1
playfram 0x00 # frame set 0
move 6
wait 1
playfram 0x11 # frame set 1
move 4
wait 1
playfram 0x22 # frame set 2
move 3
wait 1
playfram 0x33 # frame set 3
move 2
wait 1
playfram 0x44 # frame set 4
move 7
wait 1
playfram 0x55 # frame set 5
move 8
wait 1
playfram 0x66 # frame set 6
move 7
wait 1
playfram 0x77 # frame set 7
move 8
wait 1
playfram 0x88 # frame set 8
move 7
wait 1
playfram 0x99 # frame set 9
goto UltraliskWalking
# 054 Zergling (zerg\zergling.grp)
.headerstart
IsId 31
Type 26
Init ZerglingInit
Death ZerglingDeath
GndAttkInit ZerglingGndAttkInit
AirAttkInit ZerglingGndAttkInit
SpAbility1 [NONE]
GndAttkRpt ZerglingGndAttkInit
AirAttkRpt ZerglingGndAttkInit
SpAbility2 [NONE]
GndAttkToIdle ZerglingGndAttkToIdle
AirAttkToIdle ZerglingGndAttkToIdle
SpAbility3 [NONE]
Walking ZerglingWalking
Other ZerglingGndAttkToIdle
BurrowInit [NONE]
ConstrctHarvst ZerglingConstrctHarvst
IsWorking [NONE]
Landing [NONE]
LiftOff [NONE]
Unknown18 [NONE]
Unknown19 [NONE]
Unknown20 [NONE]
Unknown21 [NONE]
Unknown22 [NONE]
Unknown23 [NONE]
Unknown24 [NONE]
Burrow ZerglingBurrow
UnBurrow ZerglingUnBurrow
Unknown27 [NONE]
.headerend
# ----------------------------------------------------------------------------- #
ZerglingInit:
imgul09 55 0 0 # ZerglingShad (zerg\zzeShad.grp)
ZerglingGndAttkToIdle:
playfram 0x55 # frame set 5
goto local52
ZerglingAirAttkToIdle:
playfram 0x55 # frame set 5
goto local52
local52:
wait 125
goto local52
ZerglingDeath:
playsnd 896 # Zerg\Zergling\ZZeDth00.WAV
playframno 0
playfram 0x121 # frame set 17
wait 2
playfram 0x122 # frame set 17
wait 2
playfram 0x123 # frame set 17
wait 2
playfram 0x124 # frame set 17
wait 2
playfram 0x125 # frame set 17
wait 2
playfram 0x126 # frame set 17
wait 2
playfram 0x127 # frame set 17
wait 2
sprul11 160 0 0 # ZerglingDeath (zerg\zzeDeath.grp)
wait 1
end
ZerglingGndAttkInit:
playsnd 101 # Bullet\LaserB.wav
playfram 0x00 # frame set 0
wait 1
nobrkcodestart
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
attack1c 1 894 # Zerg\Ultra\zulHit00.WAV
wait 1
playfram 0x33 # frame set 3
wait 1
playfram 0x44 # frame set 4
wait 1
nobrkcodeend
gotorepeatattk
goto ZerglingGndAttkToIdle
ZerglingAirAttkInit:
playsnd 101 # Bullet\LaserB.wav
playfram 0x00 # frame set 0
wait 1
nobrkcodestart
playfram 0x11 # frame set 1
wait 1
playfram 0x22 # frame set 2
attack1c 1 894 # Zerg\Ultra\zulHit00.WAV
wait 1
playfram 0x33 # frame set 3
wait 1
playfram 0x44 # frame set 4
wait 1
nobrkcodeend
gotorepeatattk
goto ZerglingAirAttkToIdle
ZerglingWalking:
move 2
wait 1
playfram 0x66 # frame set 6
move 8
wait 1
playfram 0x77 # frame set 7
move 9
wait 1
playfram 0x88 # frame set 8
move 5
wait 1
playfram 0x99 # frame set 9
move 6
wait 1
playfram 0xaa # frame set 10
move 7
wait 1
playfram 0xbb # frame set 11
move 2
wait 1
playfram 0x55 # frame set 5
goto ZerglingWalking
ZerglingConstrctHarvst:
playfram 0x110 # frame set 16
goto local52
ZerglingBurrow:
imgol08 423 0 0 # Unknown423 (thingy\bDust.grp)
playfram 0xcc # frame set 12
wait 1
playfram 0xdd # frame set 13
wait 1
playfram 0xee # frame set 14
wait 1
playfram 0xff # frame set 15
wait 1
playfram 0x110 # frame set 16
wait 1
sigorder 4
goto local52
ZerglingUnBurrow:
waitrand 1 5
imgul09 423 0 0 # Unknown423 (thingy\bDust.grp)
playfram 0xff # frame set 15
wait 1
playfram 0xee # frame set 14
wait 1
playfram 0xdd # frame set 13
wait 1
playfram 0xcc # frame set 12
wait 1
sigorder 4
goto ZerglingGndAttkToIdle
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I thank those who contribute in advance, for helping me make my mod.
None.