Changing Unit Heights In ICE written by Stwong
From Ice XP
Changing Unit Heights In ICE written by Stwong from
Staredit Network
What this example/tutorial intends to do is make the Protoss Probe move four times as fast, teaching the subject how frames work, what is possible height-wise in ICE, and how to do most of the animation editing with a little bit of experimentation.
1. Open your favorite MPQ viewer, and extract iscript.bin from a copy of patch_rt.mpq (copied from your Starcraft directory). Do not load the default one from ICE, since it is outdated and will remove replay functionality.
Notes:
* Never use originals when modding. Originals are bad. Make copies, then mod them.
* A method I've used to overcome the fact that Arsenal III files are outdated is by patching the files in Arsenal III's directory manually. Beware, though, that if you fail to do this properly, you may need to reinstall Arsenal III to get it working again.
2. Pop open the extracted iscript.bin in ICE.
3. Since we are using the Protoss Probe as our example, click on the Main Headers tab on the top tablist, and find Protoss Probe in the combo box labeled Header.
4. The Protoss Probe is now open for editing... we will want to edit his animation script to change the height at which it animates. On the bottom tablist, hit Animation Scripts to open the script editor.
5. Since we can place height anywhere, click Initial Animation under the combo box labeled Animation.
6. In the black box below the combo box, you should see something to the effect of: <insert picture of default probe initial animation> If this is not seen, turn back now and recheck your steps.
7. Click the New button below the animation editor.
8. Select Opcode Shift graphics position %1 vertical units.
9. Select that opcode, and shift it down. Click the 0 and set it to -20. This will shift it *UP* 20 units. (It works in reverse, negative is up, positive is down.)
10. Save your changes, by hitting File>Save File.
11. Create a a new MPQ called MOD.MPQ or a similar name and save the modified iscript.bin into it, under the scripts\ path. Use MPQDraft to use this modified patch_rt.mpq, build a dragoon in a lang map, and watch it run like... well... a really fast dragoon.
If you have questions, visit us on the forums, in the chat rooms, or e-mail me. This tutorial has been tested with Starcraft: Brood War 1.09b.
What this example/tutorial intends to do is make the Protoss Probe move four times as fast, teaching the subject how frames work, what is possible height-wise in ICE, and how to do most of the animation editing with a little bit of experimentation.
1. Open your favorite MPQ viewer, and extract iscript.bin from a copy of patch_rt.mpq (copied from your Starcraft directory). Do not load the default one from ICE, since it is outdated and will remove replay functionality.
Notes:
* Never use originals when modding. Originals are bad. Make copies, then mod them.
* A method I've used to overcome the fact that Arsenal III files are outdated is by patching the files in Arsenal III's directory manually. Beware, though, that if you fail to do this properly, you may need to reinstall Arsenal III to get it working again.
2. Pop open the extracted iscript.bin in ICE.
3. Since we are using the Protoss Probe as our example, click on the Main Headers tab on the top tablist, and find Protoss Probe in the combo box labeled Header.
4. The Protoss Probe is now open for editing... we will want to edit his animation script to change the height at which it animates. On the bottom tablist, hit Animation Scripts to open the script editor.
5. Since we can place height anywhere, click Initial Animation under the combo box labeled Animation.
6. In the black box below the combo box, you should see something to the effect of: <insert picture of default probe initial animation> If this is not seen, turn back now and recheck your steps.
7. Click the New button below the animation editor.
8. Select Opcode Shift graphics position %1 vertical units.
9. Select that opcode, and shift it down. Click the 0 and set it to -20. This will shift it *UP* 20 units. (It works in reverse, negative is up, positive is down.)
10. Save your changes, by hitting File>Save File.
11. Create a a new MPQ called MOD.MPQ or a similar name and save the modified iscript.bin into it, under the scripts\ path. Use MPQDraft to use this modified patch_rt.mpq, build a dragoon in a lang map, and watch it run like... well... a really fast dragoon.
If you have questions, visit us on the forums, in the chat rooms, or e-mail me. This tutorial has been tested with Starcraft: Brood War 1.09b.