SetDifferential Property

Usage:
   ObjectTemplate.SetDifferential number

Argument values:

argument 1:    range is .2 to 30.0; most commonly 5

Description: How much effect the different gears have on the power transmitted to "wheels". A low differential means the high gear is not much different than low gear. A high differential means the high gears will be able to pull vehicle across only flatter ground. See the Engine description for more details.

Related properties: SetAcceleration, SetAutomaticReset, SetEngineType, SetInputToRoll, SetMaxRotation, SetMaxSpeed, SetMinRotation, SetTorque

Used in object types (and how often in each type): Engine (63%)

Used in a total of 76 .con files: Physics.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Air/SBD/Physics.con)
   rem *** SBDEngine ***
   ObjectTemplate.Create Engine SBDEngine
   ObjectTemplate.SetNetworkableInfo SBDEngineInfo
   ObjectTemplate.LoadSoundScript Sounds/SBDEngine.ssc
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodSBDPropeller
   ObjectTemplate.AddTemplate SBDGear1
   ObjectTemplate.SetPosition 1.59/-0.529/-2.047
   ObjectTemplate.AddTemplate SBDGear2
   ObjectTemplate.SetPosition -1.589/-0.529/-2.047
   ObjectTemplate.AddTemplate SBDGearHatchR
   ObjectTemplate.SetPosition 1.588/-0.631/-2.05
   ObjectTemplate.SetRotation 0/0/130
   ObjectTemplate.AddTemplate SBDGearHatchL
   ObjectTemplate.SetPosition -1.587/-0.631/-2.05
   ObjectTemplate.SetRotation 0/0/-129.999
   rem -------------------------------------
   ObjectTemplate.SetMinRotation -0.3/0/-3000
   ObjectTemplate.SetMaxRotation 0.3/0/5000
   ObjectTemplate.SetMaxSpeed 1000/0/500
   ObjectTemplate.SetAcceleration 500/0/1000
   ObjectTemplate.SetInputToRoll c_PIThrottle
   ObjectTemplate.SetAutomaticReset 1
   ObjectTemplate.SetEngineType c_ETPlane
   ObjectTemplate.SetTorque 14.25
   ObjectTemplate.SetDifferential 5
   ObjectTemplate.SetGearUp 0.7
   ObjectTemplate.SetGearDown 0.3
   ObjectTemplate.SetNoPropellerEffectAtSpeed 70


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.