May 28, 2002, 06:27
|
#1
|
Emperor
Local Time: 02:27
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
|
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?
|
|
|
|
May 28, 2002, 06:59
|
#2
|
King
Local Time: 22:27
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
|
Re: Pop.txt and gl_str.txt
Quote:
|
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
|
|
|
|
May 28, 2002, 07:24
|
#3
|
Emperor
Local Time: 02:27
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
|
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.
|
|
|
|
May 28, 2002, 10:43
|
#4
|
King
Local Time: 22:27
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
|
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
|
|
|
|
May 28, 2002, 11:14
|
#5
|
Super Moderator
Local Time: 03:27
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
|
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!"
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 21:27.
|
|