PrimaryAmmoBar Property [Vietnam]

Usage:
   ObjectTemplate.PrimaryAmmoBar name

Argument values:

argument 1:    ABAmmoBar, ABAmmoBarHeatBar, ABAmmoBarOnly, ABAmmoBarReloadBar, ABNone

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

Related properties: AddTemplate, CrossHairType, GUIIndex, VehicleCategory, VehicleIconPos

Used in object types (and how often in each type): PlayerControlObject (16%)

Used in a total of 30 .con files: Objects.con

Parent directory of these .con files: vietnamObjects/Vehicles

Example: (from vietnamObjects/Vehicles/Land/T54/Objects.con)
   rem *** T54 ***
   ObjectTemplate.Create PlayerControlObject T54
   ObjectTemplate.NameTagOffset 0/-0.3/0
   ObjectTemplate.NetworkableInfo T54BodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.CullRadiusScale 5
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ExplosionRadius 8
   ObjectTemplate.ExplosionDamage 5
   ObjectTemplate.Drag 2
   ObjectTemplate.Mass 25000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Hitpoints 100
   ObjectTemplate.Maxhitpoints 100
   ObjectTemplate.Material 50
   ObjectTemplate.SpeedMod 0.5
   ObjectTemplate.CriticalDamage 10
   ObjectTemplate.HpLostWhileCriticalDamage 2
   ObjectTemplate.ExplosionForceMod 18
   ObjectTemplate.HpLostWhileUpSideDown 10
   ObjectTemplate.HpLostWhileDamageFromWater 10
   ObjectTemplate.AddArmorEffect 50 e_PanzDamage 0.46/0.84/-2.044
   ObjectTemplate.AddArmorEffect 10 e_PanzFire 0.46/0.84/-2.044
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal_T54 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetalsmoke 0/0.124/2.286
   ObjectTemplate.AddArmorEffect 0 e_scrapmetalsmoke 0/0.124/-2.467
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate T54
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodT54
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -3/-0.5/0 0/0/0
   ObjectTemplate.GUIIndex 25
   ObjectTemplate.VehicleIcon "Vehicle/icon_T54.dds"
   ObjectTemplate.VehicleIconPos 75/92
   ObjectTemplate.NumberOfWeaponIcons 2
   ObjectTemplate.PrimaryAmmoIcon "Ammo/Icon_cannon.tga"
   ObjectTemplate.PrimaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SecondaryAmmoIcon "Ammo/Icon_bullet.tga"
   ObjectTemplate.SecondaryAmmoBar ABAmmoBarHeatBar
   ObjectTemplate.HasTurretIcon 1
   ObjectTemplate.CrossHairType CHTIcon
   ObjectTemplate.VehicleCategory VCLand
   ObjectTemplate.VehicleType VTHeavyTank
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"
   ObjectTemplate.HasRestrictedExit 1


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