PDA

View Full Version : Help With My Mod Please


Mazeura
03-01-2006, 2:15 PM
Hey,I got a question about my mod that I'm finishing up.Can anybody provide me with a rather detailed description of how to make a unit use a weapon upon death?
I'm trying to make a Sieged tank use a powerful explosion when it dies,all terran players hate it when 'lings get up on the tank and kill it.

Holocaust
03-01-2006, 3:06 PM
Simple,
You'll need Ice or IceCC for this
Just add the useweapon code into the Tank's death explosion
But the unit has to be targeting something if it's to use a weapon when it dies

That's as detailed as I can get, as doing what you're asking is rather simple, yet doesn't always work

StarModder
03-02-2006, 1:45 AM
Simple,
You'll need Ice or IceCC for this
Just add the useweapon code into the Tank's death explosion
But the unit has to be targeting something if it's to use a weapon when it dies

That's as detailed as I can get, as doing what you're asking is rather simple, yet doesn't always work

No it doesnt, you can set the weapon as a ability with slash damage, *cough* PSI Storm *cough* therefore it would need no target, and this would be much easyier to do that having a weapon at death

__________________________________________________ _______________

However, here is a step by step on how to do this whith ICE, the important things sre surrounded by the leafs in the pictures.

First load ICE and click on file and then click on Load Deafault, which will load the Default unit profiles.

http://img224.imageshack.us/img224/118/12yu.jpg

Then select the unit you want from the drop down menu, i selected the dragoon just for the hell of it.

http://img114.imageshack.us/img114/1363/26ly.jpg

Then click on the animations script tab and select Death anuimation from the list.

http://img74.imageshack.us/img74/8456/36bh.jpg

then when it loads click New and it will bring up a window that is labeled new opcode, here you will find the Use weapon command, select it and click ok

http://img79.imageshack.us/img79/2834/44wv.jpg

then a weapon will be added to the Death script, but there is one more thing, the number at the end of the script, will need to be channged to whatever weapon you want it to be useing the ID number, which appears at the end of the code you added, and if you dont know what the ID is you can find it in the bottom right corner of the selected weapon in arsenal 3.

http://img138.imageshack.us/img138/2488/59gv.jpg

This should help you in your goal, i ussually dont do this kinda stuff for people so Enjoy!! lol.

Mazeura
03-04-2006, 11:32 AM
Well,thanks.That should get it to work now.

King_Critter
03-04-2006, 9:41 PM
ah HA! so that's what I was doing wrong! I had been trying to put "attack25 2" at the end of the zelot's death to make it release it's air attack. Now that I think about it though, I can see why that wouldn't work.

StarModder
03-04-2006, 10:03 PM
lol wow i didnt think this would help a person other than who it was intended for, lol your both welcome for the help

Confuzed_Person
03-05-2006, 10:44 AM
well i guess it helped a lot more ppl (me:D)

mongoose41
03-05-2006, 2:59 PM
lol wow i didnt think this would help a person other than who it was intended for, lol your both welcome for the helpIt helped me with an even more annoying Infested Terran... If you know what I mean.

dark.slayer
03-05-2006, 3:21 PM
ya it helped me lots!!

actually it didnt but it sure is interesting!!

StarModder
03-07-2006, 1:47 AM
Lol wow that makes me feel good, lol.