Uhhh, does this look right?

Tancretus

Chieftain
Joined
Oct 26, 2020
Messages
47
Location
Between subsets of Infinity
civ_037.png


Isn't this too close to Delhi to spawn as land Barbs?
 
No, nothing unusual. You mean because it's the capital?
I researched land barb spawning (some details can be found here) and they usually spawn 4-6 tiles from the city (also diagonally).
A guy on this forum frequently posts pseudo-code of the game from disassembly work, I'm not sure if he posted code for barb spawning, try searching this forum's history.
 
No, nothing unusual. You mean because it's the capital?
I researched land barb spawning (some details can be found here) and they usually spawn 4-6 tiles from the city (also diagonally).
A guy on this forum frequently posts pseudo-code of the game from disassembly work, I'm not sure if he posted code for barb spawning, try searching this forum's history.

Yup, you actually posted this back ~2018 with SWY, but what I might need clarified is if it's 4 -spaced- between or not.

From Delhi to the stacked Barbs, it's 1,2,3 and on the 4th tile is the Barbs. That doesn't seem right. Three tiles spaced?

1,2,3,4 and on the 5th, Barbs. I could see that.
 
A guy on this forum frequently posts pseudo-code of the game from disassembly work, I'm not sure if he posted code for barb spawning, try searching this forum's history.
Ah, yes, it's here: https://forums.civfanatics.com/threads/barbarians-spawn-logic.630389/page-2

I think important thing to mention here is how the game calculates distances: if x distance > y distance, then distance is x distance + y distance/2 (rounded down). Otherwise (if y distance >= x distance) distance is y distance + x distance/2 (rounded down). Game uses this formula practiсally everywhere, even though in actual gameplay diagonal = vertical or horizontal path. So, north cavalry is at distance 4+2/1=5 from Delhi. Which is still not allright.
Is north cavalry actually at its spawn spot? Can it be that it already moved? It should spawn in any square from -6 to +6 x and -6 to +6 y from some city, but not closer than at the distance 6 (by above-mentioned formula) from the closest city.
 
I believe all barbs spawn in one spot then move (in the same turn they spawn). These appear to have moved.
 
Correction about "Residents of <City1> admire the prosperity of <City2>". It seems that city square should be discovered by your civ (like for any other disaster message) for this message to show up. If this square is explored, then the message will be shown, no matter if your or enemy civ takes the city. But next "<Civ> rebel! Civil war in <City1>..." etc. always shown, because it's just a regular message from city bribery routine (because this routine is called for "admiration" event).
 
Back
Top Bottom