|
|
Line 1: |
Line 1: |
| The '''Civ4VictoryInfo''' file defines the settings and triggers of the various victory conditions (Domination, Conquest, Diplomatic, etc.).
| | sQT8lw <a href="http://kqogqhbkdvdy.com/">kqogqhbkdvdy</a>, [url=http://gsatuxlzgbap.com/]gsatuxlzgbap[/url], [link=http://mdngcnhnfnrk.com/]mdngcnhnfnrk[/link], http://hpusjsokbhvl.com/ |
| | |
| 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.
| |
| | |
| <font color=red>This page is missing information.
| |
| Do not remove this notice until it is complete.</font>
| |
| | |
| | |
| ==Tags==
| |
| ===Headers===
| |
| | |
| These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
| |
| | |
| {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
| |
| |-
| |
| ! style="background:#efefef;" | Tag Name
| |
| ! style="background:#efefef;" | 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.
| |
| |}
| |
| | |
| | |
| ===Text===
| |
| | |
| {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
| |
| |-
| |
| ! style="background:#efefef;" | Tag Name
| |
| ! style="background:#efefef;" | 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
| |
| |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.
| |
| |}
| |
| | |
| | |
| ===Integers===
| |
| | |
| All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.
| |
| | |
| {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
| |
| |-
| |
| ! style="background:#efefef;" | Tag Name
| |
| ! style="background:#efefef;" | 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.
| |
| |}
| |
| | |
| ===Boolean===
| |
| | |
| 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".
| |
| | |
| {| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
| |
| |-
| |
| ! style="background:#efefef;" | Tag Name
| |
| ! style="background:#efefef;" | 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.
| |
| |}
| |
| | |
| ==Example==
| |
| | |
| 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.
| |
| | |
| <VictoryInfos>
| |
| <VictoryInfo>
| |
| <Type>VICTORY_SCORE</Type>
| |
| <Description>TXT_KEY_VICTORY_SCORE</Description>
| |
| <Civilopedia>TXT_KEY_VICTORY_SCORE_PEDIA</Civilopedia>
| |
| <bTargetScore>1</bTargetScore>
| |
| <bEndScore>0</bEndScore>
| |
| <bConquest>0</bConquest>
| |
| <bDiploVote>0</bDiploVote>
| |
| <bPermanent>1</bPermanent>
| |
| <iPopulationPercentLead>0</iPopulationPercentLead>
| |
| <iLandPercent>0</iLandPercent>
| |
| <iMinLandPercent>0</iMinLandPercent>
| |
| <iReligionPercent>0</iReligionPercent>
| |
| <CityCulture>NONE</CityCulture>
| |
| <iNumCultureCities>0</iNumCultureCities>
| |
| <iTotalCultureRatio>0</iTotalCultureRatio>
| |
| <iVictoryDelayTurns>0</iVictoryDelayTurns>
| |
| <VictoryMovie/>
| |
| </VictoryInfo>
| |
| </VictoryInfos>
| |
| | |
| {{Civ4_XML_Files}}
| |