Temüjin VIII
Fluyts, Grand Vizier of Your Mind
I did this to my copy of DoC, and it's been like that for years now. Works like a charm, guaranteed.
To make things a little bit easier, you can omit the lines in DynamicCivs.py containing the method isHuman() (lines 579, 1936). That way, your own leaderhead will also change dynamically like the AI civs.
EDIT: Not really completely omit the lines (the method is used as a condition for if statements). Just edit the code such that it does not check if the player is human anymore.
Delete the lineHow do I do that? Do I replace "Result none" with something?
if gc.getPlayer(iPlayer).isHuman(): return None
No, you can just do it in the game. Press Shift + ~. Then type for example:
You can look up Consts.py for the variable names for various civs and leaders.Code:from Consts import * pRussia.setLeader(iStalin)
That's because this post is almost three years old. Try:
Code:from Core import * player(iJapan).setLeader(iMeiji)
I've tried shift pressing pretty much every key out there but no bueno! Do I first need to enable it somewhere?