Forum
Critical Hit
Created 4th March 2010 @ 23:06
Add A Reply Pages: 1
Is there a way to make it so; when I backstab / headshot it shows “Critical Hit” like it used to , but other then headshots / backstabs, it shows the damage number?
cl_combattext 0
yea, but that take’s away my damage numbers for everything, I just want my damage numbers gone for headshots / backstabs. :/
Quoted from Once
yea, but that take’s away my damage numbers for everything, I just want my damage numbers gone for headshots / backstabs. :/
Since this can be controlled by the HUD (damage display), I would imagine you could mod your HUD to do this.
in the huddamage HUD file, there is a section to edit what the damage loloks like when it’s a crit. that might be your answer
good luck!
You could add the command to turn damage text off in your class configs. So turn it off for spy but add it to the rest. Unless you still want to see damage numbers for the revolver then you’re going to need a whole bunch of aliases I can’t be ask to do myself. :(
there’s no huddamage file, but there is huddamageaccount, and that doesn’t show anything about crits it just says;
{
“CDamageAccountPanel”
{
“fieldName” “CDamageAccountPanel”
“text_x” “0”
“text_y” “0”
“delta_item_end_y” “0”
“PositiveColor” “255 0 255 255”
“NegativeColor” “255 0 255 255”
“delta_lifetime” “2.0”
“delta_item_font” “HudFontMedium”
“delta_item_font_big” “HudFontBig”
}“DamageAccountValue”
{
“ControlName” “CTFLabel”
“fieldName” “DamageAccountValue”
“xpos” “c-194”
“ypos” “r67”
“zpos” “2”
“wide” “100”
“tall” “26”
“visible” “1”
“enabled” “1”
“labelText” “%metal%”
“textAlignment” “west”
“fgcolor” “255 0 255 255”
“font” “HudFontMediumBigBold”
}“DamageAccountValueBG”
{
“ControlName” “CTFLabel”
“fieldName” “DamageAccountValue”
“xpos” “c-193”
“ypos” “r66”
“zpos” “1”
“wide” “100”
“tall” “26”
“visible” “1”
“enabled” “1”
“labelText” “%metal%”
“textAlignment” “west”
“fgcolor” “0 0 0 255”
“font” “HudFontMediumBigBold”
}
thats what i meant.
delta_font_big is the ciritcal hit one
I don’t know anything about HUDs, so what exactly do I put in there to make it say critical hit? D:
cl_combattext 0
type that in your spy config and then cl_combattext 1 in the other configs :)
you could add cl_combattext 0 to you sniper and spy config and cl_combattext 1 to all the other classes
If you have individual weapon scripts (like comp config for example) you can alias combat text and have it on/off for sniper rifle / knife and still have it on for smg / revolver
Add A Reply Pages: 1