Usage:
ObjectTemplate.Differential
number
Argument values:
argument 1: | range is 0 to 40; most commonly 10 |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetDifferential.
Related properties: AutomaticReset, EngineType
Used in object types (and how often in each type): Engine (37%)
Used in a total of 27 .con files: Physics.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Air/Corsair/Physics.con)
rem *** Corsair_EngineLeft ***
ObjectTemplate.Create Engine Corsair_EngineLeft
ObjectTemplate.NetworkableInfo Corsair_engine_info
ObjectTemplate.LoadSoundScript Sounds/F4EngineL.ssc
rem -------------------------------------
ObjectTemplate.AddTemplate Corsair_LandingGearF
ObjectTemplate.SetPosition 0.597/-0.747/8.47
rem ---TEMP FIX...WILL BE READDED ---
ObjectTemplate.AddTemplate Corsair_GearCoverFL
ObjectTemplate.SetPosition 0.254/-1.071/7.953
ObjectTemplate.SetRotation 1.52/-4.976/-10.643
ObjectTemplate.AddTemplate Corsair_GearCoverFR
ObjectTemplate.SetPosition 1.001/-1.071/7.953
ObjectTemplate.SetRotation -0.798/-4.974/9.62
rem --------------------------------
ObjectTemplate.AddTemplate CorsairTurbulence
ObjectTemplate.AddTemplate Corsair_LandingGearL
ObjectTemplate.SetPosition -0.666/-0.799/3.764
ObjectTemplate.AddTemplate Corsair_LowerGearCoverL
ObjectTemplate.SetPosition -0.206/-0.682/4.365
ObjectTemplate.SetRotation 0.618/-5.621/-33.143
ObjectTemplate.AddTemplate Corsair_UpperGearCoverL
ObjectTemplate.SetPosition -0.206/-0.682/4.365
ObjectTemplate.SetRotation -1.212/-2.2/-45.815
rem -------------------------------------
ObjectTemplate.MinRotation 0/0/-1000
ObjectTemplate.MaxRotation 0/0/5000
ObjectTemplate.MaxSpeed 0/0/500
ObjectTemplate.Acceleration 0/0/1000
ObjectTemplate.InputToRoll c_PIThrottle
ObjectTemplate.AutomaticReset 1
ObjectTemplate.EngineType c_ETPlane
ObjectTemplate.Torque 30
ObjectTemplate.Differential 5
ObjectTemplate.GearUp 0.7
ObjectTemplate.GearDown 0.3
ObjectTemplate.NoPropellerEffectAtSpeed 100
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.