Thanks for helping me validate my work! It's much appreciated.
Keep in mind that I'm working to figure out how to get exact calculations - a discrepancy of 20% is a big deal, so 'close enough' doesn't count.
I'd also love if you run your numbers against Brittany in 867 and look specifically at sub-vassals in the county of Mortain, which appear to experience the -75% for being outside capital region despite being ignored in the leger.
Anyway, the more eyes the better.
The military tab lists 1448 men.
Ignore the military tab when checking how many troops spawn. You appear to be ignoring the leger, which is where the actual values are determined.
Add the total levies from your Realm Levies page (Page 3) of your leger. At 0.1 match multi, it will reliably spawn 10% of the total of all the numbers listed there (x3, since the event you're using spawns 3 stacks).
The amount you can spawn via the military tab will always be smaller than this unless you specifically have bad relations/low crown law.
I don't see any 50% modifiers missing from my tests. A large part of France's vassal troops come from outside the de jure kingdom, yet the numbers match. The HREmperor gets about 20% more event troops than he should, so a missing 25% modifier somewhere could be possible, but again, many vassals are even outside the de jure empire.
Since you're not looking in the leger, you won't notice where the 20% discrepancy comes from. I'll get into the 0.5 modifier later in this post.
To verify, I popped open Brittany in 1066. Here were my leger values (non-0 holdings):
Code:
Holding (Vassal): Lt Inf/Pikemen/Arch/Hvy Inf/Lt Cav/Hrs Arch/Hvy Cav/Total
Barony of Rennes (demesne) 224 48 16 352 152 0 56 848
Barony of Nantes 71 7 5 92 48 0 0 223
Barony of Quimper 57 12 4 89 38 0 14 214
Barony of St Pol de Leon 11 2 1 18 12 0 3 47
City of Hennebont 21 5 17 0 0 0 0 43
City of Guerande 24 14 19 0 0 0 0 57
City of Carhaix 21 5 17 0 0 0 0 43
City of Brest 42 11 33 0 0 0 0 86
City of St. Brieuc 16 4 13 0 0 0 0 33
Total 487 108 125 551 250 0 73 1594
match_mult = 0.1 48 10 12 55 25 0 7 157
I trigger Event 45002 and get 3 stacks of 144 - well shit, where'd I mess up?
The "From Demesne" value is 848 and my "From Vassals" value is 412, for a total of 1260. If the game derived from these values, I would see 3 stacks of ~126, but I don't, because they don't.
Wait, Count Morvan of Leon (Barony of St Pol de Leon) is leading a dangerous faction against me, so let's try removing Barony of St Pol de Leon and City of Brest (his vassal) from the equation.
Code:
Barony of Rennes (demesne): 224 48 16 352 152 0 56 848
Barony of Nantes: 71 7 5 92 48 0 0 223
Barony of Quimper 57 12 4 89 38 0 14 214
City of Hennebont: 21 5 17 0 0 0 0 43
City of Guerande: 24 14 19 0 0 0 0 57
City of Carhaix: 21 5 17 0 0 0 0 43
City of St. Brieuc: 16 4 13 0 0 0 0 33
Total 434 95 91 533 238 0 70 1461
match_mult = 0.1 43 9 9 53 23 0 7 144
Huzzah! Apparently, match_mult does remove the levies of anyone leading a dangerous faction, which makes some sense but seems to fall into the same trap of rewarding you with easier event spawns when your vassals hate you.
Or, as I said in my post:
match_mult = 1.0 will spawn a number of event troops equal to the grand total of levies as listed in the Realm Levies page of your leger (Page 3).
I did miss the fact that it excludes dangerous faction forces, which is huge, so thank you for helping me find that oversight
Okay, so back to the discrepancies between military screen and leger. Let's look at my good buddy Count Hoel of Nantes and his vassals. I've got an opinion of 44 with him, and we're rocking normal crown law (-20%), which means I should be getting 35.2% of his maximum possible levies based on opinion and laws. Cool! That's what it says.
Count Hoel's capital holding, the Barony of Nantes, has a Total Garrison value of 643, broken down as:
Light Infantry: 203 * 35.2% = 71
Pikemen: 21 * 35.2% = 7
Archers: 14 * 35.2% = 5
Heavy Infantry: 261 * 35.2% = 92
Light Cavalry: 137 * 35.2% = 48
For a total of 643, or 223 after taking opinion and laws into account. Well, that's exactly what the leger says, so yay! Math!
Or, as I said in my post:
Leger Value = Total Levy of Holding * ((Opinion Modifier * (1-Levy Law Penalty)) OR Crown Law Minimums, whichever is higher)
I think that further confirms where the actual data comes from when deriving event troops, which is calculated different from what you see on the military page and is completely different from what you can actually raise as a liege levy.
I have to go to work, but I'll do a break down of how the military screen breaks down when I get home tonight. Some of my numbers are producing odd results, so thank you again for forcing me to further validate my findings on different nations/timeframes. I'll break down one of the counts giving me levies and calculate why those numbers appear as they do, and hopefully prove the default 0.5 penalty with maths.
(Which, btw, is and has been in the defines since 1.11 as)
Code:
LIEGE_LEVY_SIZE_MULTIPLIER = 0.5, -- The Size of the liege levy will be the total troops in the vassal subrealm * this
I'll be around posting throughout the day, but won't be able to go back into maths analysis mode until tonight.