Staredit Network

Staredit Network -> Modding Assistance -> when i change the looks of buildings sc crashes
Report, edit, etc...Posted by CommmanderMoo19 on 2006-08-02 at 15:49:36
i made all the buildings look diffrent
ex-command center is now gateway,refinery is now queens nest
i changed all the terran buildings and the onli 1 i can build without sc crashing is the command center(gateway) helpsmilie.gif helpsmilie.gif helpsmilie.gif helpsmilie.gif helpsmilie.gif helpsmilie.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-08-02 at 15:58:57
Sounds to me like you have a iscript problem,
differant buildings have differant ammounts of frames and therefore need their own iscripts.
Report, edit, etc...Posted by CommmanderMoo19 on 2006-08-02 at 16:06:45
so i should leave the buildings just the way they originally looked ranting.gif ranting.gif ranting.gif ranting.gif
Report, edit, etc...Posted by DiscipleOfAdun on 2006-08-02 at 16:08:44
Well, instead of messing with the grp files or images.dat, change the graphics field(units.dat) in DatEdit. That way, it should have the right animation
Report, edit, etc...Posted by CommmanderMoo19 on 2006-08-02 at 18:47:37
i am changing the graphics in datedit
Report, edit, etc...Posted by Voyager7456(MM) on 2006-08-02 at 19:10:43
It is most likely an iscript.bin problem. If you check the iscript for the Command Center, you'll see that it has an animation for CommandCenterIsWorking.

If you add

CODE

GatewayIsWorking:
playfram        0


to the Gateway's iscript and change

CODE
IsWorking       [NONE]


to

CODE
IsWorking       GatewayIsWorking


the Gateway should work without a problem.

The reason for this is that Terran buildings have a "half-built" frame that is played during their construction. Since the Gateway doesn't have an instruction telling it to go to that frame, it crashes.
Report, edit, etc...Posted by nirvanajung on 2006-08-02 at 22:56:39
As i said before about CommmanderMoo19's stand of SCmodding
i think currently he don't know which is which about SCmodding knowledge

so i'd like to say step by step for him

Note : this condition is not edited actual grp file

1. basicaly graphical resources are under the control by image.dat and iscript.bin
so if u want change link to grp file just change GRP id number in image.dat
i would don't say rest propertice just digging by urself

then u must think about that Animation which changed graphic
all Starcraft's graphics have own Animations informations which different from
each other but some units share same Animation id each other


aight then let's see ur changed CC
between Command Center and Gateway, there are different counts of images
and animations frames and many other orders
so u must fit that all informations for changed unit
in ur work, u didn't change iscript.bin informations

now u'd follow this steps

2. change iscript id in image.dat for ur units
i suggest just keep original id which changed back number
if Acutal unit is Command center, just keep that

3. then now, u have to change Command center's iscript
Bascialy u just have to change graphical orders in there

first off, change all "play frame" orders to possible displayed frame
this mean u have to just set frame number as contains frames for GRP
look at Gateway's frame there are contained from 1 frame

so u just set 1 number of frame to all "play frame" orders

and if there are "overlay" "underlay" things in original script
u should fix that orders to displayed as fit as a pudding stuffs

Bascally, that's it

i'd dont explain about use ways for each tools
just practice those tools which used for ur work

then i'd just say this GL~! wink.gif
Report, edit, etc...Posted by CommmanderMoo19 on 2006-08-02 at 23:02:32
k but i don hav iscript or atleast i don no where 2 find it
Report, edit, etc...Posted by nirvanajung on 2006-08-02 at 23:09:01
Well u should digging around of tutorials which pinned thread at first
there many expaintions for iscript
that ur asking isn't basic attitude for asking nono.gif
Next Page (1)