_gender = (SoldierGender)RNG::generate(0, 1);_look = (SoldierLook)RNG::generate(0,3);
soldiers: - type: XCOM#... genderRatio: [3, 1]
lucky guys
weird this is the only part in the code i could find in regard to gender creation Code: [Select] _gender = (SoldierGender)RNG::generate(0, 1);_look = (SoldierLook)RNG::generate(0,3);the ruleset has Code: [Select]soldiers: - type: XCOM#... genderRatio: [3, 1]but this number is never used at least as far as i can see
It's always been a 50:50 ratio. I have no idea where the ruleset thing comes from because it has no effect.
There's lookWeights line in the .nam files, but it's only for skin color, not gender.I've always thought the gender ratio was something like 2:1 in favor of men, at least that's what I've been constantly getting in the original.
default is 1:1, xcom1ruleset makes it 3:1, we're not gender biased, vanilla ruleset is.
default is 1:1, xcom1ruleset makes it 3:1, we're not gender biased, vanilla ruleset is.these ratios can also be overridden by the .nam files, so recruits from the planet amazonia can have a 100% female ratio.
If you remove the 1:3 ratio rule from the ruleset then Openxcom's engine will default to 1:1 (1/2 Male and 1/2 Female) because Openxcom isn't sexist, only vanilla x-com and the default ruleset.