NOTE: This mod-mod has not been updated to beta version 2 of the PyScenario utility. But it still works as a stand-alone mod-mod for the official version of RFC.
What this mod-mod does, is it spawns Great General units with historical names to a select few Civs.
I haven't tried to include all Civs or anything, just to create a easy-to-edit script for my PyScenario application. So if you download the modmod from the link below you will also be installing PyScenario as an add-on to Rhye's and Fall of Civilization. Simply unpack all .py files into \Sid Meier's Civilization 4\Beyond the Sword\Mods\Rhye's and Fall of Civilization\Assets\Python\ - to uninstall simply delete the Scenario.py file and the modmod will be disabled.
So, what the modmod does - or can do - is that it spawns Great General units. Either when a Civ is born - or at a historical date. The latter will only happen if the owner Civ is at war with any other major Civ at that point in the game.
The real feature here is that you can add to the modmod and/or edit the settings by editing this code in the Scenario.py file:
It should be pretty self-explanatory but take notice of the very specific syntax! You must include every single parenthesis, quotation, colon and comma. And the Civs themselves must follow the exact spelling found in the same file:
Note that you're not required to learn anything about the PyScenario application, about Python programming or anything like that.
Also note that this setup has the following limitations: There can only be one Great General per Civ at spawn - and there can only be one Great General spawning in wartime per Civ. (Anything else would have to be added by entering individual PyScenario Triggers of your own.)
What this mod-mod does, is it spawns Great General units with historical names to a select few Civs.
I haven't tried to include all Civs or anything, just to create a easy-to-edit script for my PyScenario application. So if you download the modmod from the link below you will also be installing PyScenario as an add-on to Rhye's and Fall of Civilization. Simply unpack all .py files into \Sid Meier's Civilization 4\Beyond the Sword\Mods\Rhye's and Fall of Civilization\Assets\Python\ - to uninstall simply delete the Scenario.py file and the modmod will be disabled.
So, what the modmod does - or can do - is that it spawns Great General units. Either when a Civ is born - or at a historical date. The latter will only happen if the owner Civ is at war with any other major Civ at that point in the game.
The real feature here is that you can add to the modmod and/or edit the settings by editing this code in the Scenario.py file:
Code:
# leaders
atSpawn = {
eMongolia: "Genghis Khan",
eAmerica: "George Washington",
eTurkey: "Osman I",
}
inWartime = {
eFrance: ("Napoleon Bonaparte", 1800),
eGermany: ("Heinz Guderian", 1930),
eGreece: ("Alexander the Great", -330),
ePersia: ("Cyrus the Great", -550),
eCarthage: ("Hannibal Barca", -240),
eRome: ("Gaius Julius Caesar", -100),
eAmerica: ("Douglas MacArthur", 1940),
eNetherlands: ("Michiel de Ruyter", 1607),
}
Spoiler :
Code:
# civs
eEgypt = 0
eIndia = 1
eChina = 2
eBabylonia = 3
eGreece = 4
ePersia = 5
eCarthage = 6
eRome = 7
eJapan = 8
eEthiopia = 9
eMaya = 10
eVikings = 11
eArabia = 12
eKhmer = 13
eSpain = 14
eFrance = 15
eEngland = 16
eGermany = 17
eRussia = 18
eNetherlands = 19
eHolland = 19
eMali = 20
ePortugal = 21
eInca = 22
eMongolia = 23
eAztecs = 24
eTurkey = 25
eAmerica = 26
Also note that this setup has the following limitations: There can only be one Great General per Civ at spawn - and there can only be one Great General spawning in wartime per Civ. (Anything else would have to be added by entering individual PyScenario Triggers of your own.)