Basic modding question: Modify Domination Victory

Assets\XML\GameInfo\Civ4VictoryInfo.xml

<iPopulationPercentLead>25</iPopulationPercentLead>
<iLandPercent>78</iLandPercent>
<iMinLandPercent>51</iMinLandPercent>

Those values will however be adjusted by the game somehow, for which i do not know the rules.
 
they are used to test victory : CvGame::getAdjustedLandPercent(VictoryTypes eVictory)

in short :

Code:
iPercent = GC.getVictoryInfo(eVictory).getLandPercent();
iPercent -= (countCivTeamsEverAlive() * 2);
return std::max(iPercent, GC.getVictoryInfo(eVictory).getMinLandPercent());

Tcho !
 
Back
Top Bottom