Usage:
ObjectTemplate.SetGearDownEngineInput
number
Argument values:
argument 1: |
range is 0 to 0.55; most commonly 0.55
|
Description: For airplanes, the engine's RPM must be below this threshold before
the plane's landing gear is lowered. The plane will need to be below the
SetGearDownHeight, too.
To see Engine RPM, hit F8 to turn off radio tooltips (if you have them on), then hit
` (back-tick - left of the '1' key, aka tilde) to bring up console window. In the console
window type:
Console.ShowStats 1
Then press ` again to remove console window. You should see many internal stats on screen.
Engine RPM is near the top of the bottom-right-most block of stats.
Engine RPM, and hence SetGearDownEngineInput values, are between -1 (reverse) and 1.
A value of (around) 0 means the engine is stopped. Values used in BF 1942: 0.4 for the B17
and Corsair, 0.55 for all the rest.
Related properties: SetGearDownHeight,
SetGearUpHeight, SetGearUpEngineInput
Used in object types (and how often in each type): LandingGear (69%)
Used in a total of 19 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Air/HO229/Objects.con)
rem *** HO229LandingGearL ***
ObjectTemplate.Create LandingGear HO229LandingGearL
ObjectTemplate.LoadSoundScript ../Common/Sounds/LandingGear.ssc
ObjectTemplate.Geometry HO229_gear_left_m1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate HO229Wheel_Left
ObjectTemplate.SetPosition 0/-1.2/0
rem -------------------------------------
ObjectTemplate.SetMaxRotation 0/0/90
ObjectTemplate.SetMaxSpeed 0/0/30
ObjectTemplate.SetAcceleration 0/0/80
ObjectTemplate.SetGearDownHeight 25
ObjectTemplate.SetGearDownEngineInput 0.55
ObjectTemplate.SetGearUpEngineInput 0.7
Go to the ObjectTemplate
properties list page, ObjectTemplate
page, All
Properties list, or Main
scripting page.