Frage zu XML-Textinfos

Terxpahseyton

Nobody
Joined
Sep 9, 2006
Messages
10,759
Hi,
I'm trying to make some changes in the XML/Text directory, but got the problem, that I don't know, where it is written how all that "Text"-tags get used. For example I did try to give my scenario a discreption through a certain tag I did copie into Gametext-Warlords.xml. But it didn't work to just copie the name of the tag and write it behind "Description=" at the worldbuilder-data, like it's done at other mods.
So I'm wondering how I can realize that? Where are the functions of the text-tags defined???? I hope you could follow my confusing description ;), and that somebody got an answer for me.
Thanks

SiLL

Ohu an sorry for the title of my post... I got confused with the languages and couldn't change it afterwards... :)
 
I am not sure if this is what you mean, but you need to add both the TAG-in code form-and its plain language equivalent underneat it. So, if you want to add 'Scientology' to the game, you need to have:

Code:
<Tag>TAG_RELIGION_SCIENTOLOGY</Tag>
              <English>Scientology</English>
              <French>Le Scientologie</French>

and so on....
My biggest advice to you is if you don't have it already, dowload Altova XMLSpy for all you XML modding-it is BRILLIANT!!!

Aussie_Lurker.
 
Aussie_Lurker said:
I am not sure if this is what you mean, but you need to add both the TAG-in code form-and its plain language equivalent underneat it. So, if you want to add 'Scientology' to the game, you need to have:
Code:
<Tag>TAG_RELIGION_SCIENTOLOGY</Tag>
              <English>Scientology</English>
              <French>Le Scientologie</French>
That's exactly what I did :) I did write that in "CIV4GameText_Warlords.xml":
>>>>>>>>>>>>>>>>
<TEXT>
<Tag>TXT_KEY_MYMOD_SCENARIO_DESCRIPTION</Tag>
<English>mytext
</English>
<French>my text
</French>
<German>my text
</German>
<Italian>my text
</Italian>
<Spanish>my text
</Spanish>
</TEXT>
<<<<<<<<<<<<<<<<<<<<<<<<
After that was done, I wrote that in the worldbuildersave of my scenario:
"Description=TXT_KEY_MYMOD_SCENARIO_DESCRIPTION"
Well... But it didn't work. So my thought was, that there is somewhere a data, where it is defined, whats going to happen with the txt-keys. Otherwise the game won't be able to use it.
So can somebody tell, how I can make the game showing my text-tag????
I already searched for other files, that might be responsible, but couln't find any.
 
Back
Top Bottom