Staredit Network

Staredit Network -> Modding Assistance -> ICECC Problem
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-07-14 at 14:59:03
For some reason, ICECC won't compile an iscript.txt file. It will compile any other iscript.txt file I feed it within two seconds and put the iscript.bin right in the ICECC folder where I can see it. Yet no matter how many times I give it the file and click "Compile," it refuses to produce the .bin. It doesn't even give me an error message, it just refuses to work. Any idea what's going on?
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-14 at 15:02:10
Mind letting us see the Iscript so we can help you solve the problem?
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-07-14 at 15:04:55
Here ya go:
[attachmentid=20024]
I just decompile the whole unit part and change it around. Lurker and Muta are edited, but they work fine. Dragoon is the most recent change, and the point where it stopped compiling. But there's no error messages...
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-14 at 15:08:27
What I (and most other people) like to do is to have each unit's Iscript seperated with differant text files,
that way it's easier to search through and you can test them one at a time to see where the problem is tongue.gif

in otherwords, I couldn't find the dragoons Iscript in that, sorry
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-07-14 at 15:13:28
Copy-pasted for your edification and viewing pleasure (It seems easier to just paste if here than post another iscript file:)
QUOTE
# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 122 Dragoon (protoss\dragoon.grp)
.headerstart
IsId            153
Type            21
Init            DragoonInit
Death          DragoonDeath
GndAttkInit    DragoonGndAttkInit
AirAttkInit    DragoonAirAttkInit
SpAbility1      [NONE]
GndAttkRpt      DragoonGndAttkRpt
AirAttkRpt      DragoonGndAttkRpt
SpAbility2      [NONE]
GndAttkToIdle  DragoonGndAttkToIdle
AirAttkToIdle  DragoonGndAttkToIdle
SpAbility3      [NONE]
Walking        DragoonWalking
Other          DragoonOther
BurrowInit      [NONE]
ConstrctHarvst  [NONE]
IsWorking      [NONE]
Landing        [NONE]
LiftOff        [NONE]
Unknown18      [NONE]
Unknown19      [NONE]
Unknown20      [NONE]
Unknown21      DragoonUnknown21
.headerend
# ----------------------------------------------------------------------------- #

DragoonInit:
imgul09        123 0 0 # DragoonShad (protoss\pdrShad.grp)
DragoonOther:
playfram        0x00 # frame set 0
waitrand        1 3
local108:
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
playfram        0x55 # frame set 5
wait            2
playfram        0x66 # frame set 6
wait            2
playfram        0x77 # frame set 7
wait            2
playfram        0x00 # frame set 0
wait            2
goto            local108

DragoonDeath:
playsnd        493 # Protoss\DRAGOON\PDrDth00.WAV
playframno      0
playfram        0x198 # frame set 24
wait            2
playfram        0x199 # frame set 24
wait            2
playfram        0x19a # frame set 24
wait            2
playfram        0x19b # frame set 24
wait            2
playfram        0x19c # frame set 24
wait            2
playfram        0x19d # frame set 24
wait            2
playfram        0x19e # frame set 24
wait            2
sprul11        192 0 0 # DragoonDeath (protoss\pdrDeath.grp)
wait            1
end           

DragoonGndAttkInit:
trgtrangecondjump 16 DragoonStomp
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
playfram        0x154 # frame set 20
wait            1
playfram        0x165 # frame set 21
wait            1
DragoonGndAttkRpt:
playfram        0x176 # frame set 22
wait            1
playfram        0x187 # frame set 23
wait            1
attack25        1
playfram        0x176 # frame set 22
wait            1
playfram        0x165 # frame set 21
gotorepeatattk 
ignorerest     
DragoonGndAttkToIdle:
wait            1
playfram        0x154 # frame set 20
wait            1
playfram        0x143 # frame set 19
wait            1
playfram        0x132 # frame set 18
wait            1
playfram        0x121 # frame set 17
wait            1
playfram        0x110 # frame set 16
goto            DragoonOther


DragoonStomp:
shvertpos -1
wait  1
shvertpos -1
wait  1
shvertpos -1
wait  1
shvertpos -1
wait  1
shvertpos -1
wait  2
shvertpos -1
wait  2
shvertpos -1
wait  2
shvertpos -1
wait  2
shvertpos -1
wait  4
shvertpos -1
wait  4
shvertpos -1
wait  4
shvertpos -1
wait  8
shvertpos 2
wait  1
shvertpos 2
wait  1
shvertpos 2
wait  1
shvertpos 2
wait  1
shvertpos 2
wait  1
shvertpos 2
wait  1
useweapon 129
sprol0f  556 0 0
goto  DragoonGndAttkInit

DragoonAirAttkInit:
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
playfram        0x154 # frame set 20
wait            1
playfram        0x165 # frame set 21
wait            1
goto  DragoonGndAttkRpt

DragoonWalking:
move            4
wait            1
playfram        0x88 # frame set 8
move            6
wait            1
playfram        0x99 # frame set 9
move            8
wait            1
playfram        0xaa # frame set 10
move            8
wait            1
playfram        0xbb # frame set 11
move            2
wait            1
playfram        0xcc # frame set 12
move            2
wait            1
playfram        0xdd # frame set 13
move            6
wait            1
playfram        0xee # frame set 14
move            6
wait            1
playfram        0xff # frame set 15
goto            DragoonWalking

DragoonUnknown21:
imgol08        125 0 0 # Unknown125 (protoss\dragoon.grp)
goto            local109

local109:
wait            125
goto            local109
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-14 at 15:27:55
I think you made the Iscript too long for IceCC to handle, that's the most likely reason tongue.gif
Report, edit, etc...Posted by Lord_Agamemnon(MM) on 2006-07-14 at 15:29:32
I don't know...BSTRhino said that his Ultralisk script in Zerg Doom was 3000 (!!! My God, how does the man do it?) lines. Maybe I'll try something else with it...

EDIT: Nope, still doesn't work. I tried registering the Stomp routine to the "SpAbility1" slot.

EDIT: Haha! Problem solved. I mispelled "trgtrangecondjmp" and it didn't display the error, for some odd reason. Then I fixed it and it compiles right. It was me after all (I wish that the computer would be at fault every so often...)
Next Page (1)