Staredit Network

Staredit Network -> Modding Assistance -> How To Write a Starcraft MOD
Report, edit, etc...Posted by Darktossgen(MM) on 2006-03-17 at 21:06:17
Awesome Tutorial. Seriously, I started with the SCV mod and it crashed tongue.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-22 at 08:41:28
Nice tutorial, I tried the scv thing, it worked. However, why doesn't the scv make a sound when it shoots and why does SC crash when I try to build one?

ADD: I found that when I went back to Arsenal III to try out some other things, the scv changes were still there. Is there any way to restore defaults without manually fixing things?

Also, I made a cloaked marine that shoots corrosive acid (devourer attack) against ground and hellfire missles against air. However, instead of firing hellfire missles, the marine still shot the acid at air units, but with the cooldown rate of the missles. Why does this happen?
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-03-22 at 19:41:17
QUOTE(killer_kow @ Mar 22 2006, 08:41 AM)
Nice tutorial, I tried the scv thing, it worked. However, why doesn't the scv make a sound when it shoots and why does SC crash when I try to build one?

ADD: I found that when I went back to Arsenal III to try out some other things, the scv changes were still there. Is there any way to restore defaults without manually fixing things?

Also, I made a cloaked marine that shoots corrosive acid (devourer attack) against ground and hellfire missles against air. However, instead of firing hellfire missles, the marine still shot the acid at air units, but with the cooldown rate of the missles. Why does this happen?
[right][snapback]450539[/snapback][/right]

1. edit the iscript
2. something you did wrong
3. use DatEdit instead
4. The Goliaths missile is hardcoded so it forces it to use its cooldown for the air attack
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-23 at 14:54:57
Edit the iscript? Sorry, I'm new to this, and I don't know what you're talking about.
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-03-23 at 20:38:10
the iscript (iscript.bin, stands for input script.binary), is the file starcraft uses for instructing the grp (graphic) files how to run and in which order...

it's also used for such things as telling weapons when to damage the target, and when to play the sounds
Report, edit, etc...Posted by DT_Battlekruser on 2006-03-25 at 14:32:38
QUOTE(TERRAINFIGHTER @ Mar 22 2006, 04:40 PM)
1. edit the iscript
2. something you did wrong
3. use DatEdit instead
4. The Goliaths missile is hardcoded so it forces it to use its cooldown for the air attack
[right][snapback]450908[/snapback][/right]


The Marine uses its Ground Weapon to attack air units. Don't ask me why, but I found that out in the days of EUD triggering.
Report, edit, etc...Posted by BroodKiller on 2006-03-25 at 14:36:50
That's because his Gauss Rifle can target both air and ground, and in units.dat he has it set as both the ground and air weapon.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-03-25 at 19:22:58
(Sigh) I'm getting the huge list of unknowns and the link doesn't work. When I press the thing to go to the file itself, it says 404 and when i look on the resource page its not there. Can someone give me a link to it somewhere else?

Note: I can't download attachments of Staredit, so don't bother trying that.

Edit: Nevermind it works now, I can do it.

ADD: Ignore the question, I found a link.
Report, edit, etc...Posted by DeF_ on 2006-04-23 at 05:16:46
QUOTE(DT_Battlekruser @ Mar 25 2006, 10:32 PM)
The Marine uses its Ground Weapon to attack air units.  Don't ask me why, but I found that out in the days of EUD triggering.
[right][snapback]452906[/snapback][/right]

Some time ago i made a marine that shoot special attack on air unit, with iscript... let me find it... angel_not.gif

Addition : Awww no... I remember now, i remember that i was trying to do it mellow.gif
But i don't think it's possible with iscript... umm... i was mad? laugh.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-23 at 09:04:05
I can explain it, I figured it out. In the iscript it says:

CODE
GndAttkInit     MarineGndAttkInit
AirAttkInit     MarineGndAttkInit


So it does the same thing for both ground and air.
It uses the ground attack weapon because

CODE
MarineGndAttkInit:
playfram        0x00 # frame set 0
wait            1
playfram        0x11 # frame set 1
wait            1
playfram        0x22 # frame set 2
MarineGndAttkRpt:
wait            1
nobrkcodestart  
playsnd         69 # Bullet\TMaFir00.wav
[b]attackwith      1[/b]
playfram        0x33 # frame set 3
wait            1
playfram        0x22 # frame set 2
wait            1
playfram        0x33 # frame set 3
wait            1
playfram        0x22 # frame set 2
wait            1
playfram        0x33 # frame set 3
wait            1
playfram        0x22 # frame set 2
wait            1
nobrkcodeend    
gotorepeatattk  
ignorerest


so it uses the first attack (ie the ground attack).

Yay, I'm learning!

ADD: Bold not work in code box?
Report, edit, etc...Posted by BroodKiller on 2006-04-23 at 13:10:14
"It is by practice that one can become a master" smile.gif
Report, edit, etc...Posted by DT_Battlekruser on 2006-04-25 at 20:34:37
QUOTE(killer_kow @ Apr 23 2006, 06:03 AM)
I can explain it, I figured it out. In the iscript it says:

CODE
GndAttkInit     MarineGndAttkInit
AirAttkInit     MarineGndAttkInit


So it does the same thing for both ground and air.
It uses the ground attack weapon because

CODE
MarineGndAttkInit:
playfram        0x00 # frame set 0
wait            1
playfram        0x11 # frame set 1
wait            1
playfram        0x22 # frame set 2
MarineGndAttkRpt:
wait            1
nobrkcodestart  
playsnd         69 # Bullet\TMaFir00.wav
[b]attackwith      1[/b]
playfram        0x33 # frame set 3
wait            1
playfram        0x22 # frame set 2
wait            1
playfram        0x33 # frame set 3
wait            1
playfram        0x22 # frame set 2
wait            1
playfram        0x33 # frame set 3
wait            1
playfram        0x22 # frame set 2
wait            1
nobrkcodeend    
gotorepeatattk  
ignorerest


so it uses the first attack (ie the ground attack).

Yay, I'm learning!

ADD: Bold not work in code box?
[right][snapback]470992[/snapback][/right]


Let me rephrase that: I know techinically why that happens, but I have no idea why they wrote it that way.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-04-28 at 16:04:19
Oh. Well, you didn't explain so I went and figured it out for myself smile.gif
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-16 at 16:21:22
Ok, so you need all of those programs to make one stinkin' mod?? confused.gif Yea, i know it'll make the mod really professional but...that just sounds alot of things to dl pinch.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-05-16 at 16:31:31
Then don't mod. Simple as that.
Report, edit, etc...Posted by DT_Battlekruser on 2006-05-16 at 23:11:34
Every program is not required to make a simple tiny mod, but if you plan to attempt a Total Conversion (TC, where every unit is modified and the like), then yes, you need all those programs and perhaps a few more.
Report, edit, etc...Posted by O)FaRTy1billion on 2006-05-17 at 08:51:45
Every tool does a different thing, such as DatEdit and Arsenal3 edit *.DAT files, RetroGRP allows you to edit unit frames, ICE and IceCC allow you to edit iscript (animation files), and there is much, much more. tongue.gif
The more modding programs you get, the more you can do.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-17 at 18:15:38
Do you know anything about like changing the units like in Versus Nintendo Mod (the picture in my signature)?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-05-17 at 18:36:36
That would probably entitle using DatEdit, RetroGRP, TBLEdit and possibly IceCC.

As well as WinMPQ and MPQDraft to make the MPQ plugin.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-23 at 16:16:50
O...so all of those. thnx

ADDITION:
Where can i find these three modding tools:

WinMPQ

RetroGRP

TblPad

helpsmilie.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-05-23 at 16:42:58
In the DLDB under Files->Modding Tools

Just remember, not all the files fit on one page so you might have to go to the second page in order to find them
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-23 at 19:20:23
kk thank you

O yea and do like all the editors you need to make a good mod have like bad stuff added to it (ex. SCPM 3.0 has porn)??? confused.gif
Report, edit, etc...Posted by Voyager7456(MM) on 2006-05-23 at 20:17:29
Uhhh... no... blink.gif
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-23 at 20:44:22
lol...thats what i thought smile.gif but just checking pinch.gif
Report, edit, etc...Posted by Pyro-Fire on 2006-05-24 at 00:19:37
~~~I don't have enough time to finish this. Keep writing it for me and I will edit it into my post if it is good enough. This should get most eager modders off the ground.~~~

its been 9 pages since this and no changes..
Next Page (7)