Usage:
ObjectTemplate.SetGearDown
number
Argument values:
argument 1: | range is 0.3 to 0.45; most commonly 0.3 |
Description: This property sets how the engine speed affects gearing and automatic down-shifting. It is set for land vehicles and planes in Physics.con. For example, 0.5 means your car gear goes down to the next lower gear when half engine speed or less is reached.
Values used in BF: 0.3 for planes, 0.4 for jeeps, 0.45 for other land vehicles.
See SetGearUp for more explanation about gears.
Related properties: SetGearUp, SetGearChangeTime, SetNumberOfGears, SetTorque, SetDifferential, SetEngineType, SetNoPropellerEffectAtSpeed
Used in object types (and how often in each type): Engine (46%)
Used in a total of 55 .con files: Physics.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Land/Willy/Physics.con)
rem *** WillyEngine ***
ObjectTemplate.Create Engine WillyEngine
ObjectTemplate.SetNetworkableInfo WillyEngineInfo
ObjectTemplate.SetAttachToListener 1
ObjectTemplate.LoadSoundScript Sounds/WillyEngine.ssc
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate WillyFrontWheelR
ObjectTemplate.SetPosition 0.6/0.11/1.0
ObjectTemplate.AddTemplate WillyFrontWheelL
ObjectTemplate.SetPosition -0.6/0.11/1.0
ObjectTemplate.AddTemplate WillyBackSpringR
ObjectTemplate.SetPosition 0.6/-0.472/-1.21
ObjectTemplate.AddTemplate WillyBackSpringL
ObjectTemplate.SetPosition -0.6/-0.472/-1.21
rem -------------------------------------
ObjectTemplate.SetMinRotation 0/0/-5000
ObjectTemplate.SetMaxRotation 0/0/5000
ObjectTemplate.SetMaxSpeed 0/0/55000
ObjectTemplate.SetAcceleration 0/0/55000
ObjectTemplate.SetInputToRoll c_PIThrottle
ObjectTemplate.SetAutomaticReset 1
ObjectTemplate.SetEngineType c_ETCar
ObjectTemplate.SetTorque 10.5
ObjectTemplate.SetDifferential 7
ObjectTemplate.SetNumberOfGears 5
ObjectTemplate.SetGearUp 0.95
ObjectTemplate.SetGearDown 0.4
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.