Dawn of Civilization - an RFC modmod by Leoreth

Status
Not open for further replies.
They only require a balancing of their UHVs and the associated mechanics (slave trade), which I'll get to when the new scenario is ready.
 
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?
 
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?

I was thinking like the Arabian UHV where they either by control or vassals need o have Egypt, Maghreb and Spain etc.
 
I was thinking like the Arabian UHV where they either by control or vassals need o have Egypt, Maghreb and Spain etc.
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:
Code:
                                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)
You replace it with this:
Code:
                                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)
I did not test this, so do it at your own risk. I suggest enabling Python exceptions (see the first post of this thread) to make sure everything works right.
 
My current understanding of the way the differences between Dynastic Absolutism, Fascism, and Communism is as follows:

1) Dynasticism + Absolutism: an illustration of the consolidation of political power by early modern European monarchs such as Louis XIV, Ivan IV Vasilyevich, and Frederick William I.

2) Autocracy + Absolutism + Totalitarianism + Free Market: Fascist aka "Corporatist" regimes such as those of Mussolini, Hitler, and Pinochet. The Francoist regime, I suppose, is the first three plus self-sufficiency.

3) Autocracy + Supreme Council + Totalitarianism + State Property: the USSR, China until Deng Xiaoping, Yugoslavia, Cuba, and North Korea.

Am I on base here, and if so, do y'all think this is the best way to illustrate these differences?

Btw, wikipedia tells me Xiaoping led China to a market economy. In DoC terms, does this mean the Free Market civic? It would explain why there's no negative synergy between Supreme Council and Free Market, whereas State Property combined with Capitalism is nearly as bad as a secular Theocracy.
 
Thanks for taking the time Leoreth but unfortunately it didn't work. Got right away you've been defeated.
also 'module' object has no attribute 'showTechChooser'
 
Is that what your Python exception says?
 
No idea why that happens, the changes in Victory.py shouldn't affect this. If anything, the error should report this file.
 
Sometimes the error debugger goes crazy and creates a new window for every line, and sometimes the interdependence of files can cause it to report "good" files before getting to the "bad" one. It always gets to the bad one, though.
 
I found that there are some edits on the world map. Good work, let's keep enlarging the map and make new civs playable!
 
For the Russia's second UHV, does Moscow have to be the capital?
 
Okay, will it count the goal being reached before 1920 or on the precise date?
 
I think it checks every turn.
 
So... I've missed a lot... are you fixing up northwest Africa with grasslands?
 
Huh? No. Should I?
 
Which customer? :mischief:
 
Status
Not open for further replies.
Back
Top Bottom