SetGearUpEngineInput Property

Usage:
   ObjectTemplate.SetGearUpEngineInput number

Argument values:

argument 1:    range is 0.3 to 0.83; most commonly 0.83

Description: For airplanes, engine RPM must be above this threshold before the landing gear is raised. The plane will need to be above SetGearUpHeight off the ground, 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 the tilde) to bring up console window. Into the console window type:

 Console.ShowStats 1

Then press ` again to remove console window. You should see a load of internal stats on screen. Engine RPM is near the top of the bottom-right-most block of stats.

Engine RPM, and hence SetGearUpEngineInput values, are between -1 (reverse) and 1. A value of (around) 0 means the engine is stopped. Typical values are 0.7 for B17 and Corsair, and 0.8 or 0.83 for the rest.

Related properties: SetGearDownEngineInput, SetGearDownHeight, SetGearUpHeight

Used in object types (and how often in each type): LandingGear (54%)

Used in a total of 16 .con files: Objects.con

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from Bf1942/Levels/Battle_of_Britain/Objects/Ju88A/Objects.con)
   rem **********************************************
   rem * Landing Gear Objects *
   rem **********************************************
   rem *** Ju88A_Gear_Left ***
   ObjectTemplate.Create LandingGear Ju88A_Gear_Left
   ObjectTemplate.LoadSoundScript ../Common/Sounds/LandingGear.ssc
   ObjectTemplate.Geometry Ju88A_GearLeft_M1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   rem -------------------------------------
   ObjectTemplate.AddTemplate Ju88A_Wheel_Left
   ObjectTemplate.SetPosition -0.341/-1.094/-0.005
   rem -------------------------------------
   ObjectTemplate.SetMaxRotation 0/130/0
   ObjectTemplate.SetMaxSpeed 0/30/0
   ObjectTemplate.SetAcceleration 0/90/0
   ObjectTemplate.SetGearDownHeight 25
   ObjectTemplate.SetGearDownEngineInput 0.4
   ObjectTemplate.SetGearUpEngineInput 0.7


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.