Staredit Network > Forums > Modding Assistance > Topic: Me being a noob needs help.
Me being a noob needs help.
Nov 23 2011, 6:06 pm
By: SCRuler  

Nov 23 2011, 6:06 pm SCRuler Post #1



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.

Nov 23 2011, 6:34 pm Raitaki Post #2



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.

Nov 23 2011, 6:44 pm SCRuler Post #3



Thanks man. How do I give the animations? I'm not entirely up on that.



None.

Nov 23 2011, 7:09 pm Raitaki Post #4



Quote from SCRuler
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.

Nov 23 2011, 9:01 pm SCRuler Post #5



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.

Nov 24 2011, 12:24 am Sand Wraith Post #6

she/her

Just look at another unit's attack scripts and use that as a template. A really simple template is the Mutalisk's attack animation.




Nov 24 2011, 12:33 am xAngelSpiritx Post #7

eternal lurker

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:
Code
MedicGndAttkInit:
  wait         1
  playfram   0x00
  wait         1
  attack
  gotorepeatattk
  goto        MedicGndAttkToIdle

And in the header, you'd have something like this:
Code
GndAttkInit           MedicGndAttkInit
AirAttkInit             MedicGndAttkInit


Alternatively, you can do what Raitaki said and use the medic's Heal animation as its attack.



None.

Nov 24 2011, 12:49 am Sand Wraith Post #8

she/her

Quote from xAngelSpiritx
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:
Code
MedicGndAttkInit:
  wait         1
  playfram   0x00
  wait         1
  attack
  gotorepeatattk
  goto        MedicGndAttkToIdle

And in the header, you'd have something like this:
Code
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. ;/




Nov 24 2011, 11:05 pm SCRuler Post #9



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.

Nov 25 2011, 2:20 am Sand Wraith Post #10

she/her

uhhhh..... what?

http://sfsrealm.hopto.org/downloads/IceCC.html

You'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 .




Nov 25 2011, 2:43 am SCRuler Post #11



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.

Nov 25 2011, 6:34 am Symmetry Post #12

Dungeon Master

Quote from SCRuler
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.



:voy: :jaff: :voy: :jaff:

Nov 25 2011, 7:16 pm SCRuler Post #13



Quote from Symmetry
Quote from SCRuler
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.

Nov 25 2011, 8:15 pm Pr0nogo Post #14



That's what you're looking for. Replace it with the .mpq that has your iscript.bin file.




Nov 26 2011, 5:39 pm SCRuler Post #15



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.

Nov 27 2011, 12:48 am Sand Wraith Post #16

she/her

Doesn't FG ask something along the lines of whether you want to replace the MPQ inside the EXE?




Nov 27 2011, 8:14 pm Biophysicist Post #17



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.

Nov 28 2011, 2:33 am SCRuler Post #18



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.

Nov 28 2011, 3:36 am SCRuler Post #19



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.

Nov 28 2011, 5:14 pm xAngelSpiritx Post #20

eternal lurker

Quote from SCRuler
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.
Try looking around here.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: Roy, jun3hong