BeginCity: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m Reverted edits by 110.4.133.46 (Talk) to last version by Deanej
m Unprotected "BeginCity"
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 01:52, 3 October 2011

BeginCity is the subsection that defines a city at this plot. A city is defined in the following way:

BeginCity
 CityOwner=AAAA
 CityName=BBBB
 CityPopulation=CCCC
 ProductionUnit=DDDD
 ProductionBuilding=EEEE
 ProductionProject=FFFF
 ProductionProcess=GGGG
 BuildingType=HHHH
 ReligionType=IIII
 HolyCityReligionType=JJJJ
 ScriptData=KKKK
 PlayerLLLLCulture=MMMM
EndCity

Where:

  • AAAA = the city owner. Similar to unit owner it is the value between 0 and 17 of the player who owns this city.
  • BBBB = the name of the city. This can be any value. EG: CityName=My City
  • CCCC = the starting population in the city. This is how many population points the city starts with.
  • DDDD = the unit that the city is building at game start. Only one Production type is used (the first one in the city definition). These values are defined in CIV4UnitInfos.xml
  • EEEE = the building that the city is building at game start. Only one Production type is used (the first one in the city definition). These values are defined in CIV4BuildingInfos.xml
  • FFFF = the project that the city is building at game start. Only one Production type is used (the first one in the city definition). These values are defined in CIV4ProjectInfo.xml
  • GGGG = the process (science/wealth/culture) that the city is building at game start. Only one Production type is used (the first one in the city definition). These values are defined in CIV4ProcessInfo.xml
  • HHHH = the buildings that the city already has at game start. Any number of BuildingTypes can be defined on seperate lines. These values are defined in CIV4BuildingInfos.xml
  • IIII = the religions that the city has at game start. Any number of religions can be defined on seperate lines. These values are defined in CIV4RelgionInfos.xml
  • JJJJ = the Holy City of the defined religions. Any number of these can be defined on seperate lines. These values are defined in CIV4ReligionInfos.xml
  • KKKK = any scripts assigned to the city. This analysis does not go into these scripts.
  • LLLL & MMMM = the starting culture that the city has. LLLL is the player number and MMMM is the amount of culture. EG: Player3Culture=100 means this city begins with 100 points of player 3's culture. You can define a culture level for any number of players.


BeginGame:

Tutorial • Era • Speed • Calendar • Option • MPOption • ForceControl • Victory • GameTurn • MaxTurns • MaxCityElimination • TargetScore • StartYear • Description • ModPath

BeginTeam:

Tech • ContactWithTeam • AtWar • PermanentWarPeace • OpenBordersWithTeam • DefensivePactWithTeam • ProjectType • RevealMap

BeginPlayer:

CivDesc • CivShortDesc • LeaderName • CivAdjective • FlagDecal • WhiteFlag • LeaderType • CivType • Team • Handicap • Color • ArtStyle • PlayableCiv • MinorNationStatus • StartingGold • StartingX • StartingY • StateReligion • StartingEra • CivicOption, Civic • AttitudePlayer, AttitudeExtra • CityList

BeginMap:

grid width • grid height • top latitude • bottom latitude • wrap X • wrap Y • world size • climate • sealevel • num plots written

BeginPlot:

x, y • Landmark • ScriptData • isNOfRiver, isWOfRiver • RiverNSDirection, RiverWEDirection • StartingPlot • BonusType • ImprovementType • FeatureType, FeatureVariety • RouteType • TerrainType • BeginUnit • BeginCity • TeamReveal