SecondaryAmmoIcon Property [Vietnam]

Usage:
   ObjectTemplate.SecondaryAmmoIcon image

Argument values:

argument 1:    "Ammo/Icon_Cannon.tga", "Ammo/Icon_bomb.tga", "Ammo/Icon_bullet.tga"

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

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

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

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

Parent directory of these .con files: vietnamObjects/Vehicles

Example: (from vietnamObjects/Vehicles/Air/F4Phantom/Objects.con)
   rem *** F4Phantom ***
   ObjectTemplate.Create PlayerControlObject F4Phantom
   ObjectTemplate.NetworkableInfo Phantom_body_info
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.Drag 0.105
   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.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 60 em_jetengine -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 50 em_jetengine 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 50 em_jetengine2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 50 em_jetenginesmoke2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 40 em_jetengine2 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 40 em_jetengine2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 40 em_jetenginesmoke2 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 40 em_jetenginesmoke2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 32 em_jetengine2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 32 em_jetenginesmoke2 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 32 em_jetengine3 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 32 em_jetenginesmoke3 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 22 em_jetengine3 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 22 em_jetengine3 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 22 em_jetenginesmoke3 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 22 em_jetenginesmoke3 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 15 em_jetenginesmoke3 0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 15 em_jetenginesmoke3 0/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 15 em_jetenginesmoke3 -0.5/-0.502/-3.01
   ObjectTemplate.AddArmorEffect 15 em_jetengine3 -0.5/-0.502/-3.01
   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_F4Phantom 0/0/0
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate Phantom
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodPhantom
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation 1.5/0/-4.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_rocket.tga"
   ObjectTemplate.PrimaryAmmoBar ABAmmoBarOnly
   rem ObjectTemplate.primaryAmmoBar ABAmmoBarReloadBar
   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.