i really don't understand it.
Try to take an existing an d working file and copy your text additionally to the existing one in it and try to use this file.
Maybe this helps.
I just made an Obama civ, nothing serious, basically he's similar to Roosevelt but I put in the American flag, changed his traits and starting techs. My issue is the Leader Name. It keeps coming up as "TXT_KEY_LEADER_OBAMA" instead of "Obama". I've checked the XML file to make sure it's structured the same as all the other leaders but I can't find any discrepancies. A little help please?
Below is the text from CIV4LeaderHeadInfos, does anything look out of place? Or is there another XML I should be looking over?
To answer your question, I have to point out a few things.
you not only need to put Obama's name under the <LeaderHeadInfo>, you also have to tell the mod what those names mean. you need to go into Civ4GameText_Objects_BTS, found in the text folder, copy that to your mod folder and make a new part for Obama. You can paste the below text at the bottom of the file.
<TEXT>
<Tag>TXT_KEY_LEADER_OBAMA</Tag>
<English>Obama</English>
<French>
<Text>Obama</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Obama</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</German>
<Italian>
<Text>Obama</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Obama</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
You don't necessarily need the parts for other languages unless the game will be played in those languages.
Are you creating an Obama civilization, or are you adding him to the U.S. as a fourth leader?
I'm actually using Vanilla, no Beyond the Sword ::cringes::, but yea, I'm adding him as a third leader with Roosevelt, Washington. I really didn't want a whole new Civ, I wanted him to be recognized by the game as American.
But I'll get started with this code, thank u.
EDIT: You guys are livesavers, now to fix my city names and I'm good to go.
Really the main point of the TXT_KEY_ stuff is to allow for multiple languages. If you are only going to play in english you could just put in the name instead of the TXT_KEY_LEADER_OBAMA
Do you mean the programs, which are mentioned in the opening post?
Besides DXTBmp, everything else should, as far as i can see, also be available as Mac version.
You'll probably have to google the programs, but they should be available.
But you also don't have to create your own buttons. You could look in our civilization 4 file database, where button packs are available and see, if some of them could fit.
Ups, you're right, the file seems to be non existent anymore.
But this is not a problem.
Copy a file out of the Text\ folder (doesn't matter which one, they are all loaded) into your Text folder, edit the title and just delete everything besides one entry out of it, and use this entry as a template .
I was trying to add a picture as a leader head and I got annoyed at the distortion that i kept getting from it resizing. So i did what any logical person would do. I took a ruler and I mesured im mm the size of the leaderhead picture in the civilopedia. The exact ratio was 94:112 = 47:56. Its pretty precise for the civilopedia at least.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.