PrimaryAmmoIcon Property [Vietnam]

Usage:
   ObjectTemplate.PrimaryAmmoIcon image

Argument values:

argument 1:    "Ammo/Icon_Cannon.tga", "Ammo/Icon_Grenadeallies_64x32.tga", "Ammo/Icon_bullet.tga", "Ammo/Icon_cannon.tga", "Ammo/Icon_rocket.tga"

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

Related properties: AddTemplate, CrossHairType, GUIIndex, NumberOfWeaponIcons, PrimaryAmmoBar, SetSoldierExitLocation, VehicleCategory, VehicleIconPos

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

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

Parent directory of these .con files: vietnamObjects/Vehicles

Example: (from vietnamObjects/Vehicles/Air/Corsair/Objects.con)
   rem *** Corsair ***
   ObjectTemplate.Create PlayerControlObject Corsair
   ObjectTemplate.NetworkableInfo Corsair_body_info
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.Drag 0.2
   ObjectTemplate.Mass 2500
   ObjectTemplate.InertiaModifier 0.85/0.833/0.84
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.ExplosionRadius 8
   ObjectTemplate.ExplosionDamage 5
   ObjectTemplate.HasArmor 1
   ObjectTemplate.AngleMod 1
   ObjectTemplate.SpeedMod 2
   ObjectTemplate.Hitpoints 60
   ObjectTemplate.Maxhitpoints 60
   ObjectTemplate.Material 60
   ObjectTemplate.CriticalDamage 10
   ObjectTemplate.HpLostWhileCriticalDamage 1.0
   ObjectTemplate.ExplosionForceMod 15
   ObjectTemplate.HpLostWhileUpSideDown 10
   ObjectTemplate.HpLostWhileDamageFromWater 10
   ObjectTemplate.AddArmorEffect 60 em_jetengine 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 60 em_jetengine -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 50 em_jetengine 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 50 em_jetengine2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 50 em_jetenginesmoke2 0/0/-5.8
   ObjectTemplate.AddArmorEffect 40 em_jetengine2 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 40 em_jetengine2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 40 em_jetenginesmoke2 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 40 em_jetenginesmoke2 -0.5/-0.502/-3.01
   rem ObjectTemplate.addArmorEffect 32 em_jetengine2 0/-1.451/-5.956
   rem ObjectTemplate.addArmorEffect 32 em_jetenginesmoke2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 32 em_jetengine3 0/0/-5.8
   ObjectTemplate.AddArmorEffect 32 em_jetenginesmoke3 0/0/-5.8
   ObjectTemplate.AddArmorEffect 22 em_jetengine3 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 22 em_jetengine3 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 22 em_jetenginesmoke3 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 22 em_jetenginesmoke3 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 15 em_jetenginesmoke3 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 15 em_jetenginesmoke3 0/-0.502/-3.01
   rem ObjectTemplate.addArmorEffect 15 em_jetenginesmoke3 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 15 em_jetengine3 0/0/-5.8
   rem ObjectTemplate.addArmorEffect 15 e_StukaFire 0.5/-0.502/-3.01
   rem ObjectTemplate.addArmorEffect 15 e_StukaFire 0/0.6/-3.01
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
   ObjectTemplate.AddArmorEffect 0 Em_ExplGranade 0/0/0
   ObjectTemplate.AddArmorEffect 0 Em_ExplGranade 0/0/1.5
   ObjectTemplate.AddArmorEffect 0 Em_ExplGranade 0/0/-1.5
   ObjectTemplate.AddArmorEffect 0 Em_ExplGranade_flash 0/0/0
   ObjectTemplate.AddArmorEffect 0 Em_ExplGranade_cloud 0/0/0
   ObjectTemplate.AddArmorEffect 0 Em_ExplGranade_smoke 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal_Corsair 0/0/0
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate Corsair
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodCorsair
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation 2/0/2.5 0/0/0
   ObjectTemplate.GUIIndex 108
   ObjectTemplate.VehicleIcon "Vehicle/icon_f4phantom.dds"
   ObjectTemplate.HasGyroScope 1
   ObjectTemplate.VehicleIconPos 93/91
   ObjectTemplate.NumberOfWeaponIcons 2
   ObjectTemplate.PrimaryAmmoIcon "Ammo/Icon_bullet.tga"
   ObjectTemplate.PrimaryAmmoBar ABAmmoBar
   ObjectTemplate.SecondaryAmmoIcon "Ammo/Icon_bomb.tga"
   ObjectTemplate.SetSecondaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_f4_16x16.dds"
   ObjectTemplate.CrossHairType CHTIcon
   ObjectTemplate.VehicleCategory VCAir
   ObjectTemplate.VehicleType VTFighter


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