Is it possible to add an era

Eloque

Chieftain
Joined
Dec 13, 2010
Messages
18
I've been trying to build a mod that introduces more era's into the game. Specifically early ages. To this end I wanted to add an extra era, the Stone Age.

Is that possible? I was browsing around the XML's and so far came up with this;

Code:
	<Eras>
		<Row>
			<Type>ERA_STONEAGE</Type>
			<Description>TXT_KEY_ERA_0</Description>
			<Strategy>TXT_KEY_ERA_STONEAGE_STRATEGY</Strategy>
			<ArtPrefix>STONEAGE </ArtPrefix>
			<NoGoodies>false</NoGoodies>
			<NoBarbUnits>false</NoBarbUnits>
			<NoBarbCities>false</NoBarbCities>
			<ResearchAgreementCost>150</ResearchAgreementCost>
			<StartingUnitMultiplier>1</StartingUnitMultiplier>
			<StartingDefenseUnits>1</StartingDefenseUnits>
			<StartingWorkerUnits>0</StartingWorkerUnits>
			<StartingExploreUnits>0</StartingExploreUnits>
			<StartingGold>0</StartingGold>
			<StartingCulture>0</StartingCulture>
			<FreePopulation>0</FreePopulation>
			<LaterEraBuildingConstructMod>0</LaterEraBuildingConstructMod>
			<StartPercent>0</StartPercent>
			<BuildingMaintenancePercent>100</BuildingMaintenancePercent>
			<GrowthPercent>100</GrowthPercent>
			<TrainPercent>100</TrainPercent>
			<ConstructPercent>100</ConstructPercent>
			<CreatePercent>100</CreatePercent>
			<ResearchPercent>100</ResearchPercent>
			<BuildPercent>100</BuildPercent>
			<ImprovementPercent>100</ImprovementPercent>
			<GreatPeoplePercent>100</GreatPeoplePercent>
			<CulturePercent>100</CulturePercent>
			<EventChancePerTurn>1</EventChancePerTurn>
			<SoundtrackSpace>0</SoundtrackSpace>
			<FirstSoundtrackFirst>false</FirstSoundtrackFirst>
			<CityBombardEffectTag>CITY_BOMBARD_EARLY</CityBombardEffectTag>
			<AudioUnitVictoryScript>AS2D_VICTORY_EARLY</AudioUnitVictoryScript>
			<AudioUnitDefeatScript>AS2D_LOSS_EARLY</AudioUnitDefeatScript>
		</Row>
	</Eras>

But that doesn't do anything for including in the techtree et all. Is it even possible, or am I stuck just using and changing existing eras?
 
I've been able to add eras (specifically, to re-add the Future Era to G&K) using XML only. Did you remember to actually put some techs in that era? That's important, and it's also important to get the x coordinates straightened out. (The assignment of techs to eras should be such that techs with the same x coordinate fall under the same era.)
 
Back
Top Bottom