Could someone explain me how to modify...

Handel

Prince
Joined
Nov 29, 2005
Messages
514
Could someone explain me please how to modify CIV4VictoryInfo.xml to make diplomatic and space race victory disabled by default (at least I think it is CIV4VictoryInfo.xml)?
 
Handel said:
Could someone explain me please how to modify CIV4VictoryInfo.xml to make diplomatic and space race victory disabled by default (at least I think it is CIV4VictoryInfo.xml)?

Simply change the Diplo to this.


<VictoryInfo>
<Type>VICTORY_DIPLOMATIC</Type>
<Description>TXT_KEY_VICTORY_DIPLOMATIC</Description>
<Civilopedia>TXT_KEY_VICTORY_DIPLOMATIC_PEDIA</Civilopedia>
<bTargetScore>0</bTargetScore>
<bEndScore>0</bEndScore>
<bConquest>0</bConquest>
<bDiploVote>0</bDiploVote>
<bPermanent>0</bPermanent>
<iPopulationPercentLead>0</iPopulationPercentLead>
<iLandPercent>0</iLandPercent>
<iMinLandPercent>0</iMinLandPercent>
<iReligionPercent>0</iReligionPercent>
<CityCulture>NONE</CityCulture>
<iNumCultureCities>0</iNumCultureCities>
<iTotalCultureRatio>0</iTotalCultureRatio>
<VictoryMovie></VictoryMovie>
</VictoryInfo>

As far as the space race, my only guess is to delete it all together. well I would save it somewhere so i could put it back in if I wanted.
 
The above text stays the same (everything is 0) no matter if the custom game allows diplo victory or not.
Maybe it is in CIV4ProjectInfo.xml - just with allowing/forbiding to build SS parts (for the space race)? And in some "buildings" XML file to allow/forbid the UN wonder building (for the diplo victory)?
 
Back
Top Bottom