My Infested Kerrigan iscript

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 033 Infested Kerrigan (zerg\uikerr.grp)
.headerstart
IsId 20
Type 26
Init InfestedKerriganInit
Death InfestedKerriganDeath
GndAttkInit InfestedKerriganGndAttkInit
AirAttkInit InfestedKerriganGndAttkInit
Unused1 [NONE]
GndAttkRpt InfestedKerriganGndAttkRpt
AirAttkRpt InfestedKerriganGndAttkRpt
CastSpell [NONE]
GndAttkToIdle InfestedKerriganGndAttkToIdle
AirAttkToIdle InfestedKerriganGndAttkToIdle
Unused2 [NONE]
Walking InfestedKerriganWalking
WalkingToIdle InfestedKerriganWalkingToIdle
SpecialState1 [NONE]
SpecialState2 InfestedKerriganSpecialState2
AlmostBuilt [NONE]
Built [NONE]
Landing [NONE]
LiftOff [NONE]
IsWorking [NONE]
WorkingToIdle [NONE]
WarpIn [NONE]
Unused3 [NONE]
StarEditInit [NONE]
Disable [NONE]
Burrow InfestedKerriganBurrow
UnBurrow InfestedKerriganUnBurrow
Enable [NONE]
.headerend
# ----------------------------------------------------------------------------- #
InfestedKerriganInit:
imgul 922 0 0 # Lurker Shadow (zerg\zZluShad.grp)
InfestedKerriganWalkingToIdle:
playfram 0x00 # Frame set 0
InfestedKerriganLocal00:
waitrand 63 75
randcondjmp 128 InfestedKerriganLocal01
goto InfestedKerriganLocal00
InfestedKerriganLocal01:
randcondjmp 128 InfestedKerriganLocal02
playfram 0x11 # Frame set 1
wait 1
turnccwise 1
playfram 0x22 # Frame set 2
wait 1
turnccwise 1
playfram 0x33 # Frame set 3
wait 1
turnccwise 1
playfram 0x44 # Frame set 4
wait 1
turnccwise 1
playfram 0x55 # Frame set 5
wait 1
turnccwise 1
playfram 0x66 # Frame set 6
wait 1
turnccwise 1
goto InfestedKerriganWalkingToIdle
InfestedKerriganLocal02:
playfram 0x11 # Frame set 1
wait 1
turncwise 1
playfram 0x22 # Frame set 2
wait 1
turncwise 1
playfram 0x33 # Frame set 3
wait 1
turncwise 1
playfram 0x44 # Frame set 4
wait 1
turncwise 1
playfram 0x55 # Frame set 5
wait 1
turncwise 1
playfram 0x66 # Frame set 6
wait 1
turncwise 1
goto InfestedKerriganWalkingToIdle
InfestedKerriganDeath:
playsnd 1080 # Zerg\LURKER\ZLuDth00.WAV
setfldirect 0
playfram 0x1a9 # Frame set 25
wait 2
playfram 0x1ba # Frame set 26
wait 2
playfram 0x1cb # Frame set 27
wait 2
playfram 0x1dc # Frame set 28
wait 2
playfram 0x1ed # Frame set 29
wait 2
lowsprul 484 0 0 # Lurker Remnants (zerg\zLurker.grp)
wait 1
end
InfestedKerriganGndAttkInit:
nobrkcodestart
InfestedKerriganGndAttkRpt:
wait 1
playsnd 64 # Bullet\SpoogHit.wav
attack
wait 1
nobrkcodeend
gotorepeatattk
ignorerest
InfestedKerriganGndAttkToIdle:
goto InfestedKerriganLocal03
InfestedKerriganLocal03:
wait 125
goto InfestedKerriganLocal03
InfestedKerriganWalking:
move 6
wait 1
playfram 0x11 # Frame set 1
move 6
wait 1
playfram 0x22 # Frame set 2
move 6
wait 1
playfram 0x33 # Frame set 3
move 6
wait 1
playfram 0x44 # Frame set 4
move 6
wait 1
playfram 0x55 # Frame set 5
move 6
wait 1
playfram 0x66 # Frame set 6
move 6
wait 1
playfram 0x00 # Frame set 0
goto InfestedKerriganWalking
InfestedKerriganSpecialState2:
playfram 0x198 # Frame set 24
goto InfestedKerriganLocal03
InfestedKerriganBurrow:
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playsnd 1093 # Zerg\LURKER\ZLuBurrw.wav
playfram 0xbb # Frame set 11
wait 1
playfram 0xcc # Frame set 12
wait 1
playfram 0xdd # Frame set 13
wait 1
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0xee # Frame set 14
wait 1
playfram 0xff # Frame set 15
wait 1
playfram 0x110 # Frame set 16
wait 1
playfram 0x121 # Frame set 17
wait 1
playfram 0x132 # Frame set 18
wait 1
playfram 0x143 # Frame set 19
wait 1
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0xee # Frame set 14
wait 1
playfram 0xff # Frame set 15
wait 1
playfram 0x110 # Frame set 16
wait 1
playfram 0x121 # Frame set 17
wait 1
playfram 0x132 # Frame set 18
wait 1
playfram 0x143 # Frame set 19
wait 1
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0x154 # Frame set 20
wait 1
playfram 0x165 # Frame set 21
wait 1
playfram 0x176 # Frame set 22
wait 1
playfram 0x187 # Frame set 23
wait 1
playfram 0x198 # Frame set 24
wait 1
sigorder 4
goto InfestedKerriganLocal03
InfestedKerriganUnBurrow:
waitrand 1 5
imgul 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0x77 # Frame set 7
wait 1
playfram 0x88 # Frame set 8
wait 1
playfram 0x99 # Frame set 9
wait 1
playfram 0xaa # Frame set 10
wait 1
sigorder 4
goto InfestedKerriganWalkingToIdle
# This header is used by images.dat entries:
# 033 Infested Kerrigan (zerg\uikerr.grp)
.headerstart
IsId 20
Type 26
Init InfestedKerriganInit
Death InfestedKerriganDeath
GndAttkInit InfestedKerriganGndAttkInit
AirAttkInit InfestedKerriganGndAttkInit
Unused1 [NONE]
GndAttkRpt InfestedKerriganGndAttkRpt
AirAttkRpt InfestedKerriganGndAttkRpt
CastSpell [NONE]
GndAttkToIdle InfestedKerriganGndAttkToIdle
AirAttkToIdle InfestedKerriganGndAttkToIdle
Unused2 [NONE]
Walking InfestedKerriganWalking
WalkingToIdle InfestedKerriganWalkingToIdle
SpecialState1 [NONE]
SpecialState2 InfestedKerriganSpecialState2
AlmostBuilt [NONE]
Built [NONE]
Landing [NONE]
LiftOff [NONE]
IsWorking [NONE]
WorkingToIdle [NONE]
WarpIn [NONE]
Unused3 [NONE]
StarEditInit [NONE]
Disable [NONE]
Burrow InfestedKerriganBurrow
UnBurrow InfestedKerriganUnBurrow
Enable [NONE]
.headerend
# ----------------------------------------------------------------------------- #
InfestedKerriganInit:
imgul 922 0 0 # Lurker Shadow (zerg\zZluShad.grp)
InfestedKerriganWalkingToIdle:
playfram 0x00 # Frame set 0
InfestedKerriganLocal00:
waitrand 63 75
randcondjmp 128 InfestedKerriganLocal01
goto InfestedKerriganLocal00
InfestedKerriganLocal01:
randcondjmp 128 InfestedKerriganLocal02
playfram 0x11 # Frame set 1
wait 1
turnccwise 1
playfram 0x22 # Frame set 2
wait 1
turnccwise 1
playfram 0x33 # Frame set 3
wait 1
turnccwise 1
playfram 0x44 # Frame set 4
wait 1
turnccwise 1
playfram 0x55 # Frame set 5
wait 1
turnccwise 1
playfram 0x66 # Frame set 6
wait 1
turnccwise 1
goto InfestedKerriganWalkingToIdle
InfestedKerriganLocal02:
playfram 0x11 # Frame set 1
wait 1
turncwise 1
playfram 0x22 # Frame set 2
wait 1
turncwise 1
playfram 0x33 # Frame set 3
wait 1
turncwise 1
playfram 0x44 # Frame set 4
wait 1
turncwise 1
playfram 0x55 # Frame set 5
wait 1
turncwise 1
playfram 0x66 # Frame set 6
wait 1
turncwise 1
goto InfestedKerriganWalkingToIdle
InfestedKerriganDeath:
playsnd 1080 # Zerg\LURKER\ZLuDth00.WAV
setfldirect 0
playfram 0x1a9 # Frame set 25
wait 2
playfram 0x1ba # Frame set 26
wait 2
playfram 0x1cb # Frame set 27
wait 2
playfram 0x1dc # Frame set 28
wait 2
playfram 0x1ed # Frame set 29
wait 2
lowsprul 484 0 0 # Lurker Remnants (zerg\zLurker.grp)
wait 1
end
InfestedKerriganGndAttkInit:
nobrkcodestart
InfestedKerriganGndAttkRpt:
wait 1
playsnd 64 # Bullet\SpoogHit.wav
attack
wait 1
nobrkcodeend
gotorepeatattk
ignorerest
InfestedKerriganGndAttkToIdle:
goto InfestedKerriganLocal03
InfestedKerriganLocal03:
wait 125
goto InfestedKerriganLocal03
InfestedKerriganWalking:
move 6
wait 1
playfram 0x11 # Frame set 1
move 6
wait 1
playfram 0x22 # Frame set 2
move 6
wait 1
playfram 0x33 # Frame set 3
move 6
wait 1
playfram 0x44 # Frame set 4
move 6
wait 1
playfram 0x55 # Frame set 5
move 6
wait 1
playfram 0x66 # Frame set 6
move 6
wait 1
playfram 0x00 # Frame set 0
goto InfestedKerriganWalking
InfestedKerriganSpecialState2:
playfram 0x198 # Frame set 24
goto InfestedKerriganLocal03
InfestedKerriganBurrow:
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playsnd 1093 # Zerg\LURKER\ZLuBurrw.wav
playfram 0xbb # Frame set 11
wait 1
playfram 0xcc # Frame set 12
wait 1
playfram 0xdd # Frame set 13
wait 1
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0xee # Frame set 14
wait 1
playfram 0xff # Frame set 15
wait 1
playfram 0x110 # Frame set 16
wait 1
playfram 0x121 # Frame set 17
wait 1
playfram 0x132 # Frame set 18
wait 1
playfram 0x143 # Frame set 19
wait 1
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0xee # Frame set 14
wait 1
playfram 0xff # Frame set 15
wait 1
playfram 0x110 # Frame set 16
wait 1
playfram 0x121 # Frame set 17
wait 1
playfram 0x132 # Frame set 18
wait 1
playfram 0x143 # Frame set 19
wait 1
imgol 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0x154 # Frame set 20
wait 1
playfram 0x165 # Frame set 21
wait 1
playfram 0x176 # Frame set 22
wait 1
playfram 0x187 # Frame set 23
wait 1
playfram 0x198 # Frame set 24
wait 1
sigorder 4
goto InfestedKerriganLocal03
InfestedKerriganUnBurrow:
waitrand 1 5
imgul 423 0 0 # Burrowing Dust (thingy\bDust.grp)
playfram 0x77 # Frame set 7
wait 1
playfram 0x88 # Frame set 8
wait 1
playfram 0x99 # Frame set 9
wait 1
playfram 0xaa # Frame set 10
wait 1
sigorder 4
goto InfestedKerriganWalkingToIdle
Whenever Kerrigan dies (her .grp has been replaced with an unedited copy of the Lurker's .grp) it crashes the game. Update: Changing it to the Devourer death (# 483) has no effect. Not sure what this is now; an iscript issue or a .dat issue. Any clue?
Post has been edited 3 time(s), last time on Aug 20 2011, 5:10 am by Pr0nogo.