Suma
Nov 27 2002, 07:58
There are several new config entries for planes in 1.90 that could help addon creators, especially for planes that are much smaller or bigger than the default OFP planes:
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">landingSpeed = 0;
flapsFrictionCoef = 0.5;
wheelSteeringSensitivity = 1.0;
[/QUOTE]<span id='postcolor'>
landingSpeed
This entry tell AI autopilot what speed it should use when landing. It does not determine stall or landing speed, it is used to inform AI what the landing speed is. If zero (default) is given, landing speed is calculated as:
landingSpeed = max(maxSpeed/3, 120 km/h)
flapsFrictionCoef
This tells how much friction flaps cause when fully applied. Total airplane friction is modified as follows.
result_friction = air_friction * ( 1+ flap_state*flapsFrictionCoef)
wheelSteeringSensitivity
Use this to make airplane more or less steerable when taxiing. Bigger means value - smaller turn radius possible.
Using those entries will not cause any problem when addon is used with older OFP version, and it will improve addon in 1.90.
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">landingSpeed = 0;
flapsFrictionCoef = 0.5;
wheelSteeringSensitivity = 1.0;
[/QUOTE]<span id='postcolor'>
landingSpeed
This entry tell AI autopilot what speed it should use when landing. It does not determine stall or landing speed, it is used to inform AI what the landing speed is. If zero (default) is given, landing speed is calculated as:
landingSpeed = max(maxSpeed/3, 120 km/h)
flapsFrictionCoef
This tells how much friction flaps cause when fully applied. Total airplane friction is modified as follows.
result_friction = air_friction * ( 1+ flap_state*flapsFrictionCoef)
wheelSteeringSensitivity
Use this to make airplane more or less steerable when taxiing. Bigger means value - smaller turn radius possible.
Using those entries will not cause any problem when addon is used with older OFP version, and it will improve addon in 1.90.