k since nobody has done it yet I'll save everyone the trouble. i'm going to assume you already know what you're doing so i'm not going to explain it as if you're completely new to hud editing.
we have to update: 1] hudlayout, 2] hudanimations, 3] clientscheme, 4] hudtournament
for these you can just add them to the end of the file (remember to add them before the last curly brace though)
1]
{
"fieldName" "MatchSummary"
"visible" "0"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "f0"
}
2]
event CompetitiveGame_LowerChatWindow
{
Animate HudChat ypos r140 Accel 0 0
}
event CompetitiveGame_RestoreChatWindow
{
Animate HudChat ypos 275 Accel 0 0
}
event HudTournament_MoveChatWindow
{
RunEvent CompetitiveGame_LowerChatWindow 0
RunEvent CompetitiveGame_RestoreChatWindow 8
}
//--------------------------------------------------------------------------
event HudTournament_AnimateTeams_In
{
Animate RedTeamPanel xpos c150 Accel 0 0.25
Animate BlueTeamPanel xpos c-300 Accel 0 0.25
}
event HudTournament_AnimateTeams_Out
{
Animate RedTeamPanel xpos r-5 Accel 0 0.68
Animate BlueTeamPanel xpos -155 Accel 0 0.68
}
event HudTournament_DoorsClose
{
StopEvent HudTournament_ResetTimer 0
SetVisible CountdownBG 0 5
SetVisible CountdownLabel 1 0
SetVisible CountdownLabelShadow 1 0
Animate CountdownLabel ypos c-5 Gain 0.75 0 0.4
Animate CountdownLabelShadow ypos c-2 Gain 0.75 0 0.4
SetVisible MatchStartingBG 1 0
SetVisible BlueTeamPanel 1 0
SetVisible RedTeamPanel 1 0
SetVisible HudTournamentBG 0 2
SetVisible TournamentConditionLabel 0 2
RunEventChild MatchStartingBG PlayDoorCloseAnim 0
RunEventChild FrontParticlePanel PlayDoorSlamParticles 0.45
RunEventChild MatchStartingBG PlayDoorOpenAnim 7
RunEvent HudTournament_AnimateTeams_In 0.25
RunEvent HudTournament_AnimateTeams_Out 7.70
SetVisible CountdownLabel 0 9.9
SetVisible CountdownLabelShadow 0 9.9
SetVisible MatchStartingBG 0 10
SetVisible BlueTeamPanel 0 10
SetVisible RedTeamPanel 0 10
SetVisible CountdownBG 1 11
}
event PlayDoorSlamParticles
{
FireCommand 0 "start0"
}
event PlayDoorCloseAnim
{
FireCommand 0 "animation close"
}
event PlayDoorOpenAnim
{
FireCommand 0 "animation open"
}
event HudTournament_ShowTimerCompetitive
{
Animate CountdownLabel ypos 150 Linear 0 0
Animate CountdownLabelShadow ypos 150 Linear 0 0
SetVisible CountdownBG 1 0
SetVisible CountdownLabel 1 0
SetVisible CountdownLabelShadow 1 0
}
event HudTournament_ShowTimerDefault
{
Animate CountdownLabel ypos 425 Linear 0 0
Animate CountdownLabelShadow ypos 425 Linear 0 0
SetVisible CountdownBG 1 0
SetVisible CountdownLabel 1 0
SetVisible CountdownLabelShadow 1 0
}
event HudTournament_HideTimer
{
SetVisible CountdownBG 0 0
SetVisible CountdownLabel 0 0
SetVisible CountdownLabelShadow 0 0
}
event Hud_StatsAndMedals_Show
{
SetVisible DrawingPanel 0 0
SetVisible WinPanelLogo 0 0
SetVisible StatsBgPanel 1 0
SetVisible StatsLabelPanel 1 0
Animate StatsLabelPanel ypos 75 Accel 0 0.1
Animate BlueMedals ypos 75 Accel 0 0.1
Animate RedMedals ypos 75 Accel 0 0.1
}
3] in the original file valve added this entry before "controlpointtimer" so you can copy that if you don't know where to put it.
{
"1"
{
"name" "TF2"
"tall" "36"
"weight" "500"
"range" "0x0000 0x007F" // Basic Latin
"antialias" "1"
"additive" "0"
}
}
"MatchSummaryStatsAndMedals"
{
"1"
{
"name" "TF2 Secondary"
"tall" "14"
"weight" "400"
"additive" "0"
"antialias" "1"
}
}
& add this as well. valve added this before "tooltipborder" entry.
{
"bordertype" "scalable_image"
"backgroundtype" "2"
"image" "../hud/color_panel_blu_opaque"
"src_corner_height" "23" // pixels inside the image
"src_corner_width" "23"
"draw_corner_width" "5" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "5"
}
TFFatLineBorderClearBG
{
"bordertype" "scalable_image"
"backgroundtype" "2"
"image" "../hud/color_panel_clear"
"src_corner_height" "23" // pixels inside the image
"src_corner_width" "23"
"draw_corner_width" "5" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "5"
}
4] adjusting the player boxes for the ready up varies for each hud so i can't really include that. add this to get the door animation when the game starts:
not a complete list but it should be good enough.