[modmodmod] SOI expanded

Thanks, srpt, it worked great.

For the victory checking displayed in the victory screen, I would like it to show (Number of coastal cities owned by Portugal on Arabian Sea, Red Sea, and Persian Gulf/Total number of coastal cities on Arabian Sea, Red Sea, and Persian Gulf)

Does anyone know how to do this?
You can use parts of Ghaznavids 2nd UHV code
 
try this:

Spoiler :
Code:
			if iGoal == 2:
				iTotalCities = 0
				iPortugueseCities = 0
				for iCiv in range(iNumTotalPlayers):
					if iCiv == iPortugal:
						apCityList = PyPlayer(iRival).getCityList()
							for pCity in apCityList:
								if pCity.isCoastal(gc.getMIN_WATER_SIZE_FOR_OCEAN()):
									if gc.getMap().plot(pCity.getX(), pCity.getY()).getRegionID() in [con.rKarnataka, con.rGoa, con.rMaharashtra, con.rGujarat, con.rSindh, con.rBalochistan, con.rMakran, con.rHormuz, con.rFars, con.rKhuzestan, con.rIraq, con.rArabia, con.rBahrain, con.rOman, con.rMahra, con.rHadhramaut, con.rYemen, con.rHejaz, con.rTransjordan, con.rUpperEgypt, con.rAksum, con.rMerebMellash, con.rSuqutra]:
										iPortugueseCities += 1
										iTotalCities += 1
									elif gc.getMap().plot(pCity.getX(), pCity.getY()).getRegionID() in [con.rSinai, con.rLowerEgypt]:
										if pCity.getY() < 33:
											iPortugueseCities += 1
											iTotalCities += 1
					else:
						apCityList = PyPlayer(iRival).getCityList()
							for pCity in apCityList:
								if pCity.isCoastal(gc.getMIN_WATER_SIZE_FOR_OCEAN()):
									if gc.getMap().plot(pCity.getX(), pCity.getY()).getRegionID() in [con.rKarnataka, con.rGoa, con.rMaharashtra, con.rGujarat, con.rSindh, con.rBalochistan, con.rMakran, con.rHormuz, con.rFars, con.rKhuzestan, con.rIraq, con.rArabia, con.rBahrain, con.rOman, con.rMahra, con.rHadhramaut, con.rYemen, con.rHejaz, con.rTransjordan, con.rUpperEgypt, con.rAksum, con.rMerebMellash, con.rSuqutra]:
										iTotalCities += 1
									elif gc.getMap().plot(pCity.getX(), pCity.getY()).getRegionID() in [con.rSinai, con.rLowerEgypt]:
										if pCity.getY() < 33:
											iTotalCities += 1
				aHelp.append('Indian Ocean ports controlled: ' + str(iPortugueseCities) + '/' + str(iTotalCities))
 
so bobby, we have any progress so far? ansious to see the new barbarian invasion at Byzantium....
 
Leoreth, can you please insert 8 new posts for me after my OP in the SoI:Expanded thread, for me to use for development. (Link in my sig)

Moderator Action: I've sorted this out for you - though posting the request in someone else's thread wasn't the right way to ask (and I've moved that request here). If you want something like that doing, pm either Leoreth or myself and we'll action it.
Please read the forum rules: http://forums.civfanatics.com/showthread.php?t=422889
 
This is a modmodmod for the Sword of Islam that expands the map by 15 tiles to the east adding Greece, most of the Balkans, and eastern Libya. This was done because Greece was so crucial to the Byzantines and Ottomans that it seemed wrong not having it in the original mod (which I love, btw, or I wouldn't have done this.) Please report any bugs you find, so I can fix them, other than that (and possibly adding UHVs for the civs from the original mod that have none), this is the final version.

Download link - http://sourceforge.net/projects/theswordofislamexpanded/files/?

Credits for Expanded:
Bobby Martnen - Idea, coding, testing
DC123456789 - city name maps, settler maps
BenZL43 - province maps
srpt - Advice and problem-fixing
embryodead - answering questions about mod

(old post in spoilers)
Spoiler :
Hi

This is the development thread for a modmodmod of SoI called SoI expanded

This is currently for idea generation only, although I would appreciate modding help.

Please Suggest civs!

Ideas:
All civs will be playable
New Civs:
Mihrabanids
Saffarids
Tahirids
Kara Koyunlu
Chobanids
Jalayerids
Muzaffarids
Injuds
Kartids
Shabancara
Sardabars

Expand map 15 tiles to east to include greece

Thanks for this @Bobby Martnen.
I have played this a couple of times and i liked it! Twice as the Byzantines and twice as the Fatimids, and once as the Ottomans. In my experience, Fatimids get a bit too OP.
In my games as the Fatimids, I managed to build all the wonders in the quite and peace of Egypt. And when I played as Ottomans, they had come all the way to turkey and had Sultanate of Rum as their vassals which basically didn't give me any breathing space. Adding Ikhshidid dynasty (loyal to the Abbasids) and the Zirid dynasty(client state of Fatimids) could potentially make the game more interesting.

Btw, I see that you are thinking of adding all them short lived dynasties in the region. I love the idea! I don't know if my suggestion is in the scope of this modmod, but As you know, adding all those little dynasties will add to the complexity of the game, which will make it harder to fulfill the historical conditions. I was thinking it would be great if instead of 3 conditions, each civ had 4 or 5 conditions, three of which you would have to fulfill in order to win the game. this way the game will be more easily manageable and it will make it possible to have some exciting deviations from the actual history. it will also make it possible for the player to come up with his or her own strategy as opposed to just copying it from the strategy page and play the game a certain way.
 
Back
Top Bottom