Usage:
ObjectTemplate.Torque
number
Argument values:
argument 1: | range is 0 to 400; most commonly 30 |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetTorque.
Related properties: AutomaticReset, Differential
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/Mi8Cargo/Physics.con)
rem *** Mi8CargoMainEngine ***
ObjectTemplate.Create Engine Mi8CargoMainEngine
ObjectTemplate.NetworkableInfo Mi8MainEngineInfo
ObjectTemplate.LoadSoundScript Sounds/Mi8_Engine.ssc
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.MinRotation 0/0/-150
ObjectTemplate.MaxRotation 0/0/150
ObjectTemplate.MaxSpeed 0/0/500
ObjectTemplate.Acceleration 0/0/50
ObjectTemplate.InputToRoll c_PIThrottle
ObjectTemplate.PropRotAxis 0
ObjectTemplate.HorizontalSpeedMagnifier 1.4
ObjectTemplate.HorizontalDampAngle 15
ObjectTemplate.MaxAngleOfAttack 17
rem ObjectTemplate.defaultAngleOfAttack 8.4
ObjectTemplate.DefaultAngleOfAttack 8
ObjectTemplate.AttackSpeed 4
ObjectTemplate.Accumulate 0
ObjectTemplate.DecreaseAngleToZero 1
ObjectTemplate.ConstantRpm 0
rem * temporary param! *
ObjectTemplate.AutomaticReset 1
ObjectTemplate.EngineType c_ETHelicopter
ObjectTemplate.Torque 190
ObjectTemplate.Differential 40
ObjectTemplate.NoPropellerEffectAtSpeed 1
rem -------------------------------------
ObjectTemplate.AddTemplate Mi8TopProp
ObjectTemplate.SetPosition 0/0/-0.017
ObjectTemplate.SetRotation 0/90/0
ObjectTemplate.AddTemplate Mi8Turbulence
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.