Modding help.

ccsquared

Chieftain
Joined
Oct 26, 2014
Messages
2
I'm currently making a mod for my own use and I have come across a problem. How do you override and existing building? In more detail, I am trying to replace the 'old earth relic' name to something else but only for the civilization I am making. However when I look at tutorials or other peoples mod's they don't rename a building but rather create a new one all together.

Any help on this mater will be much appreciated, thanks!
 
After tinkering with the mod buddy I figured out how to do it.

<Civilization_BuildingClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_TEI</CivilizationType>
<BuildingClassType>BUILDINGCLASS_RELIC</BuildingClassType>
<BuildingType>BUILDING_EQ_RELIC</BuildingType>
</Row>
</Civilization_BuildingClassOverrides>

code shown is how to override an already existing building.
building type is the new building (has to be defined)
building class type is the building you are replacing
 
Back
Top Bottom