Forum
custom damage text
Created 10th December 2011 @ 01:45
Add A Reply Pages: 1
does anyone have it?
“Resource/UI/HudDamageAccount.res”
{
“CDamageAccountPanel”
{
“fieldName” “CDamageAccountPanel”
“text_x” “0”
“text_y” “0”
“delta_item_end_y” “0”
“PositiveColor” “255 255 0 255”
“NegativeColor” “255 255 0 255”
“delta_lifetime” “3”
“delta_item_font” “HudFontMediumSmall”
“delta_item_font_big” “HudFontMediumSmall”
}
}
Quoted from Biohazard
“Resource/UI/HudDamageAccount.res”
{
“CDamageAccountPanel”
{
“fieldName” “CDamageAccountPanel”
“text_x” “0”
“text_y” “0”
“delta_item_end_y” “0”
“PositiveColor” “255 255 0 255”
“NegativeColor” “255 255 0 255”
“delta_lifetime” “3”
“delta_item_font” “HudFontMediumSmall”
“delta_item_font_big” “HudFontMediumSmall”
}
}
That will only get you yellow flyaround digits, not the static ones.
You need something like this along with it:
“DamageValue”
{
“ControlName” “CExLabel”
“fieldName” “DamageValue”
“xpos” “c-48”
“ypos” “320” //vertical position
“zpos” “1”
“wide” “96”
“tall” “30”
“visible” “1”
“enabled” “1”
“labelText” “%metal%”
“textAlignment” “center”
“fgcolor” “255 255 0 255”
“font” “HudFontMediumSmall”
}
Last edited by ell,
Quoted from Lakoa
how to have exactly the same thing as in the video ?
"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"PositiveColor" "255 255 0 255"
"NegativeColor" "255 255 0 255"
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"
"delta_lifetime" "1.5"
"delta_item_font" "HudFontBig"
"delta_item_font_big" "HudFontBig"
}
"DamageAccountValue"
{
"fgcolor" "255 255 0 255"
"ControlName" "ceXLabel"
"fieldName" "DamageAccountValue"
"xpos" "c-73"
"ypos" "c124"
"zpos" "2"
"wide" "150"
"tall" "30"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "center"
"font" "HudFontBig"
}
}
in HudDamageAccount.res
Last edited by skappa,
Add A Reply Pages: 1