View Full Version : # of Religions Scaling with Map Sizes
Afforess Sep 28, 2009, 08:13 AM In RoM, there are modmod's that allow 20+ religions in a game. While fun for larger maps, this just gets oppressive for religious victories on smaller maps. How hard would it, in the SDK, to force the game to scale the number of religions (randomly), and remove the extras, based on the map size? That way duel maps only have 5 religions, but a huge map would have them all. Is this even possible?
The_J Sep 28, 2009, 12:53 PM No idea, how it's in the SDK, but in CvGameUtils, there's a doReligion callback.
def doReligion(self,argsList):
pCity = argsList[0]
return False
The return value irritates me a bit, but it shouldn't be a problem, to check, how many civs are alive, and how many religions have already been founded, and then to decide, if you want to allow one more.
phungus420 Sep 28, 2009, 01:11 PM The best way to implement this would be by creating a new integer tag in WorldInfos which defines the # of religions used for the map size. I'd probably use such a modcomp if you made one. Me thinks it would be a bit complex to program though, beyond my level at least.
Afforess Sep 28, 2009, 01:29 PM The best way to implement this would be by creating a new integer tag in WorldInfos which defines the # of religions used for the map size. I'd probably use such a modcomp if you made one. Me thinks it would be a bit complex to program though, beyond my level at least.
That sounds like a good idea. I'll see what I can come up with, and if it works, I'll release it.
phungus420 Sep 28, 2009, 01:42 PM Another thing to go along with it, would be to add a boolean tag to allow schisms, since schisms seem to be a popular religious component. However I only think they are viable on large maps. It would be pretty cool to be able to set up the WorldInfos file so that on Duel maps you have 3 religions, Tiny 4, Small 6, Standard 7, Large 7 + Schisms, and Huge 12 + Schisms, or some such system.
Anyway that would be my ideal setup (not the numbers, but the ability to set them in the WorldInfos file), if you succeded I think it would be a pretty popular modcomp, and it would increase the popularity of some of the other religious modcomps like the Rapture mod, which many of us stay away from incorporating because it just doesn't seem fun to have 20 religions on a standard size map, even though that would work great on a Giant one, I've got to balance LoR around Standard size maps at least.
|
|