BT-wasted
making the failiures dependent on rpm and and G's sounds a great idea, i like that a lot.
When i refered to guns jamming i was talking about planes like the early P-51's where the ammo belts would jam in high G turns, so your solution above sounds great.
Ashamed to say i still have not had time to try this yet, had a busy family weekend sorry, i have a few questions that i thought of though.
How are the random failiures called? for example if i set FailureRate 20 does that mean there is a 20% chance of any one of the failiures occuring? or a 20% chance for each individual failiure? so i could in effect have all failiures occur in a mission.
Does the random failiures mod run continuosly from mission start untill end? or is a check made at various times and a failiure applied then if the conditions are met?
Does this mod also affect jets? or only prop aircraft?
I was thinking maybe in the future it may be possible to have the defects have individual probabilities of occuring, maybe something like
[MODS]
FailureRate: Engine Prop Angle 10
FailureRate: Engine Cylinders 10
FailureRate: Engine Crank Case 40
FailureRate: Engine Cylinders Damaged 30
Users could then fine tune a profile for different aircraft, rather than trying to implement different code for each individual aircraft.
for example, late war German jets might have quite a high chance of engine failiure due to there engines being new technology. I understand early Typhoons had a fairly high rate of engine failiure on takeoff. P-38's had trouble with superchargers at high altitude etc.
just a few thoughts mate anyway, hopefully have a chance to test tomorrow.
regards
slipper