I guess that you could say that city size matters, and that cities with religions present are less likely to be chosen. But there's still a random element to it.Here's the raw truth for those interested:
Broken down for convenience the value is counted for each city as
(10 + POPULATION + RAND(1,10)) / (RELIGIONS_PRESENT + 1)
and further divided by 8 for the capital. The city with the biggest value gets chosen.
Spoiler wall of C++ :for (pLoopCity = firstCity(&iLoop); pLoopCity != NULL; pLoopCity = nextCity(&iLoop))
{
if (!bStarting || !(pLoopCity->isHolyCity()))
{
iValue = 10;
iValue += pLoopCity->getPopulation();
iValue += GC.getGameINLINE().getSorenRandNum(GC.getDefineINT("FOUND_RELIGION_CITY_RAND"), "Found Religion");
iValue /= (pLoopCity->getReligionCount() + 1);
if (pLoopCity->isCapital())
{
iValue /= 8;
}
iValue = std::max(1, iValue);
if (iValue > iBestValue)
{
iBestValue = iValue;
pBestCity = pLoopCity;
}
}
}
I guess that you could say that city size matters, and that cities with religions present are less likely to be chosen. But there's still a random element to it.
...otherwise, you have no real control
That's not really true. Population counts for quite a bit when the roll is made, so you can whip all the cities where you don't want to have the religion be founded just before you get the religion. It's not 100% effective at controlling the placement, but it does work most of the time.
I must be missing something really obvious here, i kept copies of the calcs from posts,to reread next time. Like i said if i get it quick, meditation, it goes to my Capital, cause its my only city
but say christianity with 10 citires high POP capital whip the others, it still seens to go to the worst possible site, if i already have a religion mine or someone elses its already spread everywhere by then or at least to any decent choice, I.d whip the capital if it would help with say leaving my fouth city high, use missionarys to convert bad sites etc, allcities BUT it still SEEMS totally random![]()
Yeah, but population doesn't weigh in that heavily in the early game, since cities are still fairly small then. It's mostly random, which means that it's essentially random.
Suppose there is a 20pop non-capital city with 1 religion present and a 2pop city with no religion. Then the quoted formula works out to each of these cities having an equal chance of being chosen as the new Holy City. .
Let's say you have 3 different religions in your empire.
I don't have a lot of 20 pop cities in the early game when religions are being founded.
Also, you're saying that even with an 18 pop difference, the odds are only 60-40 in favor of the larger city over the barbarian frontier city. That's pretty close to random - close enough to be very often frustrating if you count on religions popping up where you want them to.
So I'm wondering if it was a random roll between the two cities the larger one was pop 2 and the other was still level 1.