PDA

View Full Version : Simple Mod for Starcraft - Help?


orcfan32
09-03-2005, 11:04 AM
First of all, I'd like to say that I'm new here, so hello!

Anyways, I'm just getting into modding for Starcraft and I wanted to make a MPQ that would change the probe to have a siege cannon and halo rockets. So I used Arsenal 3 to do the changes, saved it as the units.dat file, put it in a arr folder, put that in a patch folder, put that into an mpq file, and ran it through MPQ Draft to make it an executable, but nothing happened! What am I doing wrong?

Aqo
09-03-2005, 1:57 PM
I can assume something in your compacting progress is wrong since something SHOULD happen, but that something isn't going to be what you want so I'll first explain how to correctly do what you want.

Ok than, first thing you should know is that any units has its scripts that tell it to do things when an action is performed; now, a probe does not have any Air Attack scripts so adding Halo Rockets to it will cause the game to crash as soon as you'll order it to attack air.
In order to make scripts, you'll have to use ICE or IceCC. Personally, I'd suggest ICE for small changes and IceCC for major changes, so in this case you'd better use ICE.
Open ICE (download it if you still don't have it) and press Ctrl+D (or File > Load Default), than search for the 'Protoss Probe' inside the optionbox entitled "Header:".
Select it, than switch the bottom tab from 'Header Info' to 'Animation Scripts'.
In the optionbox entitled "Animations", select 'Initial Ground Attack Animation'; highlight all four script lines and press 'Copy'.
Select 'Initial Air Attack Animation', and press 'Paste' twice, at the first time you should see the offset script appears and than the rest of the script.
Select 'Repeat Air Attack Animation', and press 'Paste' twice, just like before; Don't bother copying the scripts from 'Repeat Ground Attack Animation', they're the same.
Now, select 'Return to Idle from Ground Attack', copy what's there and paste it to 'Return to Idle from Air Attack'.
Inside your mod folder, create a folder named 'scripts' (don't use a capital letter), than go back to ICE and save what you just did inside that folder as 'iscript.bin'. Note that you'll have to write the ".bin" yourself, the program does not add it by itself.

Ok, now to your compacting problem, don't use a patch MPQ for Arsenal 3 (or ICE) changes, you'll only need it for memgraft changes. Instead, drag your mod folder on the 'MPQ Compactor' (download it if you don't have it) what will cause an *.mpq named as your mod folder to appear. When you run MPQ Draft, choose that one *.mpq to compact.

Good luck!

And don't forget to drag the mod folder over MPQ Compactor every time you make changes in the mod!



P.S. Welcome to Warboards!