Sorry, you have to qualify: do you want the goal to complete when you either control France or have them as your vassal, or do you want the goal to complete when you or one of your vassals controls France?Got one question though.
Is it possible for me to change the UHVs for civs and if so how can I do that.
One UHV I want to change is the german control Russia, England, Scandinavia, France & Italy in 1940. I'd like to change it to control or vassalize if it's possible.
Sorry, you have to qualify: do you want the goal to complete when you either control France or have them as your vassal, or do you want the goal to complete when you or one of your vassals controls France?
Okay, here we go then: open Assets\Python\Victory.py, then search for "elif (iPlayer == iGermany)". A bit below you will find the following block:I was thinking like the Arabian UHV where they either by control or vassals need o have Egypt, Maghreb and Spain etc.
if (iGameTurn == getTurnForYear(1940)):
bFrance = self.checkOwnedCiv(iGermany, iFrance)
bRome = self.checkOwnedCiv(iGermany, iItaly)
bRussia = self.checkOwnedCiv(iGermany, iRussia)
bEngland = self.checkOwnedCiv(iGermany, iEngland)
bScandinavia = self.checkOwnedCiv(iGermany, iVikings)
if (bFrance and bRome and bRussia and bEngland and bScandinavia):
self.setGoal(iGermany, 1, 1)
else:
self.setGoal(iGermany, 1, 0)
if (iGameTurn == getTurnForYear(1940)):
bFrance = self.isControlledOrVassalized(iGermany, con.tCoreAreasTL[0][iFrance], con.tCoreAreasBR[0][iFrance], con.tExceptions[0][iFrance])
bRome = self.isControlledOrVassalized(iGermany, con.tCoreAreasTL[0][iItaly], con.tCoreAreasBR[0][iItaly], con.tExceptions[0][iItaly])
bRussia = self.isControlledOrVassalized(iGermany, con.tCoreAreasTL[0][iRussia], con.tCoreAreasBR[0][iRussia], con.tExceptions[0][iRussia])
bEngland = self.isControlledOrVassalized(iGermany, con.tCoreAreasTL[0][iEngland], con.tCoreAreasBR[0][iEngland], con.tExceptions[0][iEngland])
bScandinavia = self.isControlledOrVassalized(iGermany, con.tCoreAreasTL[0][iVikings], con.tCoreAreasBR[0][iVikings], con.tExceptions[0][iVikings])
if (bFrance and bRome and bRussia and bEngland and bScandinavia):
self.setGoal(iGermany, 1, 1)
else:
self.setGoal(iGermany, 1, 0)
Is that what your Python exception says?
Yes, it does.For the Russia's second UHV, does Moscow have to be the capital?