Help me please

kristopherb

Protective/Charismatic
Joined
May 23, 2006
Messages
2,218
Location
British Empire Soul:Tesco
I've started modding agian.
XML
1) I've aded one unit but it has a TXT_KEY then the name how do you remove it?
Python
2) how do you mix dlls(XXL world and Expanded cities raduis(Mylons (0.92)i think)
3) how do you see open the Dlls?
Please help me?
:please:
 
1) TXT_KEY is a reference to the text file which contains the actual display name. create an entry for TXT_KEY_YOUR_UNIT in the xml/text folder with the actual name you want the unit to display....(if you look at the file in the bts assets/xml/text it'll give you an idea how it works)

2 and 3) you need the SDK for this.
 
I still dont get it
sorry for being akward
 
:bump: anyone
 
The name TXT_KEY_UNIT_NAME is stored in the unit info file (CIV4UnitInfos.xml). In its XML data at the entry like this:

<Description>TXT_KEY_UNIT_NAME</Description>

This, and various other TXT_KEY_ tags are references to names which are stored elsewhere (to allow the unit to be named differently in different languages - i.e. Worker isn't a word in German, so they change it to the German equivalent if you play the German version of the game)

The actual name is stored in the CIV4GameTextInfos_Objects.xml file (or the Warlords / BTS equivalent).

In your case, no such entry has been made so the game, lacking a name, uses the reference as name.

You should add an entry to the CIV4GameTextInfos_Objects.xml file (or the Warlords / BTS equivalent) file.

The entry looks like this:

<TEXT>
<Tag>TXT_KEY_UNIT_NAME</Tag>
<English>Name</English>
</TEXT>

If you also want to enter other languages (most people don't), you can do so as well and the file shows relatively clearly how to do it (although you will need to add things like plural values and gender because thats important in some languages but not in english).

Good Luck!
 
The name TXT_KEY_UNIT_NAME is stored in the unit info file (CIV4UnitInfos.xml). In its XML data at the entry like this:

<Description>TXT_KEY_UNIT_NAME</Description>

This, and various other TXT_KEY_ tags are references to names which are stored elsewhere (to allow the unit to be named differently in different languages - i.e. Worker isn't a word in German, so they change it to the German equivalent if you play the German version of the game)

The actual name is stored in the CIV4GameTextInfos_Objects.xml file (or the Warlords / BTS equivalent).

In your case, no such entry has been made so the game, lacking a name, uses the reference as name.

You should add an entry to the CIV4GameTextInfos_Objects.xml file (or the Warlords / BTS equivalent) file.

The entry looks like this:

<TEXT>
<Tag>TXT_KEY_UNIT_NAME</Tag>
<English>Name</English>
</TEXT>

If you also want to enter other languages (most people don't), you can do so as well and the file shows relatively clearly how to do it (although you will need to add things like plural values and gender because thats important in some languages but not in english).

Good Luck!

Thank you it explains a lot but i have a simple problem
CIV4GameTextInfos_Objects.xml What is the BTS equivalent?
 
Top Bottom