Staredit Network > Forums > Modding Assistance > Topic: Need Some help in iScripting or what...
Need Some help in iScripting or what...
Mar 8 2010, 8:22 pm
By: FenixHuN  

Mar 8 2010, 8:22 pm FenixHuN Post #1



Hello, everyone!
I'm a real n00b in this area, because I've never did any serious modding before, and now I need your help!

So, I made some weapon modifications for certain units, (both weapons.dat file and the units.dat file, are ready) and now when I use them in SC, it crashes.
Yes, I've checket DatEdit's FAQ and it says that I need to do some iScripting, Which I don't know what is. I've checked countless tutorials, but I just don't understand anything of it. (and another thing is making costum names and ranks for these units, but I think its mentioned in the tutorial I saw)

EDIT: Forgot to say: I made weapon modifications in SC before, and it didnt crash, now I don't know why it does :wtfage:

BTW, I'm using PyICE

Now, I'd be really happy if someone would help me do it, or just do it for me. (In this case I'll upload the file as an attachment)
(Modding SC is definately harder than Zero Hour :S)

Thank you, for your help!

Post has been edited 2 time(s), last time on Mar 8 2010, 8:34 pm by FenixHuN.



None.

Mar 8 2010, 8:29 pm Corbo Post #2

ALL PRAISE YOUR SUPREME LORD CORBO

To change the unit names and ranks you'll have to edit stat_txt.tbl. You can use TBLPad for that, extract the stat_txt.tbl from patch_rt.mpq and make sure its locale ID is 0 so you extract the english version and not another language.

As to the iscript problem, unless you provide more info on what weapons were you trying to change and such we can't really help you. The more info you provide is always the best.



fuck you all

Mar 8 2010, 8:42 pm FenixHuN Post #3



Ok, so here are the changes:

Gui Montag (Firebat):
Changed Weapons to twin autocannons (Both AA and AG) and increased Damage
Tom Kazansky (Wraith):
Changed weps to: Gemini Missiles as primary (Both AA and AG, with some explosion radius and siege tank's shock cannon effect)
and Lockdown missile as secondary, with some damage and a long reload time
Edmund Duke (Tank version): Increased Damage, and maybe some explosion effect I think
Duke siege version: long range, nuke effect, damage and radius, and a loooong reload time
Alan Schezar (Goliath): Same weapons as before, but increased damage, and the autocannon's damage increased, and I think hellfire fires to ground too)

EDIT: Duke's main gun is okay, checked it, but the siege mode is strange, instead of the nuke explosion, it spawns missiles where it shoots :D

I think thats all. I also changed raynor's gun but it doesnt crash when I tried him in a mission.

(BTW, thanks for the text info)

Post has been edited 1 time(s), last time on Mar 8 2010, 9:08 pm by FenixHuN.



None.

Mar 9 2010, 3:29 am EzDay281 Post #4



Quote
iScripting, Which I don't know what is.
Animation scripts. They tell Starcraft which frames of its various images to use when, when to spawn graphics, when an attack should do damage, etc.
Quote
Gui Montag (Firebat):
Changed Weapons to twin autocannons (Both AA and AG) and increased Damage
You need to give it an air attack animation (simply give it the same as its ground attack animation).
The Firebat's animation places a sprite overlay (or was it image?) and has three attack opcodes. Remove the overlay, remove the three attacks, replace them with the attack opcode that the Marine uses. (I don't know what they're called in PyIce, as I've never used it).
Quote
Duke's main gun is okay, checked it, but the siege mode is strange, instead of the nuke explosion, it spawns missiles where it shoots :D
A nuke is a unit, not a weapon - thus, the explosion when it hits is from the nuke dieing. Weapons don't have death animations.
Open the nuke's iscript, go to its death animation, find the sprite or image overlay, copy the overlay opcode.
Give Duke a weapon sprite you're not using for anything else (anything that uses this sprite will now get nukes). Go to its iscript, find its dodamage opcode, and paste the overlay next to it.

If you're not sure what I'm talking about, then either post your mod here, or, ideally, if you have any instant messaging programs, try contacting me there.



None.

Mar 10 2010, 1:37 pm FenixHuN Post #5



Thank You for your help!

Duke's main gun is done, thanks for the tip! :D

About the firebat, well, it attacks air, but apart from using the autocannon, he still shoots the flames too. I guess its part of the animation.

And 2 final questions: (I wont bother you guys anymore :P) If I change a units apperance or GRP or what, do I need to change any of its settings? (I meant iscript or animation or whatever) Because I saw some nice GRP's here and I might change the wraith's or (if possible) only Kazansky's appearance.
and the 2nd is unit portraits. Where can I find them, and what format can I use, if I want to change them?

Thank you guys very much for your help!

Post has been edited 1 time(s), last time on Mar 10 2010, 2:01 pm by FenixHuN.



None.

Mar 11 2010, 2:21 am O)FaRTy1billion[MM] Post #6

👻 👾 👽 💪

If you change a GRP you must compare the GRP you are replacing with the one you are adding. If they have the same frame setup, then you don't need to change anything. If the new one has fewer frames you should change the iscript. If it has more, then the iscript may still work, but you should look into it further.

Portraits are .smk (smacker) files. In the MPQ they are in the portrait\* directory.
If you want to edit/create portraits, you'll need smacker tools. If it's not in the DLDB, it's the first result in google (RAD Game Tools).



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 11 2010, 4:14 am EzDay281 Post #7



Quote
he still shoots the flames too. I guess its part of the animation.
read
Quote
The Firebat's animation places a sprite overlay (or was it image?) and has three attack opcodes. Remove the overlay,
:P
Quote
And 2 final questions: (I wont bother you guys anymore :P )
We're here to help.
Quote
(I meant iscript or animation
As stated in my post, iscript is animation.
Quote
(if possible) only Kazansky's appearance.
It's possible - go into Kazansky's graphics data in units.dat, and point its flingy at something not used by anything else.
Then go that flingy and make it identical to the Wraith's flingy, except to have it point towards a different sprite. etc.
On Images.dat, you need to have Kazansky point at your new grp.



None.

Mar 11 2010, 2:13 pm FenixHuN Post #8



Quote
read
Yeah, sometimes I lose the ability to do so :D, I was in a hurry, I wanted to get through this terror named iscripting as fast as possible :D

Quote
We're here to help.
Wow, you guys are much more tolerant than I saw on other forums... I got used to "being shouted at" while I was modding Generals Zero Hour for as many questions as I did here. :P

Once again, thanks to all of you guys for the help, you made me understand the basics of Starcraft modding, so I hope that one day I'll become an experienced modderguy :D

You guys rule!!!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: anoeth47