Usage:
ObjectTemplate.NumberOfGears
number
Argument values:
argument 1: | range is 1 to 5; most commonly 5 |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetNumberOfGears.
Related properties: Acceleration, AutomaticReset, Differential, EngineType, GearDown, GearUp, InputToRoll, MaxRotation, MaxSpeed, MinRotation
Used in object types (and how often in each type): Engine (11%)
Used in a total of 15 .con files: Physics.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Land/Patton/Physics.con)
rem *** PattonEngine ***
ObjectTemplate.Create Engine PattonEngine
ObjectTemplate.NetworkableInfo PattonEngineInfo
ObjectTemplate.AttachToListener 1
ObjectTemplate.LoadSoundScript Sounds/SheridanEngine.ssc
ObjectTemplate.HasMobilePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate Patton_TreadL
ObjectTemplate.SetPosition 0/-1/-0.164
ObjectTemplate.AddTemplate Patton_TreadR
ObjectTemplate.SetPosition 0/-1/0.164
rem -------------------------------------
ObjectTemplate.MinRotation -1/0/-1
ObjectTemplate.MaxRotation 1/0/1
ObjectTemplate.MaxSpeed 4/0/10
ObjectTemplate.Acceleration 4/0/10
ObjectTemplate.InputToYaw c_PIYaw
ObjectTemplate.InputToRoll c_PIThrottle
ObjectTemplate.AutomaticReset 1
ObjectTemplate.EngineType c_ETTank
ObjectTemplate.Torque 5
ObjectTemplate.Differential 4
ObjectTemplate.NumberOfGears 5
ObjectTemplate.GearUp 0.95
ObjectTemplate.GearDown 0.45
ObjectTemplate.GearChangeTime 0.02
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.