Sid Meier's Civilization V

Sid Meier's Civilization V

Favorite Religion Randomizer
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.
*Sharp Keening at 40 Decibels* 25 May, 2016 @ 3:25pm 
Help it isn't even appering in the enable option
Apepepopo 9 Dec, 2015 @ 9:44am 
@☭✮Şlavicam✮☭ Subscribe to the mod, launch civ and click "MODS'". Then you choose this mod (and any other mods if you wish). Wait for civ to configure the game settings and all that, and now you can play! (Might not affect already saved games, idk)
G0BL1NBOT_ 14 Sep, 2015 @ 2:29pm 
How do i use it?
A Professional With Standards 12 Jul, 2015 @ 11:06pm 
Over a hundred religions to choose from and I still always find catholicism, confucionism, and most of the other default ones in the game :/ is there something affecting this? Like you said that as I open the setup screen, the order is changed, can things like every AI civ being random until I set them or having a mod that edits the setup configuration menu affect this, because after several games the same civs always choose the same religion.
Kerovanka 21 Jun, 2015 @ 9:28am 
because of religious mods crashes occur.remove all religious fashion.
precisely I do not know of any mods crashes.question:
is compatible your mod Favorite Religion Randomizer with other religious mod????
crashes occur in connection with small towns at their request distribution of my adopted religion!
Venusaisha 2 Jun, 2015 @ 10:20pm 
dice urself up for saled then ye got a sale har
saber720 4 Jan, 2015 @ 5:50pm 
It doesn't seem to work with the Strange Religions mod. The bots pick a random religion, but not one of those.
Ryoga  [author] 14 Dec, 2014 @ 6:36am 
I added an alternative download link at the end of the description.
dannymalt 13 Dec, 2014 @ 10:45pm 
Direct download link for Mac Users please? Thanks.
Ricky Rescue 4 Nov, 2014 @ 1:56pm 
okayy thank you!
Ryoga  [author] 3 Nov, 2014 @ 8:33pm 
This mod assigns favorite religions randomly. If you wish to assign a specific favorite religion to a Civ you need to make your own modification.
It is fairly easy if you know how to change XML files.
You may want to check my other mod "Default Strange Religions" and look into its XML to see how it's done.
Ricky Rescue 3 Nov, 2014 @ 8:28pm 
yeah, like can i use the mod to choose religions of other mods as a countrys' preferred religion?
Ryoga  [author] 3 Nov, 2014 @ 5:11am 
You mean in general?
Ricky Rescue 2 Nov, 2014 @ 8:24pm 
how do you change which religion is a civs favorite?
Ryoga  [author] 26 Oct, 2014 @ 6:54pm 
subscribe then start the game then select mods, browse the list until you find this mod, activate it, then press next, and then you do your usual stuff.
cjraven 26 Oct, 2014 @ 11:39am 
how do you use it
Ryoga  [author] 22 Oct, 2014 @ 6:46pm 
Context is relevant to the understanding of a sentence.
Ryoga  [author] 22 Oct, 2014 @ 6:04pm 
Yeah I'm also going to be very busy with Civ BE.
But you may never know, one day you might find yourself wanting to play some more Civ V games.
Tap.Water 22 Oct, 2014 @ 5:19pm 
I subscribed... Then realized that if I don't play Civ V today or thursday... I may never use this. :|
Ryoga  [author] 22 Oct, 2014 @ 3:00pm 
if you delete religion preferences then the AI simply doesn't chose any religion at all.

Assigning a random preference via sql is possible and that's what this mod does. The actual religion selection however happens on C++ level and it's impossible to mod without recompiling the entire core DLL.
sokolsan 22 Oct, 2014 @ 11:33am 
Ну и как?
Teddyk 22 Oct, 2014 @ 2:28am 
Nice mod.
I am curious if Civ Religion preference can be deleted so civs would choose religion completely randomly (once your mod is enabled). Or can you assign random religion to each civ with sql?
Ryoga  [author] 21 Oct, 2014 @ 8:41pm 
I haven't checked how beliefs are chosen, but I'm pretty sure there isn't a fixed pattern. Maybe there is some bias involved. I'll look into that.
Am 21 Oct, 2014 @ 8:20pm 
hmm
A Loaf of Bread 21 Oct, 2014 @ 5:05pm 
Would it be possible to randomize pantheons chosen as well? The first civ to choose nearly always picks the +30% city defense one, kinda annoying really.
burctanriver 20 Oct, 2014 @ 9:53pm 
halflife2 gammmme iss excellent ::Y?İ.voık jm jklpkojhgyuı,




Ryoga  [author] 20 Oct, 2014 @ 6:47pm 
I already tried that, but it has a inherent problem.
It works well as long as you can play a game continuously, but upon saving the game only saves the "ID" of the religion and not its "type". So once you reload you can either reload with the mod (which would randomize the religions again) or without (which means the religion will have their default ID). In either case you'll see the civs that founded religions before, including yourself, having completely different religions that you remembered.

So this is not a viable option, not via SQL. However I might have found a way to solve the problem through another method.
RandyG 20 Oct, 2014 @ 6:16pm 
Can you assign each religion a random number in SQL and then order the religions by number, for example lowest to highest? This way the religion order changes each game; therefore, when a civ’s favorite religion is chosen, the first available not yet picked religion will be different from game to game.
boclapsaddle 17 Oct, 2014 @ 9:51am 
It sounds like you know what you are doing, I will add it to the long list of mods that I play with and get back with you ifI have any problems. I am new and this is my first post on steam. I have a question?
I have played civilization since civ. III and was wondering if there is a lobby room like civ. III had where people got together for online games. I have only seen people posting messages for games. Can you take certain mods and add them together for one mod so that I would not have to keep remembering what mods was used on my saved games. I find using the same mods on the loads is simplier and there is no conflicts.