Wikia

Civilization

XML/Documentation/GameInfo/CIV4EraInfos.xml

< XML/Documentation

6,080pages on
this wiki
Talk0

This Page describes how to edit the Civ4EraInfos.xml

If you edit/delete an era then you need to edit the following files

CIV4BuildingInfos.xml, CIV4TechInfos.xml, CIV4LeaderHeadInfos.xml, CIV4CityLSystem.xml, CIV4PlotLSystem.xml


== Details on the file ==

<EraInfo> <Type>ERA_ANCIENT</Type> - used for linking to from other .xml files e.g. TechInfos telling which era techs belong to

<Description>TXT_KEY_ERA_ANCIENT</Description> - links to a gametext.xml for multi lingual naming

<Strategy>TXT_KEY_ERA_ANCIENT_STRATEGY</Strategy> - links to its strategy in a gametext.xml

<bNoGoodies>0</bNoGoodies> - says wether goody huts exist 0 means yes, 1 means no

<bNoAnimals>0</bNoAnimals> - same as above but about barbarian animals

<bNoBarbUnits>0</bNoBarbUnits> - same as above but about barbarian units

<bNoBarbCities>0</bNoBarbCities> - same as above but about barbarian cities

<iAdvancedStartPoints>600</iAdvancedStartPoints> - how many points it costs in an advanced start game

<iStartingUnitMultiplier>1</iStartingUnitMultiplier> -

<iStartingDefenseUnits>0</iStartingDefenseUnits> -

<iStartingWorkerUnits>0</iStartingWorkerUnits> - how many workers the player starts with

<iStartingExploreUnits>1</iStartingExploreUnits> - how many exploring units a player starts with

<iStartingGold>0</iStartingGold> - how much gold you start with

       <iFreePopulation>0</iFreePopulation> - 

<iStartPercent>0</iStartPercent> -

<iGrowthPercent>100</iGrowthPercent> -

<iTrainPercent>100</iTrainPercent> -

<iConstructPercent>100</iConstructPercent> -

<iCreatePercent>100</iCreatePercent> -

<iResearchPercent>100</iResearchPercent> -

<iBuildPercent>100</iBuildPercent> -

<iImprovementPercent>100</iImprovementPercent> -

<iGreatPeoplePercent>100</iGreatPeoplePercent> -

<iCulturePercent>100</iCulturePercent> -

<iAnarchyPercent>50</iAnarchyPercent> -

<iEventChancePerTurn>1</iEventChancePerTurn> -

<iSoundtrackSpace>0</iSoundtrackSpace> -

<bFirstSoundtrackFirst>0</bFirstSoundtrackFirst> -

<EraInfoSoundtracks> - list which sounds are used from audio 2d scripts

<EraInfoSoundtrack>AS2D_ANCIENT_SOUNDTRACK_1</EraInfoSoundtrack>

<EraInfoSoundtrack>AS2D_ANCIENT_SOUNDTRACK_2</EraInfoSoundtrack>

<EraInfoSoundtrack>AS2D_ANCIENT_SOUNDTRACK_3</EraInfoSoundtrack>

<EraInfoSoundtrack>AS2D_ANCIENT_SOUNDTRACK_4</EraInfoSoundtrack>

</EraInfoSoundtracks>

<CitySoundscapes> - lists the sounds heard depending on city size

<CitySoundscape>

<CitySizeType>CITYSIZE_SMALL</CitySizeType>

<SoundscapeScript>ASSS_CITY_ANCIENT_SMALL_SELECT_AMB</SoundscapeScript>

</CitySoundscape>

<CitySoundscape>

<CitySizeType>CITYSIZE_MEDIUM</CitySizeType>

<SoundscapeScript>ASSS_CITY_ANCIENT_SMALL_SELECT_AMB</SoundscapeScript>

</CitySoundscape>

<CitySoundscape>

<CitySizeType>CITYSIZE_LARGE</CitySizeType>

<SoundscapeScript>ASSS_CITY_ANCIENT_LARGE_SELECT_AMB</SoundscapeScript>

</CitySoundscape>

</CitySoundscapes>

<AudioUnitVictoryScript>AS2D_VICTORY_EARLY</AudioUnitVictoryScript> - sound for a victory

<AudioUnitDefeatScript>AS2D_LOSS_EARLY</AudioUnitDefeatScript> - sound for a defeat

</EraInfo>

Stevo32 15:49, 15 September 2008 (UTC)

Around Wikia's network

Random Wiki