AmmoIcon Property [Vietnam]

Usage:
   ObjectTemplate.AmmoIcon image

Argument values:

argument 1:    "Ammo/Icon_demokitt.tga", "Ammo/Icon_grenadeallies.tga", "Ammo/Icon_grenadeaxis.tga", "Ammo/Icon_grenadeaxis_64x32.tga", "Ammo/Icon_medkit.tga", "Ammo/Icon_repair.tga"

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

Related properties: AutoReload, CrossHairType, GUIIndex

Used in object types (and how often in each type): FireArms (2%), HandFireArms (22%)

Used in a total of 24 .con files: Objects.con, Weapons.con

Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons

Example: (from vietnamObjects/HandWeapons/NVAWrench/Objects.con)
   ObjectTemplate.Create HandFireArms NVAWrench
   ObjectTemplate.LoadSoundScript Sounds/NVAWrench.ssc
   ObjectTemplate.NetworkableInfo HandFireArmsInfo
   rem ** Magtype == 1 is healing type (repairing)
   ObjectTemplate.MagType 1
   ObjectTemplate.NumOfMag 1
   ObjectTemplate.MagSize 300000000
   ObjectTemplate.GUIIndex 4
   ObjectTemplate.SetHudAmmoType ATIconAndReloadBar
   rem objectTemplate.ammoIcon "Ammo/Icon_repairkit_64x32.tga"
   ObjectTemplate.AmmoIcon "Ammo/Icon_repair.tga"
   ObjectTemplate.CrossHairType CHTIcon
   ObjectTemplate.HasMag 0
   rem ObjectTemplate.aitemplate NVAWrenchAI
   ObjectTemplate.SoldierZoomPosition -0.01/-0.01/0.1
   ObjectTemplate.SoldierCameraPosition 0.012/-0.05/0.1
   ObjectTemplate.RepairDistance 2.0
   ObjectTemplate.DisarmMinesDistance 2.0
   ObjectTemplate.RepairFactor 0.15
   ObjectTemplate.AiTemplate WrenchAI
   rem *** Recover time
   ObjectTemplate.Reloadtime 1.1
   rem *** Use RepairPack time
   ObjectTemplate.RoundOfFire 10
   ObjectTemplate.AutoReload 0
   ObjectTemplate.CreateSkeleton animations/NVAWrench.ske
   ObjectTemplate.UseSkeletonPartAsMain base
   ObjectTemplate.AddTemplate NVAWrenchLod


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