My custom stability is clearly for my Roman scenario, and my mod scenario idea concerning stability (posted above, which is completely unrelated to my Roman scenario) is far more complex and needs a lot more programming skills 

HidePythonExceptions = 0
LoggingEnabled = 1
def processConstantinople(self):
asiaID = gc.getMap().plot(69, 44).area().getID()
pConstantinople = gc.getMap().plot(68, 45)
if (pConstantinople.area().getID() != asiaID):
if (pConstantinople.isCity() and pConstantinople.getPlotCity().getOwner() < con.iNumMajorPlayers):
return
else:
gc.getMap().plot(68, 45).setArea(asiaID)
print("Constantinople now Asian")
def processConstantinople(self):
if utils.getHumanID() == con.iTurkey: return
iEurope = gc.getMap().plot(68, 45).area().getID()
for iX in range([COLOR="Red"]68, 76[/COLOR]+1):
for iY in range([COLOR="Red"]42, 45[/COLOR]+1):
pPlot = gc.getMap().plot(iX, iY)
if pPlot.isWater(): continue
pPlot.setArea(iEurope)
Two pieces of information is missing here:2. Make Baghdad spawn in 762, in the spot right between the Tigris and Euphrates river.
- Also if you could have them flip to the Arabs, that would be good
What I would propose is to spawn an Arab city if the Arabs are AI controlled. Otherwise the human Arab player would have to found the city himself. I don't believe that the human player should get such "freebies" - whether they be spawns or flips.As for the Baghdad thing:
Well here is where I need your opinion,
I was thinking instead of having an independent "Baghdad" spawn, with the 762AD (or just 760 would be fine), but I want it to immediately flip to the Arabs, would it be possible to perhaps have a settler and longbowmen spawn in the exact spot I want, and force the AI to build a city their? OR would it make more sense, just having a city which instantly flips to the Arabs upon its spawn in 760AD?
How many each?Also have imams spawn for Turkey, Persia and Mali upon spawn date
First you need to insert the art files and add the XML needed for the new leader. Then we can worry about the Python portion of this.BTW I have the LH I want to use temporarily, but I need to do 3 things:
1. Rename it from Akbar TO Shah Abbas
2. Make him the leader after Darius I for the Persians
3. Make him spawn, with the Persians in 1500 AD (with an army)
How do I do that?
You need to open the World Builder Save files (the maps or scenarios) and change the mod path:Also I'm trying to make a RFC Realism folder, so that any changes I make trying to make RFC Realism won't affect the regular RFC.
ModPath=Mods\Rhye's and Fall Realism
What I would propose is to spawn an Arab city if the Arabs are AI controlled. Otherwise the human Arab player would have to found the city himself. I don't believe that the human player should get such "freebies" - whether they be spawns or flips.
How many each?
First you need to insert the art files and add the XML needed for the new leader. Then we can worry about the Python portion of this.
You need to open the World Builder Save files (the maps or scenarios) and change the mod path:
You probably should read up on these subjects (starting with XML) in the modiki. (The Python tutorials aren't actually that helpful though.Code:ModPath=Mods\Rhye's and Fall Realism
)
I'll get back to you with a PyScenario script for starters. I guess I can post it in the new development thread?