Obsoleting buildings?

zulu9812

The Newbie Nightmare
Joined
Jan 29, 2002
Messages
6,388
Location
Athens of the North
I have this building, Stables, that gives free experience to Mounted units trained in the city. It becomes available with Horse Riding, and I would like it to become obsolete with Steam Power. Is this possible under existing rules, or would I need to fiddle with the SDK?
 
That's simple.
In the buildingInfos file change this line in your building entry from this:
Code:
<ObsoleteTech>NONE</ObsoleteTech>

To this:
Code:
<ObsoleteTech>TECH_STEAM_POWER</ObsoleteTech>

Assuming the tech is named TECH_STEAM_POWER
 
Back
Top Bottom