Staredit Network

Staredit Network -> Modding Assistance -> Changing Spells IceCC and Memgraft.
Report, edit, etc...Posted by Forsaken on 2005-06-21 at 16:43:59
Well, what I want to do is, change the spells anmations. Let's say I want a high templar to be able to cast 6 spells. But, I don't want just Psi Storm. I want to know if I am able to use Psi Storm with feedback and plague or something of tha sort.

I know how to add the buttons with Memgraft I just need to know if I can do it in IceCC. (Or if it is even possible).

If you are confused, tell me, and I'll elaborate some more.
Report, edit, etc...Posted by DT_Battlekruser on 2005-06-21 at 16:45:03
I'm definently confused.
Report, edit, etc...Posted by Forsaken on 2005-06-21 at 16:49:40
lol... Well, sorry bout that.


What I want to do is combine spells. As in, if you use Psi Storm (Via-Casting it with the button), you attack with Psi storm as well as FeedBack. I just don't know how to edit the spells in the iscript.

Understand?


(I am wired on 2 Monster Energy Drinks so my mind is moving much faster than my fingers)
Report, edit, etc...Posted by Voyager7456(MM) on 2005-06-21 at 17:10:53
I'm not sure how you could get it to combine two spells... maybe with the "useweapon" command, but I'm not sure...

Psionic storm is considered a weapon, so in the templar's spell casting animation, you could put a line saying "useweapon [weaponid]" and see if that works.

I'll go test that, and I'll come back and tell you how it goes.

ADDITION:
OK, I got it to work... sort of. The problem is, in my method, the Templar will ALWAYS cast an additional spell, no matter what it casts.

Here's what I mean. I gave the Defiler a command to cast Psi Storm during it's spellcasting animation. The problem with this is of course, whether it casts Plauge, Consume or Dark Swarm, it will ALWAYS cast Psi Storm as well. There may be a way around it, by giving it a command that only casts Psi Storm if the target is not at a certain range.

If you want to do it this way, go ahead. I'm sure one of those scripting wizards (Bob, BST, SD, etc.) will come up with a better way.

Open up Arsenal III's weapon editor, find the spell (all spells are under Other Weapons). Copy down the weapon ID number (bottom right). Then, use IceCC and open up the unit in question's script.

In the spell casting animation, add this command:

useweapon x (where x = the weaponID number.)

Sorry I couldn't come up with a better way. disgust.gif
Report, edit, etc...Posted by Forsaken on 2005-06-21 at 18:55:50
Well. I understand what you wanted to do. I tried it but it wasn't what I was looking for. Thanks for trying? I need Stealthy or Rhino now... cry.gif
Report, edit, etc...Posted by StealthyDeath on 2005-06-21 at 18:58:44
What Voyager7456(MM) has suggested will probably be your best bet. You can also randomize what comes after the buttons spell as another suggestion.

What you mainly want is impossbile unless through programming.
Report, edit, etc...Posted by scwizard on 2005-06-21 at 21:29:28
I would post here, but I'd just be regurgitating voyager's genius.
Next Page (1)