SetHealthBarFullIcon Property

Usage:
   ObjectTemplate.SetHealthBarFullIcon image

Argument values:

argument 1:    "Ingame/Healthbar_full_assault_64x64.tga", "Ingame/Healthbar_full_at_64x64.tga", "Ingame/Healthbar_full_engineer_64x64.tga", "Ingame/Healthbar_full_medic_64x64.tga", "Ingame/Healthbar_full_scout_64x64.tga", ...

Description: This specifies the full health bar icon. A commonly used technique in the HUD is to have two icons for each gauge, one showing the gauge empty and one showing it full. The actual value of the property is then used to display part of one icon and part of the other on the HUD, so showing any state between the two.

See the HUD Icon Tutorial for details.

Related properties: SetHealthBarIcon

Used in object types (and how often in each type): Kit (55%)

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

Parent directory of these .con files: objects/Items

Example: (from objects/Items/USKit/Assault/Objects.con)
   ObjectTemplate.Create Kit Us_Assault
   ObjectTemplate.SetType Assault
   ObjectTemplate.SetKitTeam 2
   ObjectTemplate.SetHealthBarIcon "Ingame/Healthbar_empty_assault_64x64.tga"
   ObjectTemplate.SetHealthBarFullIcon "Ingame/Healthbar_full_assault_64x64.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_alliesKnife.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_colt.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_bar1918.tga"
   ObjectTemplate.AddWeaponIcon "Weapon/Icon_grenadeallies.tga"
   ObjectTemplate.SetKitIcon 1 "kits/Icon_assault_allies_selected.tga"
   ObjectTemplate.SetKitName 1 "RESPAWN_ASSAULT"
   ObjectTemplate.SetKitActiveName 1 "RESPAWN_ACTIVE_ASSAULT"
   ObjectTemplate.Geometry Kit_Allies_Assault
   ObjectTemplate.SetHasCollisionPhysics 1
   ObjectTemplate.NetworkableInfo KitInfo
   ObjectTemplate.AddTemplate Us_Helmet
   ObjectTemplate.AddTemplate US_Assault_BackPack
   ObjectTemplate.AddTemplate US_Hip_Pack
   ObjectTemplate.AddTemplate Bar1918
   ObjectTemplate.AddTemplate Colt
   ObjectTemplate.AddTemplate KnifeAllies
   ObjectTemplate.AddTemplate GrenadeAllies
   ObjectTemplate.AiTemplate Assault


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