Staredit Network

Staredit Network -> Modding Assistance -> Renaming a Unit
Report, edit, etc...Posted by Puni(F) on 2005-05-26 at 15:46:33
I was just woundering on how to rename a unit. Like if I wanted to rename the Marine John... How do I do that? And what program do I need.
Report, edit, etc...Posted by BSTRhino on 2005-05-26 at 16:07:16
You need to edit rez\stat_txt.tbl

Extract it from Patch_rt.mpq or copy it from Arsenal 3 (that's probably easier), search for strings containing "Marine" or "arine" (the first M comes up as a hotkey and so you won't find those strings if you include the M), change all of those to John and put the edited version of rez\stat_txt.tbl in your mod.
Report, edit, etc...Posted by Puni(F) on 2005-05-26 at 16:39:24
How would I extract it from Patch_rt.mpq? And how would I add it into the mod? I'am not making a .exe.. I just need to edit the units name.
Report, edit, etc...Posted by EzDay281 on 2005-05-26 at 17:20:16
WinMPQ.
I use TBLPad to edit it.
You should make a new folder and name it "rez". Put the modified stat_txt.tbl in it.
Report, edit, etc...Posted by axblader on 2005-05-26 at 17:23:31
Look at DT's tut.
Report, edit, etc...Posted by Puni(F) on 2005-05-26 at 17:38:38
Yea, I did.

That's why I got to wait for yoshi to launch the Mod DLDB, So I can download all of the right programs.
Report, edit, etc...Posted by BSTRhino on 2005-05-26 at 22:56:33
Even if you were making an EXE mod, you'd have to make an MPQ first anyway, so it doesn't make a difference whether you're creating an MPQ or an EXE mod.


Renaming Marine to John
I'm presuming you already have a mod MPQ built up somewhere for this tutorial, and you're using WinMPQ. If you're doing it slightly differently, like for example you're using the MPQ Compactor, then steps 2 and 3 will be the same, but 1 and 4 might be slightly different.

1. Copy rez\stat_txt.tbl from under your Arsenal III folder to some place.
2. Open it up with TblPad and use the Search feature under the menu somewhere to find the text string "arine" (Marine without the first M, works around the problem of hotkeys)
3. Each time TblPad finds the string "arine" look at the string, it probably says "Terran Marine" or "m<0>Build <3>M<1>arine" or something. You need to change the strings. So, "Terran Marine" -> "John" and "m<0>Build <3>M<1>arine" -> "m<0>Build John" (we can talk more about what <3> and <1> mean later)
4. Save your edited rez\stat_txt.tbl, and open up your MPQ patch in WinMPQ and save your edited rez\stat_txt.tbl to the location rez\stat_txt.tbl
Report, edit, etc...Posted by sckor on 2005-05-27 at 09:07:25
Are you changing the hotkey that way too?
Report, edit, etc...Posted by Puni(F) on 2005-05-27 at 10:38:06
Yes, I have figured out what to do... Finally. Now I can start my SEN Mod.

Thanks for the help guys happy.gif.

>- Closed -<
Next Page (1)