Staredit Network

Staredit Network -> Modding Assistance -> How To Write a Starcraft MOD
Report, edit, etc...Posted by Pie_Sniper on 2006-05-24 at 10:33:04
Actually, there have been major changes made to it since it was first posted. There "Ultimate Eye" part wasn't there originally. Notice the post date and the last edit span an entire year.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-24 at 21:27:06
Which MPQDraft should i get? There's like 3...

ADDITION:
Also, do your need the other think that goes with starGraft?

ADDITION:
OMg wtf I did X-Mas Mod, and Ultimate Eye-First Steps with stargraft and memgraft and they DONT WORK! helpsmilie.gif mad.gif
Report, edit, etc...Posted by Ojan on 2006-05-25 at 06:07:22
OMG!!111


If you use the latest patch (1.13f), it won't work. The latest patch that MemGraft supports is 1.13e. StarGraft supports 1.07 or 1.08. You'll have to downgrade your StarCraft version. A version changer can be found here

As for MPQDraft, get the latest version. I don't remember which one that is, but there are no major differences between them, so any would do, really.

You'll have to be more specific about what other think you need with StarGraft. Is it MemGraft that you're referring to?
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-25 at 07:17:17
I used 1.13e MemGraft...So i have to download the sc all version patch now??
Report, edit, etc...Posted by DT_Battlekruser on 2006-05-25 at 10:35:43
Yes; for MEMGraft mods to work, you need a compatible version of Stacraft, in this case 1.13e.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-05-25 at 14:46:08
Memgraft cant load its own save files, so use stargraft for the work, then upload the .pat file using memgraft.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-27 at 17:59:40
Can you go to regular Bw you bought if you use a patch from the All patcher version still???

ADDITION:
Dude...WTF it says couldn't find application version ranting.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-05-28 at 12:41:50
You have to upgrade to the current version to play on regular B.Net gateways.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-05-29 at 11:37:34
nvm i got scdowngrader 2.0 BETA happy.gif

ADDITION:
I'm wondering what IceCC is used for. So confusing...I have it and doesnt know what its used for crazy.gif
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-05-29 at 15:44:51
It's used to edit the iscript. I'm confused by it too tongue.gif
Report, edit, etc...Posted by nirvanajung on 2006-06-28 at 02:53:43
ok~! New latest FAQ of StarCraft modding is here
this FAQ written according to subjects for purpose.
i wish it would be pinned smoke.gif

StarCraft Modding FAQ for idiots and beginners

Main FAQ

Q : Wat is MOD ?
A :-it is Modification game data files so u can make difference game play and graphics and almost stuffs
for Starcraft, changing the Starcraft base data files StarDat and BrooDat.mpq and patch_rt.mpq
to change almost any aspect of the game.


wat tools need to build my MOD for StarCraft ?
- there are many tools for StarCraft Modding and they are classified according to purpose

Note : all tools u can down from Download DataBase of this site so please don't ask to hre where tools is gottcha? aight i belive u

1.First off u need StarCraft datafiles control programs to manage data files


WinMPQ (most used program for MPQ achive, u need to install VB4 runtime n runpack to running)
MPQ-Master ( other program it's pretty good, u don't have to any third files for this it's just run without anyother files)
download link page
http://www.soarchin.com/main.php?lang=en&downid=37&devid=12

Q : I want edit units properties and weapons behavior and damages and many other stuffs as one pleases

A : - u can change StarCraft unit and weapons and many stuffs's properties
by *.dat file editings
the data files which hold default unit properties
upgrade properties, weapon properties, and more "control" information.
All of these files can be edited with these tools


1. Datedit 1.0 (latest New tools for editing Dat file
it's give many easy way funtions to u such as funtions of tracking properties)

2. Arsenal Zero (it's Not for beginners, but its simplicity also allows it to be bug free
it will convert any dat file into a more easily editable text file
if u good in Text code editing then i would be better than GUI

3. Arsenal 3 (old tools)

Q : I want edit unit graphics and many other images wat should i do for that ?
A : -u can edit or creat SC grphics anythings as u pleases by decompiling GRP and recompiling
first off, u need to get grp file by extract from MPQ file or custom GRP
and decompile grp to serveral BMP files and redraw,repaint or just creat wholly new from blank
and recompile to grp and put that edited grp into MPQ , that's basic way to change SC-graphics


RetroGRP - it's allows u to edit Starcraft graphics file so simple just get tutorial then u should make it
bug : RetroGRP sometimes would might dump out by incorrect format handling
so it's not unsuitable for compile from great numbers of frames

GRP-editor in StarDraft SE(old tools) - it's old GRP editor
it's most stable among realsed tools for GRP editing
but i might be complicated procedure cuzz that's included in StarDraft SE
StarDraft SE old tools it's use different file Archive and GRP-editor can running with only StarDraft SE
so it's have to do more procedure than RetroGRP
however.... use this or not... The choice rests just with you

Q : I want new animations effect and new attack effect and manyother effect and animations
related to Actions of unit and weapons

A : - Basically all animations and graphics display order controled by iscript.bin file
so u have to edit iscript.bin file if u want change animations and effects to ur own units,buildings and weapons

there are 2 tools for editing Iscript.bin currently


ICE - A Starcraft Iscript.bin editor,
This program hows you to edit how Starcraft treats the various graphic files throughout the game.
Advanced users can use this knowledge to change the speed of units,
allow building graphics to be used for units and vice versa.
Advised for usage only by those with experience with the other more common SC editors (Arsenal, StarDraft, etc.).
The edited .bin files must be moved into a "script" folder either in a MPQ file.

IceCC - A Starcraft Iscript.bin editor by DI.
Like ICE, but toned down a bit for percision and correctness and a more powerful text interface.
Basically it's not GUI program and it's not allow save the file in mid of workflow
u have to get texts of source codes and edit that text codes and compile to iscript.bin,
that's basic use way for editing

Q : I want change displayed text of unit name and many other text strings
A : - StarCraft all text strings displayed by TBL file so u can edit text of SC by TBL editor

TBL editor - This program edits TBL (text) files from the MPQ.
There is already exist one included in the Stardraft-SE
but if you can an external one, here you go. I also think this one is a little more user friendly in some cases.
and You might have to extract the tbl from any mpq

Q : I want change Command such as New command sets, Tech Tree manipulation, New buildable units,More and more as i pleases
A : - there are 2 tools for changing Command buttons

StarGraft -it's EXE Command Editor. it allow you Edit commands, New command sets,
Tech Tree manipulation, New buildable units, More and more
but it's compatible with only Starcraft version 1.07a and is backwards-compatible
u should use Memgraft if u want make mod for Starcraft version 1.08a and above

MemGraft - it's new EXE Command Editor for latest SC version
in Memgraft version there are many version to make each versions
so u need to pick collect version to play Mod with ur wanted SC version number
it's allows you to import StarGraft files into MemGraft Also creating excute mod file either

Q : i figured out all those stuffs but how i make excute mod file ?
A : - u need MPQdraft to build excute mod file or run with ur modified MPQ file

MPQDraft -The successor to StarDraft in the modding world.
This turns your MPQs created and allows you to create a patch and excute mod file
that should work under every version of StarCraft and Windows
but u don't have to use this if u work with Memgraft for chaning buttons of Command

Q : I haven't figured out about StarCraft each data files format wat they work to do ?
A : - visit here then u'll figure out a little
http://www.campaigncreations.org/starcraft...t/faq_mpq.shtml



Q : How Can I make new units and heros?
A : - Yes. Use StarGraft or MemGraft this page would be many help to referring
just change target unit of tutorial to heros unit

http://www.smempire.org/tutorials/trainablecivilians.php

more add stuffs in workflow
http://www.staredit.net/index.php?showtopic=30824

Q : How Can I make buildings produce different units then they normally do?
A: - same right above anwer

Q : How Can I add/remove buttons to a unit?
A: - same above

Q : How do I edit unit names? What about weapon or spell names?
A : - All these things are located in the rez\stat_txt.tbl file which you must export from the mpq
Import it into your cwad and then double click on it to open up TBL Edit.
You can then look through the list to find the text you want to edit and change it


FAQ of Graphics and images Stuffs

Q : I want replace the serveral splash screens
A : - Simply use ur favorit MPQ contorl program and extract pcx files.
Now, simply find the splash screen you want to replace and put a pcx file (paint picture)
in your MPQ with the same path and file name


Q : my edited SC image colors looks weird in game why they are showed colors not collect ?
A : - becuzz they are not match to collect palette for colors
Starcraft use index 256 colors (8bit bitmap) and color table(called pallete) is a fixed color so u should use only fixed color pallete
if u paint with different color pallete, image will be looks weird
because that image didnt use right colors
visit here then u would figure out wat problem is

http://www.staredit.net/index.php?showtopic=27808

Q : How StarCraft displays Graphics ?
A : - visit here it would help to figure out a little
http://www.staredit.net/index.php?showtopi...ndpost&p=480053



Q : when i load cmdicons.grp in RetroGRP and image editor they are looks weird colors ?

A : - u need to import cmdicons pallete
extract RetroGRP zip file then u will see "cmdicon.pal" file
just use that with any Graphic Applications and RetroGRP


Q : what is the pallete used for? wireframes or GRP editing?
A : - to display StarCraft images source file in image editor and creat custom SC image for unit and other else

Q : i'd looking for StarCraft palette for my custom image where they r ?
A : -just take look this
http://www.staredit.net/index.php?showtopi...ndpost&p=473709

Q : how can i import or convert pal file into Photoshop and Paintshop or some image editor such as GIMP?
A : - just visit here
http://www.staredit.net/index.php?showtopi...ndpost&p=446575

Q: i'd like make my custom StarCraft Graphics by drawing and painting what i need for that ?
A : - this is best selection combo for editing and creating GRP
it is sure method in my experience


compile/Decompile ->GRP editor of StarDraft SE / Retro GRP

2d sprite editor
(it is not important what u would use that all tool is no problem to use just pick what u like thing )
--------------------
PhotoShop
Paintshop <- these tools are help u to use advance function and raise the efficiency of work

GIMPS <- it is compare favorably with Photoshop /paintshop and Totally Free
that is best good thing for user of Free stuff

Cosmigo's Promotion <- it is pretty cool tool to professional 2d graphics and animations
Atucally many pro desingers had been used this many times

3d modelling /rendering
-------------------------------
3dsmax
Maya <- you know what?... these software are professional and spend money pretty much

open source and free 3d tools
-------------------------------------
Gmax <- it is totally samething like 3dsmax and that's Freeware too

gmax allows users to produce everything from characters and vehicles to
landscapes and props. Not only do you get to customize your games with gmax, you also learn 3D design within a professional-level tool.

and this author is 3dsmax's staff and realeaed by that company
also it is Free~!!!

Blender <- it is pretty cool for user of Free stuff

that it.... those are best choice combo for GRP and other Game Graphics

and if u know detail about those stuffs then visit here
http://www.staredit.net/index.php?showtopi...ndpost&p=500409

http://www.staredit.net/index.php?showtopi...ndpost&p=501800

Q : aight i figured out now about GRP and image editing but how can i find path n Actual file name of grp located in MPQ ?
A : - there are many ways to find that, but i suggest one way 2 u becuzz that is so simple and best way
1. run DatEdit
2. go to images tabs and select ur wanted unit ,
3. then look top of right Grp file path and memorize grp file path and name
4. get that file from MPQ that's it


Q : my Splash image such as Victory image and MainTitle colors looks weird why they looks like that ?
A : -becuzz they are not match to collect palette for colors
visit here then u would figure out wat problem is

http://www.staredit.net/index.php?showtopic=27808

Q: when i did decompile serveral Explsion effect grp there are colors looks weird they are so uncorrected
A : becuzz they are not match to collect palette for colors
visit hre u would figure out wat problem is

http://www.staredit.net/index.php?showtopic=28604&hl=

Q: i did edit Sc palette as i please, but i wondering that edited palette is no problem to displayed colors collectly in game?
A : Basically in StarCraft, SC palette is just fixed colors
anyhow, StarCraft game engine just show GRP with own fixed colors by according to index number
so ur edited palette will not changed in game view even if changed colors for that indexed number after all
for example:
if u change trancparency color to anything colors as u pleases among colors in palette , that will be come out just as fixed original color
that's rules of StarCraft palette


Q : i'd like edit WireFrame images but their colors something different structure what is that ?
A : first off u need wireframe palette to see each colors collectly
and u'd better visit here if u want edit wireframes as u pleases

http://www.smempire.org/forums.php?action=viewthread&id=1177

Q : i did made custom building but units can walk through under dat building why they go through ?
A : u need to change Unit size with use Unit Resizer or Datedit by Broodkiller
or need to change "Animation level' variable to lower than throughed unit if that really be floating


Q : aight i'd like try use GRP-editor in StarDraft SE , but how can i get imported and compiled GRP ? there are no menus related to GRP file export
A : Basically there are no menus about GRP file export in StarDraft SE, but it can make export file by draging file to navigate windows
here is example
1. import or compile grp in StarDraft Se with use GRP-editor
2. then u'll see completed grp file at left CWAD contents box of CWAD manager
3. select ur wanted grp files or anythings as u want and go to ur wanted directory in navigation box at left side
4. and draging wanted grp files into left navigation box then appears export message click ok then will be extracted to that folder
5. run explore and go to that extracted folder then u will see grp files or extracted files


Q : i'd like try creat AirCraft unit images but they are turned right round so then i should make all turned images ?
A : yes offcause it is, u need to creat image for each all angles
Also all turned unit should gived 17 angles for each images so it's very hard manual work if work with use just 2d image editors


Q : i want get turned each 17 angles for images what is best way to make this ?
A : use 3d-software and render to 2d image files and makeup that images that's best way currently to make as well

Runing trubles of Modding tools

Q: when i tried run WinMPQ it doesn't any response
A: u sure need to install these all files to run
Visual Basic 4 runtime files
Runtime Files Pack 3

Q: when i load mpq file in Winmpq there are bunch of unknow....files what is wrong ?
A : Basically Winmpq need list file information
u can set StarCraft file list file by this file, one list file is here

http://www.starcraft.org/dl/26976

Q : aight, i had modify all my stuff for SC mod such as dat editing, iscript, grp n sound but when i had play mod there are no any effect changed what is wrong ?
A: u sure need to put thoes file into MPQ files and set those modified files path n names collectly
by ur typing According to basis MPQ root in MPQ file
ex: arr\unit.dat
script\iscrpt.bin
unit\terran\marine.grp


Q: when i tried run IceCC it doesn't any response
A: u sure need to install these all files to run IceCC
java environment runtime from this page
http://java.com/en/download/index.jsp


Q: when i compile GRP with use GRPretro, that compile to something weird as like four small images wat colored gray
A : that might be compiled from each differnet BMP file format or palettes
so u sure need to match all images file same format and used palette


Q : are there some good website for learn StarCraft modding ?
A : there are many good site i'd suggest some kinds of related to SC modding sites
http://www.campaigncreations.org/starcraft/
http://www.campaigncreations.org/starcraft...ex.shtml#wanted
http://www.campaigncreations.org/starcraft...aft/index.shtml

http://www.infoceptor.net/
http://tc.brutkrieg.de/

http://www.smempire.org/

and information of SC modding from this site
http://www.staredit.net/index.php?showforum=67
http://www.staredit.net/index.php?act=tuto...pe=cat&cat=mods

---------------------------------------------------
this FAQ will be upated to continue.....
smoke.gif

Additional FAQ :
Q : i'd like to edit portraits animations and other smk stuffs what should i do?
A : smk files, these are movie files which consist of the campaign cutscenes to (more commonly) the unit portraits. You use Smacker Tools to edit these.
Take look this thread it would be give way 2 u

http://www.staredit.net/index.php?showtopi...ndpost&p=514788

Q : i'd like to use ice to edit iscript.bin but i don't figured out about each funtions how can i use ice for writting
A : Take look this thread, it would be help a little 2 u
http://www.staredit.net/index.php?showtopi...28&#entry411628

and there is new ice version what Modified Ice for windows XP user
Also some tutorials for beginners

http://www.staredit.net/index.php?showtopic=31865
Report, edit, etc...Posted by Pyro-Fire on 2006-07-08 at 23:30:57
you SERIOUSLY should add a tutorial on how to write an ICECC mod because all i c from the more newbie modders is weapon mods ect. and it bores the "mod players" such as myself to play basically the same thing over and over again.
Report, edit, etc...Posted by nirvanajung on 2006-07-11 at 19:43:45
there is basic IceCC manual in DI's IceCC package
that official manual enough to understand how to use IceCC

but if didn't know Advance script then just decompile origianal iscript and
other mod script

there are all answer how to written
Basically iceCC script grammar is very easy to understand and so simple
that is not difficult like as Java,C ++,VBscript,PHP,ASP or JavaScript

not so much as, that is not difficult understand and use than HTML
just digging this modding forum there are so many enough Tip and sources

Offcause, i think that need to write tutorials on IceCC either for newbie or idiots
but n e how, that would just help a little

Besides, i had write some tutorials about IceCC useage to this modding forum
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-11 at 19:57:50
For anyone wanting to modify iscripts here's a very helpful .txt file for helping you, I use it everytime I make a iscript smile.gif

don't give me any credit for it or take credit of it for yourself, I originally intended to use it for myself and therefore used quotes from alot of people, although recently I've been trying to add " 's to the quotes I used, they don't all have them


[attachmentid=19965]
Report, edit, etc...Posted by nirvanajung on 2006-07-12 at 15:00:28
For footnotes about TF's list
if u use Professional Text code editor
such as UltraEdit,Edit plus,PSPad(it's freeware)
everytimes, u don't have remember and wirte all charaters piece by piece

use Autocompletion funtion with each hyper text editor
and use customize user strings and varriable settings
then u could write iscript more easier and more fast and more simply and other kind of program codes either

here is one example for like that, if wanna know about that then just look aroud this thread
http://www.staredit.net/index.php?showtopic=31369
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-15 at 23:15:39
Since this file seems like it's actually being used by someone other than me, I updated it with all the new information I had and fixed up some explenations. smile.gif

here's the new file, for anyone that wants a slightly updated version of it
[attachmentid=20049]
Report, edit, etc...Posted by zealotzuo on 2006-07-19 at 23:34:31
Hello everyone My TblPad got a problem
When I open patch_rt.mpq it has about 4-5 stat_txt.tbl
And every tbl file could not be open in TblPad confused.gif
Report, edit, etc...Posted by BroodKiller on 2006-07-20 at 04:57:13
This is because there is a stat_txt.tbl file for every language version of SC. Look for the one with LocaleID "0" (assuming you're using WinMPQ), this is the english version.
Report, edit, etc...Posted by DT_Battlekruser on 2006-07-20 at 14:10:54
Isn't that actually the "Default" vesion, i.e. if you installed Starcraft in a different language it would be the stat_txt.tbl of that language?
Report, edit, etc...Posted by BroodKiller on 2006-07-20 at 15:00:23
Can be...I never run into a different version of SC than the english one so I dunno...
Report, edit, etc...Posted by Doodle77(MM) on 2006-07-20 at 15:17:21
Nope, 0 is Language Neutral/English
Report, edit, etc...Posted by zealotzuo on 2006-07-20 at 20:19:10
Yes, I found the one with LocaleID 0
But when I open it in TblPad, it lists nothing
And it cause an error 380 when I want to add a new entry helpsmilie.gif
Report, edit, etc...Posted by TERRAINFIGHTER on 2006-07-27 at 19:13:11
I can't help you with that problem, sorry pinch.gif


but for those of you who want to try AI Scripting, I started a textfile to help you learn the basic functions...
however, it is nowhere near completion, and has very few of the AI Script commands in it, just the ones I know.

here it is:
[attachmentid=20363]
Report, edit, etc...Posted by -bilal92- on 2006-08-01 at 13:31:16
lol you OWNED zerg with those infested bc's. Ya modding is pretty easy if you get the hang of it. Except for all those bugs and errors saving. Lol, ive had my bad mods. I got a corsair to use yamata. that was funny.
Report, edit, etc...Posted by Dreadwing93 on 2006-08-02 at 10:51:43
whenever i try to run winmpq, it says "run-time error '53': file not found"
blink.gif
Next Page (8)