Usage:
ObjectTemplate.SetGearDownHeight
number
Argument values:
argument 1: | range is 0 to 25; most commonly 25 |
Description: For airplanes, this sets the height below which a plane's landing gear will be deployed (i.e., the wheels come down). Also, the engine RPM must be below SetGearDownEngineInput.
BF 1942 uses the value of 25 meters for all aircraft. See SetGearDownEngineInput for more information.
Related properties: SetGearUpHeight, SetGearDownEngineInput, 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/Corsair/Objects.con)
rem *** CorsairLandingGearLeft ***
ObjectTemplate.Create LandingGear CorsairLandingGearLeft
ObjectTemplate.LoadSoundScript ../Common/Sounds/LandingGear.ssc
ObjectTemplate.Geometry Corsair_Lwheel_Holder_m1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate CorsairWheelLeft
ObjectTemplate.SetPosition 0.11/-0.959/-0.049
rem -------------------------------------
ObjectTemplate.SetMaxRotation 90/0/90
ObjectTemplate.SetMaxSpeed 30/0/30
ObjectTemplate.SetAcceleration 75/0/75
ObjectTemplate.SetGearDownHeight 25
ObjectTemplate.SetGearUpHeight 23
ObjectTemplate.SetGearDownEngineInput 0.4
ObjectTemplate.SetGearUpEngineInput 0.7
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.