Announcement

Collapse
No announcement yet.

renaming cities error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • renaming cities error

    I renamed a few cities and moved some city names to the top of the city name list in the Civ4CivilizationsInfos.xml file and now I am having city names come up "TXT_KEY_CITY_NAME_KIEV"

    Anyone know what I broke ?
    Lincoln's Gettysburg address has 226 words, The Ten commandments has 296 words. The US dept. of agriculture's order setting the price of cabbage has 15,269 words

  • #2
    "TXT_KEY_CITY_NAME_KIEV" is one you tried to add right ?

    You don't seem to know how all these TXT_KEY things work:

    Whenever the game expects some text, it reads the string (text1) and then searches for its definition in one of the files in the xml\text\ directory.
    If it finds the definition of (text1), it reads the text for the right language (text2) and displays (text2) in the game.
    If it doesn't find the definition of (text1), it just uses (text1)


    So, more specific here, the default TXT_KEY_CITY_NAME tags have definitions in the file "xml\texts\CIV4GameTextInfos_Cities.xml". The game replaces "TXT_KEY_CITY_NAME_WASHINGTON" with "Washington", but doesn't find "TXT_KEY_CITY_NAME_KIEV" and so just uses that literally.


    Well, just open up one of the xml files in xml\text and you'll see.
    no sig

    Comment


    • #3
      oi..i didnt change the right file ...

      I changed the kiev part of the txt_..

      it worked with some cities but others popped up with the full line txt_... line

      jeez...its a lot more complicated to change a city name in cIV....
      Last edited by enoeraew; December 1, 2005, 22:09.
      Lincoln's Gettysburg address has 226 words, The Ten commandments has 296 words. The US dept. of agriculture's order setting the price of cabbage has 15,269 words

      Comment


      • #4
        It is harder than Civ3, but mainly because of it's support for multiple languages. Each city can be spelled differently in a different language. If you don't care about that, (like me) , just put the name of the city. For example, just put "Kiev" instead of "TXT_KEY_CITY_NAME_KIEV".

        Comment


        • #5
          In which file

          CIV4GameTextInfos_Cities.xml or
          Civ4CivilizationsInfos.xml
          Lincoln's Gettysburg address has 226 words, The Ten commandments has 296 words. The US dept. of agriculture's order setting the price of cabbage has 15,269 words

          Comment


          • #6
            In CIV4CivilizationInfos.xml. If you do as I say for all the cities, then nothing in the CIV4GameTextInfos_Cities.xml would be needed.

            Comment


            • #7
              Thxye I'll give it a try
              Lincoln's Gettysburg address has 226 words, The Ten commandments has 296 words. The US dept. of agriculture's order setting the price of cabbage has 15,269 words

              Comment

              Working...
              X