Hello all - I need a little help with the override system. It's a different issue that was being addressed in my last thread.
I have the following in a Civ_Buff.xml file, which I have properly added to the XML.
None of these things seem to work. I was able to add traits to leaders and edit the yield values of different buildings, but I can't seem to add overrides. The code looks the same to me as similar tables in the Civ5 Civilizations XML file.
Can anyone pinpoint the issue? One of my goals is to widely vary all the civs by having almost entirely unique buildings, but there's no way that'll work if I can't do overrides.
Thanks!
I have the following in a Civ_Buff.xml file, which I have properly added to the XML.
Code:
<GameData>
<Civilization_BuildingClassOverrides>
<!-- First, try out overriding a building class. -->
<Row>
<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
<BuildingClassType>BUILDINGCLASS_LIBRARY</BuildingClassType>
<BuildingType>BUILDING_PAPER_MAKER</BuildingType>
</Row>
</Civilization_BuildingClassOverrides>
<!-- Now try overriding a unit class. -->
<Civilization_UnitClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
<UnitClass>UNITCLASS_CROSSBOWMAN</UnitClass>
<UnitType>UNIT_CHINESE_CHUKONU</UnitType>
</Row>
</Civilization_UnitClassOverrides>
<!-- Now let's give away a free unit. -->
<Civilization_FreeUnits>
<Row>
<CivilizationType>CIVILIZATION_AMERICA</CivilizationType>
<UnitClassType>UNITCLASS_SCOUT</UnitClassType>
<Count>1</Count>
<UnitAIType>UNITAI_EXPLORE</UnitAIType>
</Row>
</Civilization_FreeUnits>
</GameData>
None of these things seem to work. I was able to add traits to leaders and edit the yield values of different buildings, but I can't seem to add overrides. The code looks the same to me as similar tables in the Civ5 Civilizations XML file.
Can anyone pinpoint the issue? One of my goals is to widely vary all the civs by having almost entirely unique buildings, but there's no way that'll work if I can't do overrides.
Thanks!