Custom Victory Conditions

valo1012

Chieftain
Joined
Mar 14, 2017
Messages
1
In short, is it possible with the currently available tools to create custom victory conditions?

I'm trying to create multiplayer scenarios similar to the ones Firaxis released with the game (Ancient Rivals, Thermonuclear War), but I've gotten to the point where the victory conditions seem to be hard-coded or at least inaccessible. I traced them back to GameEffects.xml, but they appear to just be stated as requirement types:

<Row Type="REQUIREMENT_TEAM_HAS_MOST_WMD_CITY_HITS" Kind="KIND_REQUIREMENT"/>
<Row Type="REQUIREMENT_TEAM_HAS_ANCIENT_RIVALS_VICTORY" Kind="KIND_REQUIREMENT"/>

There's no link to the logic behind these requirements; I don't know whether it's in lua or in code, but it doesn't seem to be anywhere in the plain text files in the Civ 6 folder.

Another option seems to be to alter the scoring factors and use highest score to determine a winner (this seems to be what the DLC scenarios do), but then you're still limited to whatever is listed in Scoring.xml.

Just trying to figure out where to look next, or if the requirement logic is just inaccessible with the current tools. Thanks!
 
It is possible, but the existing Requirements do not provide many good options to base a victory condition on, and as far as I know we can not create our own GameEffects for Requirements.
When creating my victory conditions mod (in my signature) I decided to use lua only as it gave me a lot more control over what I could base my victories on. This approach was a lot of work, but I'm happy with the results.
 
Back
Top Bottom