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!
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!