[XMLCOMP] Simple Great Person Mod

Requies said:
This is Dr. Elmer Jiggle's version (which I had nothing to do with) which WILL work with 1.52. Updated latest version.

Great People
_________________

Ever get annoyed because you see a whole bunch of great person names scroll by and you haven't the slightest clue what type they are?
Be annoyed no longer! This mod adds in the type of Great Person in parentheses to the end of each Great Person's name so that at a glance you can tell who just got a Great Engineer who will be able to rush build that wonder you've been spending forever on. Or you can tell immediately what type of specialist you received so that you can properly plan without having to look around to see which type of person you got.

Examples:
Moses (Prophet)
Harkuf (Merchant)

Installation
_________

Simple Great Person should NOT be installed in your main Civ IV location, as it will overwrite necessary files.
Instead, it should be installed at: "My Documents\My Games\Civilization 4\CustomAssets\xml\text".

History
______
v0.3
-Added foreign language support [Done by Dr. Elmer Jiggle]

v0.2
-Updated to work with patch 1.52 (and future patches) [Done by Dr. Elmer Jiggle]

v0.1
- first release


I downloaded this and looked thru the whole thing, but there only one file in this "CIV4GameTextInfos_GreatPeople.xml" (and a bunch of other default folders)? It doesn't seem complete. When you updated this, did you forget something? I cant get it to work.

-=R=-
 
There's only supposed to be that one file. You should normally install it as <userdir>/CustomAssets/XML/Units/CIV4GameTextInfos_GreatPeople.xml where userdir is typically something like C:/Documents and Settings/Me/My Documents/My Games/Sid Meier's Civilization 4. That will make the change apply to all of your games.

Alternatively, if you want to install it as a separate mod so you can choose when to use it, install it as <userdir>/Mods/SimpleGreatPeople/XML/Units/CIV4GameTextInfos_GreatPeople.xml. "SimpleGreatPeople" can be whatever name you choose to give to the mod.
 
Dr Elmer Jiggle said:
There's only supposed to be that one file. You should normally install it as <userdir>/CustomAssets/XML/Units/CIV4GameTextInfos_GreatPeople.xml where userdir is typically something like C:/Documents and Settings/Me/My Documents/My Games/Sid Meier's Civilization 4. That will make the change apply to all of your games.

Alternatively, if you want to install it as a separate mod so you can choose when to use it, install it as <userdir>/Mods/SimpleGreatPeople/XML/Units/CIV4GameTextInfos_GreatPeople.xml. "SimpleGreatPeople" can be whatever name you choose to give to the mod.

You do realize that the folder you have that (in the .zip) is "/xml/text" not "xml/Units" as you describe...

ill try this out...


-=R=-
 
lordroy said:
You do realize that the folder you have that (in the .zip) is "/xml/text" not "xml/Units" as you describe...

Oh, yeah, sorry. It should be installed in XML/Text. I was remembering the old location that was used for the original implementation.
 
Dr Elmer Jiggle said:
Oh, yeah, sorry. It should be installed in XML/Text. I was remembering the old location that was used for the original implementation.


Well I cant get it to work in either folder... I had it in the "XML/Text" folder before.

I am trying to get this to work with Moderator Action: Sevo's Civ Fanatics Fusion 2.0
Please read the forum rules:
http://forums.civfanatics.com/showthread.php?t=422889Moderator Action: , and while I have not tried this out alone, there are thoes there who have asked me to try and get this working. Do you have any idea why it does not work when I put it into: \My Documents\My Games\Sid Meier's Civilization 4\MODS\Sevomod\Assets\XML\text folder?

Any help would be appreciated.

-=R=-

Please read the forum rules: http://forums.civfanatics.com/showthread.php?t=422889
 
lordroy said:
Moderator Action:

I see the problem. That mod includes a revised XML/Units/CIV4UnitInfos.xml file. In that file, the definitions of the great people have hardcoded names. For example, you'll see this toward the end of the file:

Code:
<UnitInfo>
	<Class>UNITCLASS_ENGINEER</Class>
	<Type>UNIT_ENGINEER</Type>
	<UniqueNames>
		<UniqueName>Imhotep</UniqueName>
		<UniqueName>Archimedes</UniqueName>
...

As a result, the names are no longer looked up in CIV4GameTextInfos_GreatPeople.xml. If you compare this with the game's original CIV4UnitInfos.xml in Program Files/Firaxis Games/Sid Meier's Civilization 4/Assets/XML/Text, you'll see that the names are coded as text keys there.

Code:
<UnitInfo>
	<Class>UNITCLASS_ENGINEER</Class>
	<Type>UNIT_ENGINEER</Type>
	<UniqueNames>
		<UniqueName>TXT_KEY_GREAT_PERSON_IMHOTEP</UniqueName>
		<UniqueName>TXT_KEY_GREAT_PERSON_ARCHIMEDES</UniqueName>
...

Those are then mapped to the names in CIV4GameTextInfos_GreatPeople.xml. The main advantage that offers has to do with internationalization/localization. Sevo's mod will always display English names for the great people, regardless of the user's language. If you restore the keys so the names are looked up from the text infos, they will display in English, German, French, etc., depending on the game's settings.

So to get this mod to work in conjunction with Sevo's mod, you would need to change Sevo's CIV4UnitInfos.xml to restore the original great person names. I'm not sure why Sevo's file would have this problem, so you might want to be a little careful about exactly which parts of the file you revert and which ones you keep. You might accidentally undo some important part of his mod without realizing it.

Please read the forum rules: http://forums.civfanatics.com/showthread.php?t=422889
 
Dr Elmer Jiggle said:
I see the problem. That mod includes a revised XML/Units/CIV4UnitInfos.xml file. In that file, the definitions of the great people have hardcoded names. For example, you'll see this toward the end of the file:

Code:
<UnitInfo>
	<Class>UNITCLASS_ENGINEER</Class>
	<Type>UNIT_ENGINEER</Type>
	<UniqueNames>
		<UniqueName>Imhotep</UniqueName>
		<UniqueName>Archimedes</UniqueName>
...

As a result, the names are no longer looked up in CIV4GameTextInfos_GreatPeople.xml. If you compare this with the game's original CIV4UnitInfos.xml in Program Files/Firaxis Games/Sid Meier's Civilization 4/Assets/XML/Text, you'll see that the names are coded as text keys there.

Code:
<UnitInfo>
	<Class>UNITCLASS_ENGINEER</Class>
	<Type>UNIT_ENGINEER</Type>
	<UniqueNames>
		<UniqueName>TXT_KEY_GREAT_PERSON_IMHOTEP</UniqueName>
		<UniqueName>TXT_KEY_GREAT_PERSON_ARCHIMEDES</UniqueName>
...

Those are then mapped to the names in CIV4GameTextInfos_GreatPeople.xml. The main advantage that offers has to do with internationalization/localization. Sevo's mod will always display English names for the great people, regardless of the user's language. If you restore the keys so the names are looked up from the text infos, they will display in English, German, French, etc., depending on the game's settings.

So to get this mod to work in conjunction with Sevo's mod, you would need to change Sevo's CIV4UnitInfos.xml to restore the original great person names. I'm not sure why Sevo's file would have this problem, so you might want to be a little careful about exactly which parts of the file you revert and which ones you keep. You might accidentally undo some important part of his mod without realizing it.



Thanks for the info... ill look at that code... I dont know this stuff very well, but I learn quickly.


Couldn't I just change the code from "<UniqueName>Moses</UniqueName>" to "<UniqueName>Moses (Prophet)</UniqueName>"


-=R=-
 
Top Bottom