I've been getting a little sick of seeing Monty's insane grin and Huayna's pre-explosion trembling until the 21st century lately, so I've been thinking I want to replace them with another leader when their civs reach the Renaissance. That would be José de San Martin from Colonization for the Incas (not sure about the Aztecs, though; I'll have to see if I can find a decent Juarez).
I know how to add in a leaderhead in normal civ, but I'll need some information to be able to mod the Python well so they actually switch when they reach the renaissance. I've seen some leader switching code in DynamicCivs.py, but I don't know if this is the only file I'd need to change or if there are others. I'm guessing the code that needs to be changed in this file would be:
elif iPlayer == iInca:
return
to
elif iPlayer == iInca:
if iEra >= con.iRenaissance:
self.setLeader(iPlayer, con.iJose)
return
I know how to add in a leaderhead in normal civ, but I'll need some information to be able to mod the Python well so they actually switch when they reach the renaissance. I've seen some leader switching code in DynamicCivs.py, but I don't know if this is the only file I'd need to change or if there are others. I'm guessing the code that needs to be changed in this file would be:
elif iPlayer == iInca:
return
to
elif iPlayer == iInca:
if iEra >= con.iRenaissance:
self.setLeader(iPlayer, con.iJose)
return