View Full Version : New Unit Help
I've been tinkering around with AZ latley and got the oh so wonderful idea of putting me and my little brother in the game. But heres the catch...
I don't want to just rename existing units I want to keep them but I also want to have me and little brother in there too so I created new units by basicly copying the units.dat entries for the ghost and the marine and then re-compiled them back into a .dat. But the problem is, is that when I go to use the units in StarEdit they don't appear. So I edited the stat_txt.tbl file and added him and I to the list in the EXACT place where I put the entries in units.dat. But now when I go to use StarEdit the unit palete is all screwed up and my new units don't have the correct wepons.
What is goning on and what an I doing wrong?
U-238
SuiCidAl-KiSmEt
01-07-2006, 5:20 PM
You need to mod the StarEdit program too. Use MPQDraft and also mod StarEdit. Example: Picture (http://www.warboards.org/attachment.php?attachmentid=2462)
Your planning to use a mod\custom right? Becouse when your playing StarCraft, there will be no changes.
I did patch StarEdit thats how I got where I am. And of course I'm using a mod. What else would I use?
SuiCidAl-KiSmEt
01-07-2006, 5:35 PM
Can you post the units.dat and .tbl files. Maybe I'll try to work things out better that way.
No I can't it says that there "Invalid File Types"
SuiCidAl-KiSmEt
01-07-2006, 5:45 PM
Try putting them inside a .zip folder.
Okay thats better Here they are...
If you reply today I probably won't get to read or reply till monday because I need to get off the Internet now.
U-238
SuiCidAl-KiSmEt
01-07-2006, 6:09 PM
Wow, these are messed up! This kind of stuff never happend to me. I don't know, did you use StarDat or any out-dated programs?
U-238
01-08-2006, 11:17 PM
I used TblPad and Arsenal Zero to edit the files, and I used MPQ compactor to create the MPQ. Then I used MPQDraft to run it. So no I didn't use any outdated programs. What am I doing wrong?
SuiCidAl-KiSmEt
01-09-2006, 4:01 PM
Well, I created a moded StarEdit program before. When I did it, It never happend like that. The only thing I used diffreantly was that I used Arsenal 3 not Zero. You can save the .rez file, but I think you should make a new unit.dat from Arsenal 3. I hope that ends this problom.
But how do I add units with Arsenal 3?
SuiCidAl-KiSmEt
01-10-2006, 3:16 PM
O, add new untis? Brand new units, like making a new entry? I'm sorry, when I got your download I thought you were just editing the heroes. Ok, for the record, you can't make new new units, you can edite them from an old one to make it look new buts thats all you can do.
Making new units only accured in patch 1.07, the newer patches stop modders from making new units like that. So sorry. Now days, people just edit units.
But then how was it I was able to add the units I did? I mean they showed up.(Not in the correct place allbeit but you know what I mean, don't you?
Oh by the way whats wuth the name change???
SuiCidAl-KiSmEt
01-10-2006, 4:36 PM
All I know what I said about is true. Im not sure there was any new units that you added... if you did it probolly wont work in the game. StarCraft runs diffreantly then StarEdit.
You could use units that were never put in the game; Cave-In, Jump Gate, Mining Plateforms, etc... or power-ups and try to mod those.
For my name, well its much cooler ;)
btw, Im not the only modder out here. So don't let me do all the helping peeps. :\
I used it in Starcraft and it did work. The units did show up.(It screwed up all the other units though. ex: Jim Raynor (Vulture) was a Wraith) And even if it didn't I know other ways to add units.
I liked Toonami better.
SuiCidAl-KiSmEt
01-10-2006, 6:07 PM
Wow, a new unit after all these years... Then I guess the new unit ruined the entrys and thats how the names got mixed up. You could manually rename them.
Theres this one program called StarHex?? I think it's called. Thats the proper way to make new units, but it shouldn't work.
Hmm... not much to say on the topic, I'd just like to point out I also liked Toonami better than "SuiCidAl-KiSmEt".
U-238
01-11-2006, 12:22 PM
What I'm saying is, is that the units in units.dat are there(you can look at them in AIII). But, in order to get them to show up you have to add them to stat_txt.tbl and THAT is what screws up all the other units.
U-238
SuiCidAl-KiSmEt
01-11-2006, 4:12 PM
U-238: Thats great. You tought me something, now Im going to do the same thing for my mod :P
For both of you: Please don't make me change my mind. I don't want to bother the coolest person on Warboards again :\
jftr (just for the record); I think Toonami was a good name too, but few people on b.net says Toonami (the tv network) sucks now and stuff. I'm sorry, but I think SuiCidAl-KiSmEt is more me. I hope you guys get used to it soon. :)
BSTRhino
01-11-2006, 5:13 PM
Sorry, I should've looked at this thread sooner, I could've worked it out from your first post. The file rez\stat_txt.tbl actually has 228 unit names in it for the 228 units, so you only needed to overwrite the name instead of add a new one at the same ID as in units.dat, so that would change the names of all the units below the one you inserted.
If you want to add a new unit which is just a copy of a previous unit, you just do what you just did, copy one unit and paste it on top of some unused units.dat entry. Then you can place the new units on a map, or go into MemGraft and add buttons so you can build those units. You did everything right, the only problem was a minor one with rez\stat_txt.tbl.
Okay thanks, that worked. Just one more question...
If stat_txt.tbl looks for approximitly 228 unit entries then is there any way to modify how many entries it should look for?
Like when using AZ you can modify the Format file (or the .azf) to look for more entries. (like instead of looking for 999 entries it looks for 1001)
BSTRhino
01-12-2006, 6:04 PM
There is a way, but not unless you hack the EXE. StarCraft is hardcoded to read exactly 228 units. Basically you can consider it one of those things that modders can't do unless some talented person (yes, I'm talking about you DiscipleOfAdun) decides that he wants to make a program that lets you increase the number of units.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.