How to spread religion as India

If you have a trade route, the pressure is not determined by distance
This is true for sure that pressure is not affected by distance if there is a Trade Route. However i was under impression that Traderoute just equilize pressure between cities, so that if cityA has +25 and cityB has +5 than Traderoute between them will make cityB +25 and cityA will remain the same.
Though i don't know if there were any changes to that over the past months. Changelogs do not have any changes but from time to time a brownie elf steals some entries from the changelogs...
 
Is this iMaxDistance a fixed value? Do you tweak with it or is it dependent on map size?

As I understand the code, let's just say that iMaxDistance is 12. Then iMaxDistance/2 + 1 is 7. This means that up to 7 apparent distance (measured in steps, I guess), value is 100% original city pressure. Between 7 and 12 apparent distance the value is linearly dumped, meaning that at 7 is 100%, at 9 is 50% and at 12 and over it it is 0%.

The trade routes thing explain why capitals/holy cities are always spreading much better with their trade routes. That's where most faith is produced. It's nice to know that if I want to spread through trade routes I don't need to invest in buildings that add pressure, just increase holy city faith per turn production.

Now I'm only missing iMaxDistance value for fixing my guide.
 
Ok reading through the code a little more, I understand it more fundamentally.

You have 3 values:

1) The distance from the current city to the "next city".
2) The distance at which the pressure from that city becomes 0 (its called max distance but that's a slight misnomer, as at max its 0. So 1 less than that is the actual max distance any pressure pushes through).
3) The distance that 100% of pressure goes through. This is Max Distance / 2 + 1. That's why Iteroi used "HundredAt" for the variable name.

What I don't understand is what is the purpose of the first ElseIF statement. From what I can gather, this would only occur at max distance 2. So how can your distance ever be greater than your max distance? I'm guessing this just a safety check and not truly functional.

So now just to show some examples:

Lets say my city has a max distance of 10 (I'm not sure how max distance is calculated just yet). It generates 10 pressure. This is how much pressure it generates to a city, based on its distance away.

1-6: 10 pressure
7: 7.5
8: 5
9: 2.5
10+: 0
 
Last edited:
Ok reading through the code a little more, I understand it more fundamentally.

You have 3 values:

1) The distance from the current city to the "next city".
2) The distance at which the pressure from that city becomes 0 (its called max distance but that's a slight misnomer, as at max its 0. So 1 less than that is the actual max distance any pressure pushes through).
3) The distance that 100% of pressure goes through. This is Max Distance / 2 + 1. That's why Iteroi used "HundredAt" for the variable name.

What I don't understand is what is the purpose of the first ElseIF statement. From what I can gather, this would only occur at max distance 2. So how can your distance ever be greater than your max distance? I'm guessing this just a safety check and not truly functional.

So now just to show some examples:

Lets say my city has a max distance of 10 (I'm not sure how max distance is calculated just yet). It generates 10 pressure. This is how much pressure it generates to a city, based on its distance away.

1-6: 10 pressure
7: 7.5
8: 5
9: 2.5
10+: 0

That’s pretty much right. Note that I only pasted the part of the function that fires if you do NOT have a trade route - this is the natural spread part of it.

G
 
1) The distance from the current city to the "next city".
2) The distance at which the pressure from that city becomes 0 (its called max distance but that's a slight misnomer, as at max its 0. So 1 less than that is the actual max distance any pressure pushes through).
3) The distance that 100% of pressure goes through. This is Max Distance / 2 + 1. That's why Iteroi used "HundredAt" for the variable name.
That’s pretty much right.
How does Ritual works than? Does it increase Max Disstance by 20% so it is 14? And 100% Pressure will work on 8 steps then?
Trade Route between cities makes distance between them 0?
 
Also, little doubt, does the number of followers in a city influece the spreading through trade routes? Or is it just the faith per turn production in the city?

From the formuals that G posted. Faith is what determines that multiplier of your religious pressure through trade routes. However, the base pressure would still come from your usual pressure sources...aka followers.
 
From the formuals that G posted. Faith is what determines that multiplier of your religious pressure through trade routes. However, the base pressure would still come from your usual pressure sources...aka followers.
Ok thanks. So if I wanted to increase my pressure trough trade routes, I still need many followers in the origin city. This fits with Statecraft.
 
Back
Top Bottom