Mod scenario ideas thread

So what do you need right now?
 
About the Turks having a hard-on for Persia. :rolleyes: The map is divided into something called "areas" and I believe that Europe is defined as one area and Asia as another. I know that Rhye included some Python code that switches Constantinople to Asia once the Turks spawn - in order for them to become more interested in conquering it. (Apparently the AI will prioritize its domestic continent for expansion.)

I'm thinking that we could reverse this entirely, so that the whole of Anatolia becomes part of Europe instead. Thus the Turks should become more likely to go after Constantinople and other European cities - and be less obsessed with Persia.

I'll have a look shortly and try to make some code for you to test, ok?
 
Hi, I have already started work on a mod, that I'm hoping will add more historical accuracy to the game, without becoming to deterministic. For my first release, these are the changes I would like to make to vanilla RFC:


1. Remove Persia from the Ottoman War map, I want to make sure that all of Persia looks undesirable for the Ottomans to expand into, currently they waste too many resources taking over Persia, and not enough taking over North Africa and Europe
- Also have the Ottomans spawn with 3 Muslim Imams

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

3. Have the Persian respawn in 1501 (or the closest date to that), and have there name be changed to, "The Safavid Dynasty". I've already requested a LH, but I would like to use the Akbar LH**, as a replacement for the time being, so if we could combine the LH to the new Persian spawn, that would be excellent.

4. Have Mali spawn with 2 Muslim Imams

And so far thats it, for now. But once again, if anybody could help me with all the coding, (which is not my forte), that would be the best, not to mention I'll give you full credit for your work. This stuff shouldn't be too hard, so please if anybody could help me, I would be extremely grateful.:goodjob:

Thank You!

**This is the link to the Akbar LH which we would rename Shah Abbas:
http://forums.civfanatics.com/downloads.php?do=file&id=8916
 
@Baldyr

Or you could make from the edge of the indian subcontinent, up through the desert to where it widens out, and all the way to where Arabia needs to conquer, become part of Europe.
 
The Turk, follow these instructions:

Firstly, enable debugging by edition the CivilizationIV.ini file (found in \My Documents\My Games\Beyond the Sword\):
Code:
HidePythonExceptions = 0
LoggingEnabled = 1
This way the game will prompt you if there is a error with any of my custom code.

Secondly, make a backup copy of the RiseAndFall.py file found in \Rhye's and Fall of Civilization\Assets\Python

Go to line #1615 in RiseAndFall.py and replace this code:
Code:
        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")
With this code:
Code:
        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)
This should make the whole of Anatolia (including Constantinople) be part of Europe. This in turn should make the Turkish AI be more interested in conquering the rest of Europe and focus less on Asia.

If you wanna try different areas you change the X and Y coordinates marked with red.

Lastly, test it!
 
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
Two pieces of information is missing here:

1. What Civ should be the owner of Baghdad once it spawns?

2. What date should Baghdad flip to the Arabs?
 
Thanks a ton Baldyr! :)

I'm currently away from home, but when I get back I'll test out the changing in co-ordinates. Also I think this may affect Greece quite strongly, as I have a feeling they will also have the urge to settle in Anatolia, but let's see.

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? Also have imams spawn for Turkey, Persia and Mali upon spawn date

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?

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. But even though I unzipped a fresh copy of RFC v1.187, and even though I renamed the fresh installation "Rhye's and Fall Realism" (its a completely different folder), when I started up the game, I still had my VD units installed, which I had put for regular RFC, but I did not install them for RFC Realism, can you tell me how to start up a fresh game of RFC, basically I want to completely different folders of RFC, the same game, except one of them is for us to experiment on, while the other is just the vanilla version of RFC. I hope I make sense, but thanks Baldyr for all your help!
 
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?
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.

Also have imams spawn for Turkey, Persia and Mali upon spawn date
How many each?

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?
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.

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.
You need to open the World Builder Save files (the maps or scenarios) and change the mod path:
Code:
	ModPath=Mods\Rhye's and Fall Realism
You probably should read up on these subjects (starting with XML) in the modiki. (The Python tutorials aren't actually that helpful though. :rolleyes:)

I'll get back to you with a PyScenario script for starters. I guess I can post it in the new development thread?
 
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:
Code:
	ModPath=Mods\Rhye's and Fall Realism
You probably should read up on these subjects (starting with XML) in the modiki. (The Python tutorials aren't actually that helpful though. :rolleyes:)

I'll get back to you with a PyScenario script for starters. I guess I can post it in the new development thread?

Thanks "AGAIN" for the help Baldyr, you've really been great. Yes we can move this to our development PM, so we don't disturb too much this thread anymore ;)
When I get back home today, I'll try to redirect the worldbuilder file, and see if it works
As for the spawning Muslim Imams, I really just need to know how to spawn units at a certain date, and it should be fine, but for the record this is what I want:
3 Imams with the Ottoman Spawn
2 Imams with the Malinese Spawn
3 Imams with the Persian "Re-spawn" in 1500

Also I'm still a bit confused on how to make RFC Realism a seperate mod, without having regular RFC affect it? I mean how do I ""open"" it up, and change the file path??
Thanks!:D
 
Back
Top Bottom