Thread Tools
Old May 28, 2002, 06:27   #1
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
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?
J Bytheway is offline  
Old May 28, 2002, 06:59   #2
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
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
Pedrunn is offline  
Old May 28, 2002, 07:24   #3
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
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.
J Bytheway is offline  
Old May 28, 2002, 10:43   #4
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
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
Pedrunn is offline  
Old May 28, 2002, 11:14   #5
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
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!"
Martin Gühmann is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 21:27.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team