Usage:
ObjectTemplate.HudAmmoType
name
Argument values:
argument 1: | ATIconAndStrengthBar; most commonly ATIconAndStrengthBar |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetHudAmmoType.
Used in object types (and how often in each type): FireArms (2%)
Used in a total of 3 .con files: Weapons.con
Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/Mortar/Weapons.con)
ObjectTemplate.Create FireArms Mortar_fire
rem ObjectTemplate.loadSoundScript Sounds/Mortar.ssc
rem ObjectTemplate.aiTemplate mortarGun
ObjectTemplate.NetworkableInfo HandFireArmsInfo
rem ObjectTemplate.hasCollisionPhysics 1
rem ObjectTemplate.hasResponsePhysics 1
rem ObjectTemplate.hasCollisionEffect 0
ObjectTemplate.AddFireArmsPosition 0/0/3 0/0/0
ObjectTemplate.ProjectileTemplate MortarProjectile
ObjectTemplate.ProjectilePosition 0/-.2/.53
ObjectTemplate.MagSize 15
ObjectTemplate.NumOfMag 1
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 4
ObjectTemplate.RoundOfFire .5
ObjectTemplate.FireOnce 1
ObjectTemplate.AltFireOnce 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Material 45
ObjectTemplate.Hitpoints 250
ObjectTemplate.Maxhitpoints 250
ObjectTemplate.AmmoType 2
ObjectTemplate.AutoReload 0
rem -------------------------------------
ObjectTemplate.AddTemplate e_rocketFumeBack
rem ObjectTemplate.InputId -1
rem ObjectTemplate.startoneffects 0
ObjectTemplate.Position 0/.79/.43
ObjectTemplate.Rotation -179.00/50/0
rem -------------------------------------
ObjectTemplate.GUIIndex 12
ObjectTemplate.HudAmmoType ATIconAndStrengthBar
ObjectTemplate.AmmoIcon "Ammo/Icon_grenadeaxis_64x32.tga"
ObjectTemplate.CrossHairType CHTCrossHair
ObjectTemplate.HasMag 0
rem ObjectTemplate.fireingForce 60
ObjectTemplate.Velocity 20
rem ObjectTemplate.minDeviation 0
rem ObjectTemplate.maxDeviation 0.08
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.AddSkeletonIK Bip01_R_Hand -0.2/0.08/1 0/0/0
ObjectTemplate.AddSkeletonIK Bip01_L_Hand 0.2/0.08/1 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.