Hey, I'm new at the modding scene and I just discovered that Firegraft is actually friggin' working. But there are a few problems i have.
1) I changed two hero units: I changed Gui Montag into a medic hero and Tom Kazansky into a Valkyrie Hero. I was delighted to see that the unit appearance, portrait, and weapons setup changed appropriately. however, when I set the medic hero to attack something (she didn't have any special abilities other than Gui Montag's Stimpack) the game crashed. I didn't try attacking anything with the Valkyrie hero yet, and I've given her a ground attack as well as shields. I'm afraid that it might crash again. Am I doing something wrong here or what? How do I fix this?
2) My second problem is I don't know what to do to apply firegraft button changes. I want to add medic abilities and change the Valkyrie hero's button setup to basic, as well as give the Ion Cannon the ability to attack as well as be built. How do I do this?
Thanks in advance.
None.
1) You need to give the heroes new animations for their new attacks (you can use medic's heal animation for her attack, and valk's air attack for her ground attack) as well as edit their iscripts to have them work properly I think.
2)
http://www.stormcoast-fortress.net/cntt/tutorials/camsys/colossus/ A tutorial where a guy shows you how to make a collosus with spells. It has instructions on stuff such as modifying iscript to allow attacks, allowing a unit/building to build the collosus, and editing the buttons.
None.
Thanks man. How do I give the animations? I'm not entirely up on that.
None.
Thanks man. How do I give the animations? I'm not entirely up on that.
Either you use WinMPQ to import GRP images of new animations into the mod then edit the iscript to redirect the animations to those, or you can tell the iscript to use the same animations as the heal ability.
Sry I can't demonstrate exactly how to do so. None of my SC tools is on this comp
None.
Ok I found a tutorial that gives details on how to edit the iscript but All I managed to do was change the stuff for the Dropship. And even then the Dropship won't attack. And I still dont know how to edit the stuff for the Medic properly because it keeps crashing.
None.
Just look at another unit's attack scripts and use that as a template. A really simple template is the Mutalisk's attack animation.
Simply put, the reason it's crashing is because you're telling the medic to run an animation (attack animation) that it doesn't have. You need to give it that animation. Use IceCC, and compare the iscript's headers to those of a regular attacking unit. Add in the missing headers, but be sure to also add in the code for those headers. I'm quite busy right now, so I haven't the time the write up a detailed description or a full iscript right now.
However, a very simple attack animation would go like this:
MedicGndAttkInit:
wait 1
playfram 0x00
wait 1
attack
gotorepeatattk
goto MedicGndAttkToIdle
And in the header, you'd have something like this:
GndAttkInit MedicGndAttkInit
AirAttkInit MedicGndAttkInit
Alternatively, you can do what Raitaki said and use the medic's Heal animation as its attack.
None.
Simply put, the reason it's crashing is because you're telling the medic to run an animation (attack animation) that it doesn't have. You need to give it that animation. Use IceCC, and compare the iscript's headers to those of a regular attacking unit. Add in the missing headers, but be sure to also add in the code for those headers. I'm quite busy right now, so I haven't the time the write up a detailed description or a full iscript right now.
However, a very simple attack animation would go like this:
MedicGndAttkInit:
wait 1
playfram 0x00
wait 1
attack
gotorepeatattk
goto MedicGndAttkToIdle
And in the header, you'd have something like this:
GndAttkInit MedicGndAttkInit
AirAttkInit MedicGndAttkInit
Alternatively, you can do what Raitaki said and use the medic's Heal animation as its attack.
To expand upon the last part:
He means to use the frames that show the Medic's castspell animation except with an attachwith 1 opcode instead of castspell opcode.
I'd give code, but my HDD is busted. ;/
Holy crap guys, thanks!
now to implement it... Going to be a trying event.
Post Attempt update: Well, I tried using a walkthrough on how to merge the files...
It says to use the command prompt to merge the .bin with the .txt. I tried it and it said that it couldnt create it because it would be bigger than the allowed size for an iscript. Any suggestions?
Post has been edited 1 time(s), last time on Nov 24 2011, 11:33 pm by SCRuler.
None.
uhhhh..... what?
http://sfsrealm.hopto.org/downloads/IceCC.htmlYou're using IceCC 1.3 right?
Command prompt? I really don't know what you're trying to do.
Just use IceCC with its nice Java UI.
That, or use PyIscript, which is part of the PyMS suite. Get that at www.broodwarai.com .
I have IceCC 1.3. Are you only supposed to press Compile and it's all done and useable if nothing pops up?
And I still have no clue how I'm supposed to add the stuff I do in Firegraft to it.
None.
I have IceCC 1.3. Are you only supposed to press Compile and it's all done and useable if nothing pops up?
And I still have no clue how I'm supposed to add the stuff I do in Firegraft to it.
In theory yes.
If I remember correctly in FG you'll want to hit the save or publish button (goddamn it's been too long) and when it asks if you want to add an archive, select the MPQ with your iscript in it.
I have IceCC 1.3. Are you only supposed to press Compile and it's all done and useable if nothing pops up?
And I still have no clue how I'm supposed to add the stuff I do in Firegraft to it.
In theory yes.
If I remember correctly in FG you'll want to hit the save or publish button (goddamn it's been too long) and when it asks if you want to add an archive, select the MPQ with your iscript in it.
When I click save, It asks if I want to replace the MPQ of my mod. should I?
None.
That's what you're looking for. Replace it with the .mpq that has your iscript.bin file.
That doesn't clarify. It asks if I want to replace the MPQ with the save file for the buttons. Not to mention I have to reinstall Starcraft because it's fucked up or something.
None.
Doesn't FG ask something along the lines of whether you want to replace the MPQ inside the EXE?
Yes. When you save, it asks you if you want to replace the MPQ; doing so will erase all non-FG files from the mod and add the files from the other MPQ to it.
None.
Ah ok. Thanks Bio. Time to try that. I hope the iscript is in there too.
Also, a sidenote, could someone point me to a good rifle animation for an infested terran? I want to make infested raynor, one that doesn't suicide.
Post has been edited 1 time(s), last time on Nov 28 2011, 3:21 am by SCRuler.
None.
Ok, I just tried it. Didn't do a damn thing. Although I figured out how to put the iscript in, now my medic hero can fire grenades!
None.