TEXT_KEY_UNIT_WARHOUND, how do I fix this?

BFD8656

Chieftain
Joined
Jan 29, 2006
Messages
87
I can't seem to find where I went wrong. I know that it is one specific file but I can't seem to get the right one. I know this is a rookie thing but I am frustrated and don't want to spend my evening searching.

I probably just put a wrong comma or something. If you know please leave a reply! Thanks.
 
It should be TXT_KEY_UNIT_WARHOUND (not TEXT).

Then you have to define what that string stands for in one of the files in 'Assets/xml/text/' (it doesn't matter which file.

Code:
        <TEXT>
            <Tag>TXT_KEY_UNIT_WARHOUND</Tag>
            <English>Scooby Doo</English>
        </TEXT>
 
it was TXT. I found it just before you posted it. Right after I got mine on the board I remembered that units AND special cargo was stored there.


Thanks!
 
To me it seemed rather redundant so I just put in the Description for whatever it was in place of the TXT_KEY_UNIT_.....
 
wompie said:
To me it seemed rather redundant so I just put in the Description for whatever it was in place of the TXT_KEY_UNIT_.....

Thats fine, assuming you don't want localization (ie: non-english translations).
 
Kael said:
It should be TXT_KEY_UNIT_WARHOUND (not TEXT).
While it turned out to be the problem here I'd like to point out that you can use TEXT. The game doesn't care what you use as long as the strings are the same.
 
wompie said:
To me it seemed rather redundant so I just put in the Description for whatever it was in place of the TXT_KEY_UNIT_.....


rofl same here. :p

I even told my Dad and his reply was oh well it is done like that so it can be called by more than one source. In this case it is languages. ;)
 
Back
Top Bottom