Staredit Network

Staredit Network -> Modding Assistance -> Yet another question....
Report, edit, etc...Posted by hynk on 2005-05-30 at 18:18:01
How do I give a Zerg Guardian "Yamato Gun" without StarCraft crashing? or is it not possible?
Report, edit, etc...Posted by AkkiBifuu on 2005-05-30 at 19:33:09
its possible but you will have to make a new button for it in memgraft or stargraft
Report, edit, etc...Posted by BSTRhino on 2005-05-30 at 19:47:10
Are you talking about Yamato Gun being used as a spell and not just a normal weapon?

In that case, what you'd have to do is create a button on the Guardian like AkkiBifuu said. There are a few approaches you could take to do this, but probably the one you want is where you give the Guardian the Yamato Gun spell. Once you've done that, check your requirements allow the Guardian to fire a Yamato Gun and then update its spell casting animation in the iscript to cast the spell somewhere.

If you want the Yamato Gun to charge, you'll need to create a LO? file for it. I haven't actually done this myself, I've been meaning to try though. My expectation is you'd have to add a new entry to images.tbl for the LO? file, have images.dat point to it, and have the LO? file pointing to the Guardian's graphic in images.dat. It's kind of complicated and you might not be able to work this out by yourself unless you completely understand how graphics function in StarCraft, so perhaps you should just ignore the charging part for now.
Report, edit, etc...Posted by hynk on 2005-05-30 at 20:08:58
Well, what I actually did was change the Terran Battlecruiser's graphics into a Zerg Guardian...

Does this also go for changing a Terran Science Vessel into a Zerg Devourer, when requiring the graphics needed for what a Devourer would look like if it was casting irridate?
Report, edit, etc...Posted by AkkiBifuu on 2005-05-30 at 20:49:24
ooooo in that case its because the Guardian doesnt have the same sprites as a BC and u need to make the sprites for casting the Yamoto and you should be set =P
Report, edit, etc...Posted by hynk on 2005-05-30 at 21:39:20
And, exactly, how do I make sprites for casting "Yamato Gun"?
Report, edit, etc...Posted by AqoTrooper on 2005-05-31 at 08:41:38
You don't, sprites got nothing to do with that.
It's the scripts which are missing, you'll need ICE (I reccomand using DK's version) to create the needed scripts, than:

Step 1: Open ICE and in the menu choose File>Load Default
Step 2: Type in the white box named 'Header': "zerg g", than select the option "Zerg Guardian" which should appear there.
Step 3: In the tabs below press 'Animation Scripts' and in the black/green box labeled "Animation:" choose 'Initial Ground Attack Animation'.
Step 4: Choose verything you see in the box under it and press 'Copy'.
Step 5: Press the 'Animation:" box again and this time choose 'Initial Air Attack Animation'.
Step 6: For some reason it appears with the same commands to me, but if it's empty for you press 'Paste' two times, than do the same with 'Repeat Ground Attack Animation'>'Repeat Auir Attack Animation' and 'Return to Idle from Ground Attack'>'Return to Idle from Air Attack'.
Step 7: Create a folder inside your mod folder named 'scripts' and open ICE again.
Step 8: File>Save As: "iscript.bin". It's important that you write the ".bin" yourself.
Next Page (1)