Help With Iscript

Post Reply
WedgeAntilles

Help With Iscript

Post by WedgeAntilles »

I am making a mod using Firegraft that gives the ghost some protoss special abilities: Psi Storm, Maelstrom and Mind Control. Whenever I run the mod, if I click on the ghost, after a few seconds an error will come up, and I will have to exit. I believe this problem is because I didn't iscript anything, but I have no idea how to do that. Can anybody give me some help?
User avatar
Hercanic
Protoss Stargate Concierge
Protoss Stargate Concierge
Posts: 1289
Joined: Sat Aug 19, 2006 12:11 am
Contact:

Re: Help With Iscript

Post by Hercanic »

Well, I'd have to take a look at the Ghost's script just to double-check, but the Ghost should have a standard casting animation already, due to having Lockdown. My first guess would be something is wrong in FireGraft.

1. What version of FG are you using?
2. What version of SC are you running?
3. Where are the buttons on the Ghost positioned? In what way did you make room for those three additional spells?
4. How did you give the Ghost those buttons? Did you set the parameters manually or copy/paste them from their source units?
5. Are the Tech Use requirements set to properly include the Ghost?
6. Have you made any other alterations?
WedgeAntilles

Re: Help With Iscript

Post by WedgeAntilles »

1. I am using version 1.15a of Firegraft.
2. Since version 1.16 of StarCraft does not work with the version of Firegraft I have, I have a downgrader that I use to downgrade to 1.151.
3. In "Ghost Heroes", I replaced the lockdown button with Mind Control, put Maelstrom in the lower right, and Psi Storm in the middle right.
4. I set the parameters manually, referring to the Dark Archon and High Templar when needed. The paremeters for each button are exactly the same as the parameters for their normal units.
5.I added an "Or"  opcode, "Current Unit is..." opcode, and "Alexi Stukov (Ghost)" parameter, in that order, to "Mind Control", "Maelstrom", and "Psionic Storm". I also removed the previously named opcodes and parameter from the "Lockdown".
6. I made some .exe edits in "Larva Spawn". I am also using DatEdit and Tblpad, which I have, among other modifications, used to change the stats and name of Alexi Stukov (Ghost). In the actual map I am using the mod for, I made the 3 spells researched by default for all players.


After I posted this, I was looking over my mod in Firegraft and noticed that "Mind Control" in the Orders tab was not set with Alexi Stukov (Ghost), so I added him. I tried running the mod again, but it still crashed (though it did seem to take longer to do so).
Last edited by WedgeAntilles on Thu Jan 15, 2009 8:01 am, edited 1 time in total.
User avatar
Hercanic
Protoss Stargate Concierge
Protoss Stargate Concierge
Posts: 1289
Joined: Sat Aug 19, 2006 12:11 am
Contact:

Re: Help With Iscript

Post by Hercanic »

Alexi Stukov? Are you giving these spells to the hero or the regular Ghost unit?
User avatar
Hercanic
Protoss Stargate Concierge
Protoss Stargate Concierge
Posts: 1289
Joined: Sat Aug 19, 2006 12:11 am
Contact:

Re: Help With Iscript

Post by Hercanic »

I made a mod with the changes to the ghost you mentioned without incident.

http://stf.campaigncreations.org/Downlo ... stom03.rar

I only used FireGraft. You can use FG to open the file and take a look.

In-game, research the new spells at a Covert Ops add-on. Requires Brood War 1.15.1.
WedgeAntilles

Re: Help With Iscript

Post by WedgeAntilles »

Yes, I was modding the ghost heroes button set, not the ghost button set.
I redid my mod (the Firegraft part), and put in a new button set for Alexi Stukov (Ghost) instead of using the ghost heroes button set. I also added Alexi Stukov (Ghost) to the 'use tech' for its new abilities, created a new button set for the covert ops, and changed the 'research tech' accordingly. When I tested the mod, it worked perfectly.

Note: I also used the same DatEdit and TBlpad mods I had used in the old mod.
Post Reply