I was impressed with what LoR has done with python in allowing the game to turn over a player's city over to a new civilization.
As it is right now, python is a mystery to me, and I want the feature of removing control of a set of bases, and giving rival civs control over them.
I am currently working on mod idea, where it combines both the Hundred Years War, and the War of the Roses into one mod. So as a big favor, can I get some help in the python scripting for this pseudocode:
if turnyear == startYearofWaroftheRoses
then
initiateEnglishCivilWar()
method initiateEnglishCivilWar()
getFeudingFactions() ... should be three or four, Tudors, Lancaster, York, ect
fromEngland.getAllCitiesInEngland() ... is there a way to limit revotution to Brit. Isles?
for each feudingFaction
feudingFaction.giveControlOfSomeCities() ... each faction should get one or two cities
someCitiesList.renameCitiesToHistoricalNamesOfNobelFamily()
....................................................................................................................
I also want a Hundred Years war incorporated too. This would involve features for a Joan of Arc mission for the French, but I need to go one step at a time.
As it is right now, python is a mystery to me, and I want the feature of removing control of a set of bases, and giving rival civs control over them.
I am currently working on mod idea, where it combines both the Hundred Years War, and the War of the Roses into one mod. So as a big favor, can I get some help in the python scripting for this pseudocode:
if turnyear == startYearofWaroftheRoses
then
initiateEnglishCivilWar()
method initiateEnglishCivilWar()
getFeudingFactions() ... should be three or four, Tudors, Lancaster, York, ect
fromEngland.getAllCitiesInEngland() ... is there a way to limit revotution to Brit. Isles?
for each feudingFaction
feudingFaction.giveControlOfSomeCities() ... each faction should get one or two cities
someCitiesList.renameCitiesToHistoricalNamesOfNobelFamily()
....................................................................................................................
I also want a Hundred Years war incorporated too. This would involve features for a Joan of Arc mission for the French, but I need to go one step at a time.