Usage:
ObjectTemplate.GearUp
number
Argument values:
argument 1: | range is 0.7 to 0.95; most commonly 0.95 |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetGearUp.
Related properties: Acceleration, AutomaticReset, Differential, EngineType, GearDown, InputToRoll, MaxRotation, MaxSpeed
Used in object types (and how often in each type): Engine (15%)
Used in a total of 19 .con files: Physics.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Sea/PBR/Physics.con)
rem ObjectTemplate.SinkingSpeedMod 1
rem *** PBR_FrontLandEngine ***
ObjectTemplate.Create Engine PBR_LandEngine
ObjectTemplate.AttachToListener 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate PBR_FrontWheel
ObjectTemplate.SetPosition 0/-1.2/3.5
rem -------------------------------------
ObjectTemplate.MinRotation 0/0/-4000
ObjectTemplate.MaxRotation 0/0/4000
ObjectTemplate.MaxSpeed 0/0/5000
ObjectTemplate.Acceleration 0/0/5000
ObjectTemplate.InputToRoll c_PIThrottle
ObjectTemplate.AutomaticReset 1
ObjectTemplate.EngineType c_ETCar
ObjectTemplate.Torque 8
ObjectTemplate.Differential 2
ObjectTemplate.NumberOfGears 5
ObjectTemplate.GearUp 0.95
ObjectTemplate.GearDown 0.4
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.