Usage:
ObjectTemplate.CrossHairType
name
Argument values:
argument 1: | CHTCrossHair, CHTIcon, CHTNone; most commonly CHTIcon |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetCrossHairType.
Used in object types (and how often in each type): FireArms (2%), HandFireArms (55%), PlayerControlObject (17%)
Used in a total of 89 .con files: Objects.con, Weapons.con
Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons
Example: (from vietnamObjects/Vehicles/Sea/Tango/Objects.con)
rem ObjectTemplate.addTemplate Tango_HueySpawn
rem ObjectTemplate.setPosition 0/10.6/7.68
rem ObjectTemplate.setRotation 180/0/0
rem *** Tango_MGPCO1 ***
ObjectTemplate.Create PlayerControlObject Tango_MGPCO1
ObjectTemplate.NetworkableInfo TangoBodyInfo
ObjectTemplate.AiTemplate TangoMG
rem -------------------------------------
ObjectTemplate.AddTemplate TangoGunnerEntry
ObjectTemplate.SetPosition 0/0.229/-0.553
ObjectTemplate.AddTemplate TangoTurret_MG1
ObjectTemplate.SetPosition 0/0/0
ObjectTemplate.SetRotation 0/0/0
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation 0/0/-1 270/0/0
rem ObjectTemplate.hasRestrictedExit 1
rem ObjectTemplate.altSoldierExitPosition 5.5/0/0
ObjectTemplate.GUIIndex 53
ObjectTemplate.NumberOfWeaponIcons 1
ObjectTemplate.PrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.PrimaryAmmoBar ABAmmoBarHeatBar
ObjectTemplate.VehicleIcon "Vehicle/icon_Willy.tga"
ObjectTemplate.VehicleIconPos 46/79
ObjectTemplate.CrossHairType CHTIcon
ObjectTemplate.VehicleCategory VCLand
ObjectTemplate.VehicleType VTApc
ObjectTemplate.MinimapIcon "Minimap/minimap_icon_common_16x16.tga"
ObjectTemplate.HasRestrictedExit 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.