Damage Numbers - rbjaxter/budhud GitHub Wiki

Description

Damage numbers by default are shown with font bh_Font20Outline for the target damage number and font bh_Font24 for the static damage number.

Enabling

Damage numbers are not disabled by default in TF2. To enable damage numbers, enter hud_combattext 1 into your console.

Other optional commands (taken from the TF2 wiki):

  • hud_combattext_healing <0/1> - Turns healing text above teammates off/on
  • hud_combattext_batching <0/1> - Turns the damage text above players adding together within an interval off/on
  • hud_combattext_batching_window <.1~2> - Time in seconds to combine damage text

Adjusting Font Size, Positioning, or Color

First, navigate to ../custom/budhud/_budhud/resource/ui/huddamageaccount.res

For damage display shown above the person you're damaging:

  • Font size: Change delta_item_font under CDamageAccountPanel
  • Positioning: Not changeable
  • Color: Damage color shown above players is now controlled by console commands: hud_combattext_red 255, hud_combattext_green 255, hud_combattext_blue 255

For damage display shown statically on the hud:

  • Font size: Change font under both DamageAccountValue and DamageAccountValueBG
  • Positioning: Change xpos/ypos under DamageAccountValue (the shadow follows it automatically)
  • Color: You can either change it directly under DamageAccountValue > fgcolor, or you can change it in budhud/_budhud/resource/clientscheme_colors.res and change the RGBA value of bh_hudDMGDisplay

⚠️ **GitHub.com Fallback** ⚠️