Usage:
ObjectTemplate.AttackSpeed
number
Argument values:
argument 1: | range is 3 to 12; most commonly 4 |
Description: This property is used exclusively in Battlefield Vietnam.
Related properties: Acceleration, Accumulate, AddTemplate, AutomaticReset, ConstantRpm, DecreaseAngleToZero, DefaultAngleOfAttack, Differential, EngineType, HorizontalDampAngle, HorizontalSpeedMagnifier, InputToRoll, MaxAngleOfAttack, MaxRotation, MaxSpeed, MinRotation, NoPropellerEffectAtSpeed, PropRotAxis, SetPosition
Used in object types (and how often in each type): Engine (5%)
Used in a total of 6 .con files: Physics.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Air/UH1Assault/Physics.con)
rem *** UH1 Main Engine ***
ObjectTemplate.Create Engine UH1_AssaultMainEngine
ObjectTemplate.NetworkableInfo UH1AssaultMainEngineInfo
ObjectTemplate.LoadSoundScript Sounds/UH1_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.5
ObjectTemplate.HorizontalDampAngle 20
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 180
ObjectTemplate.Differential 40
ObjectTemplate.NoPropellerEffectAtSpeed 1
rem -------------------------------------
ObjectTemplate.AddTemplate UH1_AssaultTopProp
ObjectTemplate.SetPosition 0.018/0.099/2.208
ObjectTemplate.SetRotation 0/90/0
ObjectTemplate.AddTemplate UH1AssaultTurbulence
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.