Hudplayerhealth.res
"Resource/UI/HudPlayerHealth.res"
{
// player health data
"HudPlayerHealth"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerHealth"
"xpos" "c-288"
"ypos" "c45"
"xpos" "32"
"zpos" "2"
"wide" "250"
"tall" "120"
"visible" "1"
"enabled" "1"
"HealthBonusPosAdj" "35"
"HealthDeathWarning" "0.49"
"HealthDeathWarningColor" "HUDDeathWarning"
}
"PlayerStatusHealthImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImage"
"xpos" "90"
"ypos" "0"
"zpos" "4"
"wide" "70"
"tall" "70"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"alpha" "0"
}
"PlayerStatusHealthImageBG"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImageBG"
"xpos" "9999"
"ypos" "9999"
"zpos" "3"
"wide" "55"
"tall" "55"
"visible" "1"
"enabled" "1"
"image" "../hud/health_bg"
"scaleImage" "1"
}
"PlayerStatusHealthBonusImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthBonusImage"
"xpos" "116"
"ypos" "18"
"zpos" "2"
"wide" "68"
"tall" "68"
"visible" "1"
"enabled" "1"
"image" "../hud/health_over_bg"
"scaleImage" "1"
}
"PlayerStatusHealthValue"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValue"
"xpos" "0"
"ypos" "0"
"zpos" "5"
"wide" "300"
"tall" "100"
"visible" "1"
"enabled" "1"
"labelText" "%Health%"
"textAlignment" "center"
"font" "CerbeticaBold56"
"fgcolor" "Health Normal"
}
"PlayerStatusHealthValueShadow"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValueShadow"
"xpos" "2"
"ypos" "2"
"zpos" "5"
"wide" "300"
"tall" "100"
"visible" "1"
"enabled" "1"
"labelText" "%Health%"
"textAlignment" "center"
"font" "CerbeticaBold56"
"fgcolor" "TransparentBlack"
}
"PlayerStatusBleedImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusBleedImage"
"xpos" "0"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/bleed_drop"
"fgcolor" "TanDark"
}
"PlayerStatusMilkImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMilkImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/bleed_drop"
"fgcolor" "TanDark"
}
"PlayerStatusMarkedForDeathImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMarkedForDeathImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/marked_for_death"
"fgcolor" "TanDark"
}
"PlayerStatusMarkedForDeathSilentImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusMarkedForDeathSilentImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../vgui/marked_for_death"
"fgcolor" "TanDark"
}
"PlayerStatus_MedicUberBulletResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicUberBulletResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_MedicUberBlastResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicUberBlastResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_explosion_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_MedicUberFireResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicUberFireResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_fire_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_MedicSmallBulletResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicSmallBulletResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_MedicSmallBlastResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicSmallBlastResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_explosion_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_MedicSmallFireResistImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_MedicSmallFireResistImage"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_fire_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_WheelOfDoom"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_WheelOfDoom"
"xpos" "100"
"ypos" "0"
"zpos" "7"
"wide" "32"
"tall" "32"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../signs/death_wheel_whammy"
"fgcolor" "TanDark"
}
"PlayerStatus_SoldierOffenseBuff"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_SoldierOffenseBuff"
"xpos" "85"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_SoldierDefenseBuff"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_SoldierDefenseBuff"
"xpos" "85"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}
"PlayerStatus_SoldierHealOnHitBuff"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatus_SoldierHealOnHitBuff"
"xpos" "85"
"xpos_minmode" "70"
"ypos" "0"
"zpos" "7"
"wide" "31"
"tall" "31"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "../HUD/defense_buff_bullet_blue"
"fgcolor" "TanDark"
}
}
hudanimations.res
//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4
Animate PlayerStatusHealthValue FgColor "Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Buff" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Buff" Accel 0.0 0.0
Animate BasicCross FgColor "0 0 255 100" Linear 0.0 0.2
Animate BasicCross FgColor "0 0 255 0" Linear 0.1 0.4
RunEvent HudHealthBonusPulseLoop 0.4
}
// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}
event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0
Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueSpectator FgColor "Spec Health Normal" Accel 0.0 0.0
Animate PlayerStatusHealthValueFreezePanel FgColor "Spec Health Normal" Accel 0.0 0.0
}
can you try to put averything in place plz? im bad at it :3