Currently each helicopter in a template has an equal chance of spawning in the crashed helicopter mission, this means that if there's 5 transport helicopters and 1 attack helicopter the chance of getting a transport is 1/6th - it's entirely dependent on what the faction looks like.
This is because the code pulls all helicopters into one array and then just selects a random element.
Describe the solution you'd like.
We need some scheme that allows for more direct control over the probability of each helicopter class, more weights and levers to adjust them couldn't be bad.
There's similar functionality in getVehiclesGroundXXX and getVehiclesAirSupport. You probably don't need the war level tables but ideally you do adjust for missing attack or lightAttack.
What is wrong with the balance currently?
Currently each helicopter in a template has an equal chance of spawning in the crashed helicopter mission, this means that if there's 5 transport helicopters and 1 attack helicopter the chance of getting a transport is 1/6th - it's entirely dependent on what the faction looks like. This is because the code pulls all helicopters into one array and then just selects a random element.
Describe the solution you'd like.
We need some scheme that allows for more direct control over the probability of each helicopter class, more weights and levers to adjust them couldn't be bad.
Alternative solutions
No response
Additional context
No response