I've been updating my mod, Total War (which was deleted from the DLDB by an SQL error--that'll link once it's reloaded), and the big change that I made was adding hotkeys that correspond to the new names of units. Abilities, however, are presenting a problem: the strings don't display correctly in Starcraft. They refuse my color changes or--even worse--display the cost not in energy, but, for example, as 50 minerals 150 gas 3 population! What's up with that?
Here's the file, as a .zip:
[attachmentid=17463]
And, if anyone wants me to, I can post the .tbl file in question.
Your tags in the stat_txt.tbl file are wrong. Look at examples of exactly what you want to make it right.
QUOTE(DiscipleOfAdun @ Feb 15 2006, 09:28 AM)
Your tags in the stat_txt.tbl file are wrong. Look at examples of exactly what you want to make it right.
[right][snapback]427758[/snapback][/right]
Do you mean that the entries are bugged or wrong? More importantly, where would I find such examples? I really do want to get this right...
Also, this mod crashes after 5 seconds of being Terran...
I think(don't have time to look right now) that you just haven't used the right number in the<x> tags that tell what kind of hotkey. The examples are the existing entries in stat_txt.tbl. So, if I want to create a string for a tech research, I go find a string for the existing tech research, and use the same tags. Make sure that the hotkey is going to be unique for the button set that it is on, that could cause some problems
DoA is most correct. Whenever in doubt - look up how the original game data works the issue out, and copy/paste
at first sight in ur tbl tags, there r see Enter line tag for units a little
i guess there something wrong
check that out~!
DT--Well, the crashing thing is pretty new to this release, and it only happens the first time you run the mod. I think it's for the same reason as the hotkey thing, as the old version didn't do it. Hopefully, I'll be able to fix it.
DoA--I didn't know that sort of thing even existed. I thought Starcraft just sort of read .tbl's and figured out what to do with them--will try this out and get back to everyone on it.
EDIT: YES! Hotkeys are SOLVED! The first tag, it appears, is not a color tag, but a "button type" tag--1 is unit, 3 is ability, 4 is research, I think. We probably know this already, but now I know it--hehehe...
Now for the crashing bug. Here's the file (with proper hotkeys). Try it out, someone, and tell me if it crashes as Terran or Zerg, and, if it does, what the circumstances are. 'Toss have never had that problem, for some reason.
[attachmentid=17489]