Hi. o/
In general I agree that the proposed "per soldierType rank caps", as well as separate rank pools, may be useful.
And if I understand correctly, overall this is a suggestion about improving a very limited ranking system customization and so also I had a very-very similar sounding suggestion lying around in my suggestions pile and because they are so similar, I think it's a good idea to write it down here, instead of creating another thread.
1. Customizable "rankGroup(s)".
Meaning that 10 dogs can have their own rank distribution pool and 10 soldier can have theirs.
Or 10 dogs + 10 cats can share the same animal ranking group and 10 soldiers + 10 auxiliaries the human ranking group.
Rn all of them will count as 20-40 units and the ranks will be distributed across all of them.
Specifying rankGroup(s) and their attributes can be done in the same file where other global stuff is sitting.
1.1 Custom rank distribution rules per rankGroup.
Same as "soldiersPerSergeant" and etc. but per rank group.
1.2 Custom rank amount per rankGroup.
Current "rankStrings", I think, allows to go bellow but not above.
A quick demo (only to represent the idea, not the actual syntaxis):
That's generally just an idea. I'm not sure how needed for the rest of modders it will be, so I didn't want to create a thread for a long time, because the implementation probably is very time consuming and effectively is a creation of a new system.
Maybe your proposed suggestion is easier to implement and will suffice. But I do think that ranking system customization rn is very limited and needs to be tweaked at least a little bit.