Good questions!
1. If we plug in the number 5 into the formula, we actually get 66, so there isn't a discrepancy between the code and what you see in game there. The thing is, the way the game calculates "tier" is based on the level of your troops that you see when you click on them in the party view. The way
we naturally think of tiers is by just counting how many rows there are (so the bottom row is "tier 5" to us. To simplify it, in the game files, the "GetCharacterTier" function does this calculation: (C
haracterLevel - 5)/5, and then round up to the nearest whole number. It's funny that I used the Khajit troop as an example, because it's level 31, whereas some other Top Tier troops look like they are around level 26 or so. That leaves the Khajit Troop actually being Rank 6, not Rank 5, so that was my mistake.
2. That was a typo on my part. It's a dailyTick, so you gain one conformity per
day, not hour.
3. Yes. So another way to put it is this in pseudo-code:
C#:
pick one of these prisoners at random
generate a decimal number between 0 and 1 (you could also think of it has 0-100)
if the random number chosen is less than the value assigned to that prisoner:
t recruit the prisoner
The number of times that that code is run is equal to the number of prisoners you have.
So understand that that does not mean you will definitely try to recruit each prisoner each day. If you're unlucky, you might only try to recruit 5 out of the 20 prisoners you have, because those 5 prisoners were chosen at random 20 different times on a single day.
4. The important part of the last snippet says that if you rolled the dice luckily with the random number between 0 and 1, the prisoner can then be recruited. Checking conformity is handled elsewhere, but it's straightforward enough to check that so I won't go into detail.
And to your edit: I've only played like 7 hours of the actual game lol, so I'm not sure, but I'll look into that next, maybe make a mod until it gets fixed if so. Also, use the mod recommended earlier, it fixes a bug with recruitment that I missed earlier. That should fix the problem of not being able to recruit high level prisoners.
Allows prisoner-menu recruitment of Tier 5 and Tier 6 units, which is currently impossible due to a bug in the base game.Works as of 1.1.0 and 1.0.10
www.nexusmods.com