Type Property [Vietnam]

Usage:
   ObjectTemplate.Type name

Argument values:

argument 1:    AT, Assault, Engineer, Scout; most commonly Assault

Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetType.

Related properties: AddWeaponIcon, Geometry, HasCollisionPhysics, HealthBarFullIcon, HealthBarIcon, NetworkableInfo, SetKitAccelFactor, 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/NVA/Scout/Objects.con)
   rem **************kit choice #1****************
   ObjectTemplate.Create Kit NVA_Scout
   ObjectTemplate.Type Scout
   ObjectTemplate.Geometry Kit_NVA_Scout
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.NetworkableInfo KitInfo
   ObjectTemplate.SetKitSpeedFactor 0.9
   ObjectTemplate.SetKitAccelFactor 0.5
   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/Machete.dds"
   ObjectTemplate.AddWeaponIcon "Weapon/TT33.dds"
   ObjectTemplate.AddWeaponIcon "Weapon/SVD.dds"
   rem ObjectTemplate.addWeaponIcon "Weapon/Caltrops.dds"
   ObjectTemplate.AddWeaponIcon "Weapon/Binoculars.dds"
   ObjectTemplate.SetKitIcon 12 "Weapon/SVD.dds"
   ObjectTemplate.SetKitName 12 "SVD-CALTROPS-BINOCULARS"
   ObjectTemplate.SetKitActiveName 12 "RESPAWN_ACTIVE_SCOUT"
   ObjectTemplate.AddTemplate KnifeAxis
   ObjectTemplate.AddTemplate TT33
   ObjectTemplate.AddTemplate SVD
   ObjectTemplate.AddTemplate Caltrops
   ObjectTemplate.AddTemplate Binoculars
   ObjectTemplate.AiTemplate Scout_Alt


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