Sid Meier's Civilization V

Sid Meier's Civilization V

120 ratings
Favorite Religion Randomizer
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.990 KB
15 Oct, 2014 @ 7:37pm
28 Jun, 2016 @ 11:25pm
3 Change Notes ( view )

Subscribe to download
Favorite Religion Randomizer

Description
You have been wanting this for a long time and now... it's here! [G&K or BNW required]

What does this mod do?
It randomly assigns to any available civilizations (including those from mods) a favorite religion from the list of all the available religions (including those from mods).
This happens before the game starts as soon as you see the setup screen.

Does that mean that the AI will pick a religion randomly?
Yes and no. The AI will choose the favorite religion that was assigned to it, but since they are assigned randomly before the game starts, they will be different each time. There will be no effect whatsoever, however, should their assigned favorite religion be already taken.

In other words?
By default in the vanilla game whenever an AI's favorite religion is already taken, it tries to take the first available religion from the list of religions. That list has a fixed order, when umodded it starts with Buddhism, then Christianity, then Confucianism and so on. This is why you might have seen in your games European civilizations frequently choosing Buddhism and Confucianism but almost never Sikhism.

So even with this mod an "AI" who was assigned a religion "x" that was already taken by another AI...
Will choose Buddhism without fail, unles it's already taken or some other mod changed the list.

Can something be done about that?
Well, you can reduce the chances of that happening. The more religions there are the better, and if the number of religions is higher than the number of civilizations, then the only one who can steal an AI's favorite religion is YOU. This mod makes sure that the same religion isn't assigned twice to two different civilizations when possible.

Where can I find more religions?
Check my "Strange Religions" mod as well as Tomatekh's "Historical Religions", with those combined you'll have more than a hundred. There are several others available on the Workshop.

Are there compatibility issues or known bugs?
None that I know of. This mod isn't made in LUA code, so there isn't actual programming involved. All that it does is updating the database through SQL before the game starts.
It might be possible that some other mods that change the favorite religions of civilizations will interfere. In case you notice that happening you can notify me about that and I can make it so that this mod loads after it, then the problem will be solved.

Enjoy

Alternative Download page: CivFanatics[forums.civfanatics.com]
39 Comments
Ryoga  [author] 15 Sep, 2016 @ 10:00am 
Okay after some research and testing it appears that the mods do not get loaded in alphabetical order but in order of activation (from the in game mod menu). Problem is the game has a cache so it remember the time you first activated a mod.

The reason why this mod started working after being renamed with a "ZZZ" at the beginning was not because it became the last in alphabetical order but because the game didn't recognize it anymore and therefore it appended it as the last activated mod on its list.

This means that renaming the mod yeah it works, but you'll have to rename it again each time you download a new custum civ that uses SQL to set its favorite religion.
AliceInDystopialand 14 Sep, 2016 @ 8:54am 
I tried that and it seems to have worked, at least for one modded civ
Ryoga  [author] 12 Sep, 2016 @ 5:29am 
I suppose they use SQL rather than XML to set up their custom Civ favorite religion (man why do they do that?)

I fear it would be just too much for me to fix the priority with every single custom Civ in existence.

MODS should be loaded in alphabetical order, so renaming this one with something like "ZZZ" in the beginning of the name would give it priority over everything else, But I'd need to make some tests.
AliceInDystopialand 10 Sep, 2016 @ 10:56am 
It seems this doesn't work when you're using a lot of faction mods, they'll just pick their default.
Ryoga  [author] 17 Jul, 2016 @ 9:35am 
Can you give more info on which mods are you using with it? Because it works fine on my side.
Osariik 17 Jul, 2016 @ 3:43am 
doesn't work
LovelyCorpse 1 Jul, 2016 @ 6:52am 
ill give it a shot, thanks. may shake things up a notch :)
Ryoga  [author] 28 Jun, 2016 @ 11:26pm 
I had forgotten Tomatekh made several different historical religion mods and all of them can potentially conflict. So I included them all in the fix. Hopefully I didn't miss any.
Ryoga  [author] 28 Jun, 2016 @ 10:48pm 
Now It's been a long time since I've been managing my mods.

Anyway, I've found what I think was the issue and fixed it. As a matter of facts the mod didn't have anything wrong, but an updated version of the "Historical Religions" mod created a conflict.

If you still have problems, that means there's yet another mod that creates a conflict. In that case try and figure out which it is and I'll remedy to that.
WHiTE ZombE 26 Jun, 2016 @ 8:41pm 
For anyone wondering, mod doesn't work anymore and most likely author isn't going to fix what's wrong. Too bad, too.