Staredit Network

Staredit Network -> Modding Assistance -> Iscript Problems
Report, edit, etc...Posted by WoAHorde2 on 2006-09-23 at 15:30:21
Ok I'm new to Iscipting,and I changed the overlords text so it will attack other air units.Also the overlord is supposed to suicide on contact with the target.I bleieve the problem is I have to change the locals,but IceCC isn't loading any other headers right now.

CODE


# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'data\scripts\iscript.bin'
# created on: Fri Sep 22 20:27:00 2006
# ----------------------------------------------------------------------------- #

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 042 Overlord (zerg\overlord.grp)
.headerstart
IsId            25
Type            12
Init            OverlordInit
Death           OverlordDeath
GndAttkInit     [NONE]
AirAttkInit     OverlordAirAttkInit
SpAbility1      [NONE]
GndAttkRpt      [NONE]
AirAttkRpt      [NONE]
SpAbility2      [NONE]
GndAttkToIdle   [NONE]
AirAttkToIdle   OverlordAirAttkToIdle
SpAbility3      [NONE]
Walking         OverlordWalking
Other           OverlordOther
BurrowInit      [NONE]
.headerend
# ----------------------------------------------------------------------------- #

OverlordInit:
imgul09         43 0 42 # OverlordShad (zerg\overlord.grp)
playfram        0x00 # frame set 0
goto            local00

local00:
shvertpos       1
waitrand        8 10
shvertpos       2
waitrand        8 10
shvertpos       1
waitrand        8 10
shvertpos       0
waitrand        8 10
goto            local00

OverlordDeath:
playsnd         910 # Zerg\OVERLORD\ZOvDth00.WAV
imgol08         45 0 0 # OverlordDeath (zerg\zovDeath.grp)
wait            1
end            

OverlordWalking:
shvertpos       0
playfram        0x00 # frame set 0
wait            2
playfram        0x11 # frame set 1
wait            2
local01:
playfram        0x22 # frame set 2
wait            2
playfram        0x33 # frame set 3
wait            2
goto            local01

OverlordOther:
playfram        0x33 # frame set 3
wait            2
playfram        0x22 # frame set 2
wait            2
playfram        0x11 # frame set 1
wait            2
playfram        0x00 # frame set 0
wait            2
goto            local00

Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-09-23 at 15:43:16
"OverlordWalking" calls local01, which I don't see...does it exist?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-09-23 at 15:46:59
Speaking things I don't see, I don't see an attack/attack to idle script in there, and you need to have AirAttkRpt point to something as well...
Report, edit, etc...Posted by WoAHorde2 on 2006-09-23 at 16:17:40
WOuldn't AN Air Attack Repeat be Invalid if the unit is going to kill itself?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-09-23 at 19:26:37
It depends on your AirAttkInit script... which you haven't posted. tongue.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-23 at 23:32:54
Is that the whole iscript, or did you edit it to remove things you considered unimportant? blink.gif
(it's missing ALOT of required headers)
Report, edit, etc...Posted by WoAHorde2 on 2006-09-23 at 23:57:11
I'm aware,I was wondering if people could help me place where they go..ICeCC won't decompile anything mellow.gif

I keep getting the erro"COuld not find header file"
Report, edit, etc...Posted by Pyro-Fire on 2006-09-24 at 02:18:18
reinstall icecc? get a new iscript.bin?
Report, edit, etc...Posted by WoAHorde2 on 2006-09-26 at 22:01:53
OK I got the Overlrod text file loaded.But when I start the game it crashes saying some script doesn't exsist...
CODE

# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'data\scripts\iscript.bin'
# created on: Fri Sep 22 20:27:00 2006
# ----------------------------------------------------------------------------- #

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 042 Overlord (zerg\overlord.grp)
.headerstart
IsId            25
Type            12
Init            OverlordInit
Death           OverlordDeath
GndAttkInit     [NONE]
AirAttkInit     OverlordAirAttkInit
SpAbility1      [NONE]
GndAttkRpt      [NONE]
AirAttkRpt      [NONE]
SpAbility2      [NONE]
GndAttkToIdle   [NONE]
AirAttkToIdle   OverlordAirAttkToIdle
SpAbility3      [NONE]
Walking         OverlordWalking
Other           OverlordOther
BurrowInit      [NONE]
.headerend
# ----------------------------------------------------------------------------- #

OverlordInit:
imgul09         43 0 42 # OverlordShad (zerg\overlord.grp)
playfram        0x00 # frame set 0
goto            local00

local00:
shvertpos       1
waitrand        8 10
shvertpos       2
waitrand        8 10
shvertpos       1
waitrand        8 10
shvertpos       0
waitrand        8 10
goto            local00

OverlordDeath:
playsnd         910 # Zerg\OVERLORD\ZOvDth00.WAV
imgol08         45 0 0 # OverlordDeath (zerg\zovDeath.grp)
wait            1
end            

OverlordWalking:
shvertpos       0
playfram        0x00 # frame set 0
wait            2
playfram        0x11 # frame set 1
wait            2

local01:
playfram        0x22 # frame set 2
wait            2
playfram        0x33 # frame set 3
wait            2
goto            local01

OverlordOther:
playfram        0x33 # frame set 3
wait            2
playfram        0x22 # frame set 2
wait            2
playfram        0x11 # frame set 1
wait            2
playfram        0x00 # frame set 0
wait            2
goto            local00

Report, edit, etc...Posted by Ultramilkman on 2006-09-30 at 09:23:32
What did you actually edit? I don't see any difference in the original and the one you have.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-09-30 at 09:31:15
I think your problem's caused by using the iscript.bin included with IceCC for decompiling/compiling, it should work if you update it.
Report, edit, etc...Posted by WoAHorde2 on 2006-10-01 at 18:10:15
Jeremy:I probally copy/pasted the wrong Iscript.
Pie:WHere is the Iscript? I can' find it in any of the 3 MPQs

Edit:OK I added it,and fixed it.But I keep getting the erro Script 289 doesn't exsist.

CODE

# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'data\scripts\iscript.bin'
# created on: Fri Sep 22 20:27:00 2006
# ----------------------------------------------------------------------------- #

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 042 Overlord (zerg\overlord.grp)
.headerstart
IsId            25
Type            12
Init            OverlordInit
Death           OverlordDeath
GndAttkInit     [NONE]
AirAttkInit     OverlordAirAttkInit
SpAbility1      [NONE]
GndAttkRpt      [NONE]
AirAttkRpt      OverlordAirAttkInit
SpAbility2      [NONE]
GndAttkToIdle   [NONE]
AirAttkToIdle   OverlordAirAttkToIdle
SpAbility3      [NONE]
Walking         OverlordWalking
Other           OverlordAirAttkToIdle
BurrowInit      [NONE]
.headerend
# ----------------------------------------------------------------------------- #

OverlordInit:
imgul09         43 0 42 # OverlordShad (zerg\overlord.grp)
playfram        0x00 # frame set 0
goto            local00

OverlordAirAttkToIdle:
playfram        0x00 # frame set 0
shvertpos       0
wait            3
playfram        0x11 # frame set 1
wait            3
playfram        0x22 # frame set 2
shvertpos       1
wait            3
playfram        0x33 # frame set 3
shvertpos       2
wait            3
playfram        0x44 # frame set 4
shvertpos       1
wait            3
goto            OverlordAirAttkToIdle

OverlordDeath:
playsnd         776 # Zerg\OVERLORD\ZOvDth00.WAV
imgol08         3 0 0 # OverlordDeath (zerg\zovDeath.grp)
wait            1
end
           
OverlordAirAttkInit:
playsnd         778 # Zerg\Overlord\ZAvHit00.WAV
sprol0f         132 0 0 # OverlordDeath (zerg\zovDeath.grp)
wait            1
attack25        2
goto            local00

local00:
shvertpos       1
waitrand        8 10
shvertpos       2
waitrand        8 10
shvertpos       1
waitrand        8 10
shvertpos       0
waitrand        8 10
goto            local00

OverlordWalking:
shvertpos       0

local01:
playfram        0x22 # frame set 2
wait            2
playfram        0x33 # frame set 3
wait            2
goto            local01


Next Page (1)