Which Python script or XML File allows UU's to be integrated into the game?

I_batman

Emperor
Joined
Jun 22, 2004
Messages
1,261
Location
markham, ontario
I will use the German Panzer as an example.
In CivIVUnitInfos.xml we find the entry <type>UNIT_GERMAN_PANZER</type>, which is of class <Class>UNITCLASS_TANK</Class>.

However, I can't find in any XML file anything limiting this unit to the German civ only.
This fact goes for all UU's, as far as I can see.
Has anybody found a Python script or XML file that defines this unit as German only?

I imagine that this same Python script, XML file, or C++app will bind all the UU's to their civ.
 
I_batman said:
I will use the German Panzer as an example.
In CivIVUnitInfos.xml we find the entry <type>UNIT_GERMAN_PANZER</type>, which is of class <Class>UNITCLASS_TANK</Class>.

However, I can't find in any XML file anything limiting this unit to the German civ only.
This fact goes for all UU's, as far as I can see.
Has anybody found a Python script or XML file that defines this unit as German only?

I imagine that this same Python script, XML file, or C++app will bind all the UU's to their civ.

Moderators, can you delete this thread? The answer was given to me in another thread.
 
It's in the xml\Civilizations\CIV4CivilizationInfos.xml file.
 
Back
Top Bottom