Any more specific religion founding rules?

Does anyone know the exact process by which the game selects where a religion will be founded?

Yes. The answer is sort of scattered through the Strategy and Tips forum. I've threatened a few times to write a conclusive post on it, but never bothered :(

A piece
Another piece
A clarification

The basic drill when a team is founded is
a) Determine randomly (from the eligible teams) which TEAM will found the religion
b) Determine randomly (from the eligible players on the team) which PLAYER will found the religion
c) Determine randomly (from the available cities) the Holy City.

(a) and (b) have a bias which favors humans over AI players. (c) has a number of biases - capital, number of religions already present, population, age [technically, where it shows up in your city list].
 
i took the question to mean in single player, when you found it, how is it decided which city it will found to. Was I incorrect in this assumption?
 
that answer is in VoU's piece 1. for single player:

it's basically, city with no religion. if all cities have religion, city with fewest number of religions. note that whether it's a holy city for a religion does not matter, just if it has a religion. if all cities have the same number of religions, including zero, ties go to the highest population city, and i think to the older of two tied exact same number of religion, same population cities. you then take those factors and throw them in to wrestle with the RNG a little bit and see what comes out.

your capital will never be the holy city once you have another city. it's theoretically possible, but you add up all the factors for all the cities, and the capital's result is divided by 8 before it compares them. so fat chance there.

if your empire is smallish and you're about to settle what you know you want to be holy city wall street ville, make sure your other cities have a religion in them already if that's possible. if you want to try for a double holy city, get as many religions as you can to the OTHER cities but not your target holy city, and keep target holy city's population high and get the other cities populations low right before you found the religion. and then hope the RNG does what you want it to do. it doesn't always work for me, but it does quite often, often enough that i put particular effort into it and do take a risk at delaying a tech a turn or even two :eek: sometimes to get to the double.

i don't read code, this is my understanding of the code from reading people's explanations of it and my own observations of the game. VoU does read code, and will step in to correct me where i'm wrong i hope!
 
Nice try KMad, though it looks to me as though you got it... not wrong, precisely, but backwards.

OK, clarification #1 - the sequence I described IS how it works in single player (although for no good reason I wrote "team is founded" when I should have written "religion is founded". Sorry about that.) Single player games do include multiple civs founding a religion at the same time (consider a non ancient start), and have the possibility of permanent alliances when religions are founded (as you can start with teams).

The "but which city is it" is part three. KMad has the right idea, but describes it backwards....

Assuming that "you" are selected as the founder of the religion, each of your cities gets a score. The city with the highest score gets the religion; in the case of a tie, the first city - meaning the city that shows up first in your city list in the domestic advisor - gets the religion. That usually means oldest cities first - but a cities you capture come after the cities you controlled prior to the capture, and losing a city probably moves it around in the list.

The score for each city is recalculated every time you found a religion, and that score is
( 10 + currentPopulation + random(10) ) / (1 + current_religions_in_city )

The score is divided by 8 again if the city is the capital.

random(10) means a die roll that gives a number from 0 .. 9; not quite precisely uniformly distributed, but very close to that.

KMad did get the strategic implications correct... except that those same ideas apply even if your empire isn't "smallish".
 
hehe by smallish i meant that i only bother to try to coordinate where it'll appear if my empire isn't so big that it would be a headache to do so ;).

i don't understand about how it's backwards or forwards but that's okay, i don't have to *giggle*. thank you!
 
Back
Top Bottom