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


I_batman
Dec 30, 2005, 05:16 PM
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
Dec 30, 2005, 05:22 PM
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.

Kushan
Dec 30, 2005, 11:09 PM
Could you please share it with me? I have been looking for exactly the same thing.

Kushan

Kael
Dec 30, 2005, 11:28 PM
It's in the xml\Civilizations\CIV4CivilizationInfos.xml file.