Usage:
ObjectTemplate.GearChangeTime
number
Argument values:
argument 1: |
range is 0.02 to 0.1; most commonly 0.05
|
Description: This property is used exclusively in Battlefield Vietnam.
Equivalent to SetGearChangeTime.
Related properties: Acceleration,
AutomaticReset, Differential,
EngineType, GearDown,
GearUp, InputToRoll,
NumberOfGears
Used in object types (and how often in each type): Engine (6%)
Used in a total of 9 .con files: Physics.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Land/M113/Physics.con)
rem *** M113Engine ***
ObjectTemplate.Create Engine M113LandEngine
ObjectTemplate.NetworkableInfo M113EngineInfo
ObjectTemplate.AttachToListener 1
ObjectTemplate.LoadSoundScript Sounds/BTR60Engine.ssc
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.AddTemplate M113_Tracks_L_M1
ObjectTemplate.SetPosition 0/0/0
ObjectTemplate.AddTemplate M113_Tracks_R_M1
ObjectTemplate.SetPosition 0/0/0
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 4.0
ObjectTemplate.Differential 4.0
ObjectTemplate.NumberOfGears 5
ObjectTemplate.GearUp 0.95
ObjectTemplate.GearDown 0.45
ObjectTemplate.GearChangeTime 0.05
Go to the ObjectTemplate properties
list page, ObjectTemplate page,
All Properties list,
or Main scripting page.