HUDS.TF

Hello There, Guest!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More Matchmaking HUD Changes
#1
Valve dropped another update upon us that changes more HUD elements and adds new ones. It's a fantastic time to be a HUD developer and even a HUD user.

That was sarcasm.

New Files:
resource/ui/hudmatchstatus.res
resource/ui/hudroundcounter.res
resource/ui/hudteamstatus.res

Modified Files:
resource/clientscheme.res
resource/ui/hudobjectivekothtimepanel.res
resource/ui/hudobjectivestatus.res
resource/ui/hudobjectivetimepanel.res
resource/ui/lobbypanel.res
resource/ui/mainmenuoverride.res
scripts/hudanimations_tf.txt
scripts/hudlayout.res

Changes to Round Timers
Round Timers have been heavily changed in this update, and as a result, will not show up unless you update your files. resource/ui/hudobjectivestatus.res has been basically wiped as a file (which makes me wonder why it exists anymore), and has been replaced by resource/ui/hudmatchstatus.res.

It's not all bad, however. You can actually copy the entire "ObjectiveStatusTimePanel" element inside resource/ui/hudobjectivestatus.res and replace the element with the same name inside resource/ui/hudmatchstatus.res. However, you may have to adjust the timer accordingly to the new Matchmaking UI.

Changes to scripts/hudanimations_tf.txt
If you're not using the hudanimations_manifest.txt method for HUD Animations yet, you'll need to update your scripts/hudanimations_tf.txt file to include the following:
Code:
event ActiveTimerHighlight
{
Animate TimePanelValue FgColor TanLight Linear 0.1 0.1
Animate TimePanelValue FgColor "142 134 115 255" Linear 0.3 0.1

Animate TimePanelValue FgColor TanLight Linear 0.5 0.1
Animate TimePanelValue FgColor "142 134 115 255" Linear 0.7 0.1

Animate TimePanelValue FgColor TanLight Linear 0.9 0.1
Animate TimePanelValue FgColor "142 134 115 255" Linear 1.1 0.1

Animate TimePanelValue FgColor TanLight Linear 1.3 0.3

}

event ActiveTimerDim
{
// Slow fade out
Animate TimePanelValue FgColor "142 134 115 255" Linear 0.0 0.4
}

//===========================================

event OvertimeLabelPulseRed
{
Animate OvertimeLabel FgColor TanLight Linear 0.0 0.3
Animate OvertimeLabel FgColor RedSolid Linear 0.3 0.3

RunEvent OvertimeLabelPulseRed 0.6
}

event SuddenDeathLabelPulseRed
{
Animate SuddenDeathLabel FgColor TanLight Linear 0.0 0.3
Animate SuddenDeathLabel FgColor RedSolid Linear 0.3 0.3

RunEvent SuddenDeathLabelPulseRed 0.2
}
Just place it beneath event ActiveTimerBGPulse in your file. Doing this allows the latest animations for King of the Hill and Sudden Death to work correctly.

Changes to scripts/hudlayout.res
hudlayout.res was updated once again (as always with larger updates, it seems). The element "HudCompetitive" and it's values have been replaced entirely with the following:
Code:
HudMatchStatus
{
"fieldName" "HudMatchStatus"
"visible" "1"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"zpos" "2"
"wide" "f0"
"tall" "f0"
}

HudTeamStatus
{
"fieldName" "HudTeamStatus"
"visible" "1"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"zpos" "2"
"wide" "f0"
"tall" "f0"
}
So just delete "HudCompetitive" and replace it with that. Simple enough.

To briefly finish off this post, changes to resource/clientscheme.res only include borders. You may want to include those unless you want missing borders/images in your HUD.

resource/ui/hudobjectivekothtimepanel.res was also updated, but it appears you can completely avoid updating it with the latest values and it still works just as it should. You may need to adjust timer positioning to coincide with the Matchmaking UI, but that is purely aesthetic.

resource/ui/lobbypanel.res was updated to include a penalty timer, as well as rename a few values relating to Low Priority players.

If your HUD is featured on huds.tf, you are required to update your HUD by Monday, 21st March or your HUD will be placed into the Outdated section.

For more information on recent additions and changes, check the Steam Database GitHub commit.
#2
hudmatchstatus doesn't work, VALVe should fix this!



Copyright © 2014 - 2019 huds.tf | Site by omnibombulator | Powered by MyBB, © 2002 - 2019 MyBB Group and Steam.