I'm writing a small program that will help decide which opponents I want to play against based on the personalities of the various leaders.
However there are some different numbers associated with the same leaders inside the xml files. To clarify, I'm playing with the current patch and both BNW and G&K.
I would like to know how the game verifies which files are loaded at the start of game play.
One really obvious question for a more obvious answer is: Couldn't you just include the data that is changing in the file and include revision or versions in the file so the game knows which is the most current?
Disclaimer - I was lazy in my implementation of finding these values because extracting the information was a pain in the butt since Firaxis used 2 very different schemes in these files. There could very well be others - this is only an example.
However there are some different numbers associated with the same leaders inside the xml files. To clarify, I'm playing with the current patch and both BNW and G&K.
I would like to know how the game verifies which files are loaded at the start of game play.
One really obvious question for a more obvious answer is: Couldn't you just include the data that is changing in the file and include revision or versions in the file so the game knows which is the most current?
- Augustus
- Flavor Religion
- 5 \Gameplay\XML\Leaders\CIV5Leader_Augustus.xml
- 4 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Augustus.xml
- Flavor Religion
- Bismark
- Flavor Religion
- 5 \Gameplay\XML\Leaders\CIV5Leader_Bismark.xml
- 3 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Bismark.xml
- Flavor Religion
- Darius
- Flavor Religion
- 8 \Gameplay\XML\Leaders\CIV5Leader_Darius.xml
- 6 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Darius.xml
- Flavor Religion
- Genghis Khan
- Flavor Religion
- 5 \DLC\DLC_01\Gameplay\XML\CIV5Leader_GenghisKhan.xml
- 3 \DLC\Expansion2\DLC\DLC_01\Gameplay\XML\CIV5Leader_GenghisKhan.xml
- Minor Civ Approach Protective
- 5 \DLC\Expansion\DLC\DLC_01\Gameplay\XML\CIV5Leader_GenghisKhan.xml
- 3 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_GenghisKhan_Expansion.xml
- Minor Civ Approach Conquest
- 7 \DLC\Expansion\DLC\DLC_01\Gameplay\XML\CIV5Leader_GenghisKhan.xml
- 8 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_GenghisKhan_Expansion.xml
- Flavor Religion
- Harun al-Rashid*
- Flavor Nuke
- 3 \Gameplay\XML\Leaders\CIV5Leader_HarunAlRashid.xml
- 5 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_HarunAlRashid.xml
- Flavor Nuke
- Hiawatha
- Flavor Ranged
- 6 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 7 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Expansion
- 6 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 9 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Growth
- 6 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 3 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Infrastructure
- 5 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 4 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Science
- 5 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 4 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Culture
- 7 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 5 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Diplomacy
- 5 \Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- 6 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Hiawatha.xml
- Flavor Ranged
- Napoleon
- Flavor Religion
- 4 \Gameplay\XML\Leaders\CIV5Leader_Napoleon.xml
- 3 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_Napoleon.xml
- Flavor Religion
- Oda Nobunaga
- Flavor Religion
- 5 \Gameplay\XML\Leaders\CIV5Leader_OdaNobunaga.xml
- 4 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_OdaNobunaga.xml
- Flavor Religion
- Wu Zetian
- Flavor Expansion
- 4 \Gameplay\XML\Leaders\CIV5Leader_WuZetian.xml
- 6 \DLC\Expansion\Gameplay\XML\Leaders\CIV5Leader_WuZetian.xml
- Flavor Expansion
Disclaimer - I was lazy in my implementation of finding these values because extracting the information was a pain in the butt since Firaxis used 2 very different schemes in these files. There could very well be others - this is only an example.