How do I delete and/or replace a UU?

Craig_Sutter

Deity
Joined
Aug 13, 2002
Messages
2,773
Location
Calgary, Canada
I am trying to replace the Songhai UU with a custom built one BONDI.

I've tried to do it a couple of ways:

Code:
<Civilization_UnitClassOverrides>
		Delete CivilizationType="CIVILIZATION_SONGHAI"/>
		<Row>
			<CivilizationType>CIVILIZATION_SONGHAI</CivilizationType>
			<UnitClassType>UNITCLASS_SPEARMAN</UnitClassType>
			<UnitType>UNIT_BONDI</UnitType>
		</Row>
</Civilization_UnitClassOverrides>

or

Code:
<Civilization_UnitClassOverrides>
		Delete UnitType="UNIT_SONGHAI_MUSLIMCAVALRY"/>
		<Row>
			<CivilizationType>CIVILIZATION_SONGHAI</CivilizationType>
			<UnitClassType>UNITCLASS_SPEARMAN</UnitClassType>
			<UnitType>UNIT_BONDI</UnitType>
		</Row>
</Civilization_UnitClassOverrides>

My Bondi unit shows up well enough, but the old UU won't go away.

I had previously tried update command instead but failed miserably.

The multiple conditions are screwing me up somehow. Each UU has three items within it, and I am not certain how to delete the section as a whole.

Could someone give a quick hint of what to do. I searched tutorials but could not find anything about this... I'm sure it is so simple, no one bothered with a tutorial.

Thank-you
 
Back
Top Bottom