TargetScore

From Civilization Modding Wiki
Jump to navigationJump to search

The TargetScore value determins the score a player must achieve to win the game. For example, the Desert War scenario uses TargetScore=6, as there are 6 objective cities in the game. If one team holds all 6 cities, then they win the game. By itself you can define the actual score a player must achieve (in the score list on the right of the interface), but coupled with python, this can be an extremely powerful scoring utility. You must have Victory=VICTORY_SCORE (or all victory conditions available) for this method to work.



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