From Civilization Modding Wiki
Revision as of 13:07, 9 April 2013 by PinkRose (talk | contribs) (→‎Text: Added to CityCulture (see talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The Civ4VictoryInfo file defines the settings and triggers of the various victory conditions (Domination, Conquest, Diplomatic, etc.).

All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.

This page is missing information. Do not remove this notice until it is complete.



These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.

Tag Name Description
VictoryInfos This tag begins and ends the file. All other tags are contained within the opening and closing VictoryInfos tags.
VictoryInfo This contains the information for each victory condition.


Tag Name Description
Type This tag declares the internal name of the victory condition. It is used to refer to this specific victory condition in other files.
Description This text tag is a reference to an entry in the text files that controls the display name in various languages for the victory condition.
Civilopedia Another text tag which refers to the multi-language Civilopedia entry for this victory condition.
CityCulture Sets the minimum culturelevel a city needs to atain to count towards a cultural victory. If NONE, there is no prerequisite culture level for iNumCultureCities number of cities in order to achieve victory. The standard culture victory has the tag CULTURELEVEL_LEGENDARY, indicating that cities need to have Legendary culture to reach victory.
VictoryMovie This declares a text tag in the Civ4ArtDefines_Movie file which references the movie played after this victory is reached.


All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.

Tag Name Description
iPopulationPercentLead Presumably how much more population you must have over the next most populous civilization to win.
iLandPercent Indicates the total percentage of land you and your vassals must control to achieve this victory.
iMinLandPercent Indicates the minimum percentage of land that you personally must control to achieve victory.
iReligionPercent Indicates the total percentage of cities that must be following your state religion (when you control the holy city) in order to win.
iNumCultureCities This integer tag contains the number of cities that must meet the CityCulture tag's level of culture points.
iTotalCultureRatio Unknown. All standard victory conditions have a value of 0.
iVictoryDelayTurns Number of turns before the victory is registered officially by the game and a win is triggered. This is used for the Spaceship victory condition.


All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".

Tag Name Description
bTargetScore If set to 1, the victory will trigger if a team reaches a target score as defined in a wouldbuildersave file.
bEndScore If set to 1, the victory is based on the player with the highest score at the end of the game (2050 by default).
bConquest If 1, this victory requires the elimination of all enemies and qualifies as a Conquest win.
bDiploVote If 1, this victory requires the player to be elected in a worldwide vote and qualifies as a Diplomatic win.
bPermanent Unknown. The only standard condition with a value of 1 is VICTORY_SCORE.


In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.





Audio; Buildings:




Civilizations; Events:
















Italics: Beyond the Sword only