Usage:
ObjectTemplate.SecondaryAmmoBar
name
Argument values:
argument 1: | ABAmmoBarHeatBar, ABAmmoBarReloadBar; most commonly ABAmmoBarHeatBar |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetSecondaryAmmoBar.
Used in object types (and how often in each type): PlayerControlObject (1%)
Used in a total of 3 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Air/Mi8/Objects.con)
rem *** Mi8 ***
ObjectTemplate.Create PlayerControlObject Mi8
ObjectTemplate.NetworkableInfo Mi8BodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.TimeToLiveAfterDeath 6
ObjectTemplate.Drag 3
ObjectTemplate.Mass 15000
ObjectTemplate.InertiaModifier 1/1/1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.ExplosionRadius 12
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.HasArmor 1
ObjectTemplate.AngleMod 1
ObjectTemplate.SpeedMod 0.1
ObjectTemplate.Hitpoints 100
ObjectTemplate.Maxhitpoints 100
ObjectTemplate.Material 60
ObjectTemplate.CriticalDamage 20
ObjectTemplate.HpLostWhileCriticalDamage 2.5
ObjectTemplate.ExplosionForceMod 15
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 75 em_StukaDamage 0/1.409/-0.05
ObjectTemplate.AddArmorEffect 75 em_PlaneDamage 0/1.409/-0.05
ObjectTemplate.AddArmorEffect 50 em_PlaneDamage 0/1.409/-0.05
ObjectTemplate.AddArmorEffect 50 em_StukaDamage -0.942/0.433/0.4
ObjectTemplate.AddArmorEffect 50 em_PlaneDamage -0.942/0.433/0.4
ObjectTemplate.AddArmorEffect 35 em_PlaneDamage 0/1.409/-0.05
ObjectTemplate.AddArmorEffect 35 em_PlaneDamage -0.942/0.44/0.4
ObjectTemplate.AddArmorEffect 35 em_StukaDamage 0.942/0.44/0.4
ObjectTemplate.AddArmorEffect 35 em_PlaneDamage 0.942/0.44/0.4
ObjectTemplate.AddArmorEffect 20 e_StukaFire -0.942/0.44/0.437
ObjectTemplate.AddArmorEffect 20 e_StukaFire 0.942/0.44/0.437
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/-1.158/0.94
rem ObjectTemplate.addArmorEffect 0 e_scrapmetal_Mi8 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate Mi8
ObjectTemplate.RegulatePitchInput c_PIPitch
ObjectTemplate.RegulateYawInput c_PIYaw
ObjectTemplate.RegulateRollInput c_PIRoll
ObjectTemplate.RegulatePitch -0.09/0.5
ObjectTemplate.RegulateYaw -0.065/0.5
ObjectTemplate.RegulateRoll 0.2/0.3
ObjectTemplate.RegulateVerticalPosInput c_PIThrottle
ObjectTemplate.RegulateVerticalPos -0.4/0.9
ObjectTemplate.MaxVertRegAngle 10
ObjectTemplate.NoVertRegAngle 14
rem -------------------------------------
ObjectTemplate.AddTemplate lodMi8
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -3/0/2.5 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.VehicleIcon "Vehicle/icon_uh1assault.dds"
ObjectTemplate.HasGyroScope 1
ObjectTemplate.VehicleIconPos 94/90
ObjectTemplate.NumberOfWeaponIcons 2
ObjectTemplate.PrimaryAmmoIcon "Ammo/Icon_Cannon.tga"
ObjectTemplate.PrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SecondaryAmmoIcon "Ammo/Icon_Cannon.tga"
ObjectTemplate.SecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.CrossHairType CHTIcon
ObjectTemplate.VehicleCategory VCAir
ObjectTemplate.VehicleType VTFighter
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_huey_16x16.dds"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.