Usage:
ObjectTemplate.SetKitSpeedFactor
number
Argument values:
argument 1: | range is 0.8 to 1.3; most commonly 0.8 |
Description: This property is used exclusively in Battlefield Vietnam.
Related properties: AddTemplate, AddWeaponIcon, AiTemplate, Geometry, HasCollisionPhysics, HealthBarFullIcon, HealthBarIcon, NetworkableInfo, SetKitAccelFactor, SetKitActiveName, SetKitIcon, SetKitName
Used in object types (and how often in each type): Kit (41%)
Used in a total of 24 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/Items
Example: (from vietnamObjects/Items/USArmy/HeavyAssault/Objects.con)
rem **********kit choice #2***************
ObjectTemplate.Create Kit USArmy_HeavyAssault
ObjectTemplate.Type AT
rem ObjectTemplate.kitTeam 2
ObjectTemplate.Geometry Kit_USArmy_HeavyAssault
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.NetworkableInfo KitInfo
ObjectTemplate.SetKitSpeedFactor 0.8
ObjectTemplate.SetKitAccelFactor 0.25
rem ObjectTemplate.healthBarIcon "Ingame/Healthbar_empty_assault_64x64.tga"
rem ObjectTemplate.healthBarFullIcon "Ingame/Healthbar_full_assault_64x64.tga"
ObjectTemplate.HealthBarIcon "menu/hud/guage03empty.tga"
ObjectTemplate.HealthBarFullIcon "menu/hud/guage03fullorange.tga"
ObjectTemplate.AddWeaponIcon "Weapon/USKnife.dds"
ObjectTemplate.AddWeaponIcon "Weapon/M19.dds"
ObjectTemplate.AddWeaponIcon "Weapon/M60.dds"
ObjectTemplate.AddWeaponIcon "Weapon/M79.dds"
ObjectTemplate.SetKitIcon 26 "Weapon/M79.dds"
ObjectTemplate.SetKitName 26 "M60-M79"
ObjectTemplate.SetKitActiveName 26 "RESPAWN_ACTIVE_AT"
rem ObjectTemplate.addTemplate Us_Helmet
rem ObjectTemplate.addTemplate US_Assault_BackPack
rem ObjectTemplate.addTemplate US_Hip_Pack
ObjectTemplate.AddTemplate KnifeAllies
ObjectTemplate.AddTemplate M19
ObjectTemplate.AddTemplate M60
ObjectTemplate.AddTemplate M79
ObjectTemplate.AiTemplate AT
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.