Announcement

Collapse
No announcement yet.

Pop.txt and gl_str.txt

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

  • Pop.txt and gl_str.txt

    I was fiddling around with writing the new version of CTPEd and found something puzzling about the gl_str population strings. They don't match the names of the entries in pop.txt - there's none for POP_ENTERTAINER, POP_FARMER, POP_LABORER OR POP_SCIENTIST. I looked a biot closer at the .ldl files and it appears that the strings as seen in the City Manager are just taken from ldl_str.txt, not gl_str.txt. To test this, I removed the pop strings from gl_str, and the game ran just fine. Doe anyone have any evidence to contradict this, or are the pop strings just another junk leftover from CTP1?

  • #2
    Re: Pop.txt and gl_str.txt

    Originally posted by J Bytheway I looked a biot closer at the .ldl files and it appears that the strings as seen in the City Manager are just taken from ldl_str.txt, not gl_str.txt.
    The gl_str.txt does exacly what it says. Changes the name entries only in the great library.
    But in all screen (what is call the UI) this is done by changing the idl_str.txt.
    "Kill a man and you are a murder.
    Kill thousands and you are a conquer.
    Kill all and you are a God!"
    -Jean Rostand

    Comment


    • #3
      The items on the build list are from gl_str.txt, as are the names inserted into the messages. But I see what you mean.

      Comment


      • #4
        The gl_str also gives the name for entries in the UI that dont properly is part of the UI data. Like names of units, wonders, advances, tile imps...

        But the pop is part of the UI. you will find it somewhere in the engilsh\uidata\citywindow.idl the entry for it. therefore it wont change through out the game.
        "Kill a man and you are a murder.
        Kill thousands and you are a conquer.
        Kill all and you are a God!"
        -Jean Rostand

        Comment


        • #5
          For the strings actual it doesn't matter if you write them into the gl_str.txt or another text file that is loaded in the Strings.txt. But in my opinion it is better to respect the structure of the original files. But it is possible an example is the MedPack2.

          -Martin
          Civ2 military advisor: "No complaints, Sir!"

          Comment

          Working...
          X