summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoribruton <[email protected]>2016-03-04 05:43:32 -0600
committeribruton <[email protected]>2016-03-04 05:43:32 -0600
commit67ae7e25862115faa270a0a80f2bfbf8e310083a (patch)
tree19f8fe6eae5a3186a578f65e2eb7c44251d89638
parent39493376692730f627a9b51d558a26e59ffeede9 (diff)
Added in support for new matchmaking game-mode
-rw-r--r--minmode/resource/ClientScheme.res65
-rw-r--r--minmode/scripts/HudAnimations_tf.txt117
-rw-r--r--minmode/scripts/hudlayout.res57
-rw-r--r--resource/ClientScheme.res65
-rw-r--r--scripts/HudAnimations_tf.txt117
-rw-r--r--scripts/hudlayout.res59
6 files changed, 477 insertions, 3 deletions
diff --git a/minmode/resource/ClientScheme.res b/minmode/resource/ClientScheme.res
index 24759e0..e95c128 100644
--- a/minmode/resource/ClientScheme.res
+++ b/minmode/resource/ClientScheme.res
@@ -1578,6 +1578,30 @@ Scheme
"antialias" "1"
}
}
+
+ "MatchSummaryTeamScores"
+ {
+ "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"
+ }
+ }
"ControlPointTimer"
{
@@ -4715,6 +4739,29 @@ Scheme
"draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "0"
}
+
+ TFFatLineBorderBlueBGOpaque
+ {
+ "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" "0" // screen size of the corners ( and sides ), proportional
+ "draw_corner_height" "0"
+ }
+ 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" "0" // screen size of the corners ( and sides ), proportional
+ "draw_corner_height" "0"
+ }
ToolTipBorder
{
@@ -6621,4 +6668,20 @@ Scheme
"font" "resource/heydings_icons.ttf"
"name" "Heydings Icons"
}
-} \ No newline at end of file
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt
index 6438c0c..784c119 100644
--- a/minmode/scripts/HudAnimations_tf.txt
+++ b/minmode/scripts/HudAnimations_tf.txt
@@ -1427,4 +1427,121 @@ event QuestItem_Highlight_Off_Halloween
Animate GlowImage Alpha 0 Bias 0.8 0 0.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
+}
+
//
diff --git a/minmode/scripts/hudlayout.res b/minmode/scripts/hudlayout.res
index b76ead6..ade30c2 100644
--- a/minmode/scripts/hudlayout.res
+++ b/minmode/scripts/hudlayout.res
@@ -2156,4 +2156,61 @@
"wide" "f0"
"tall" "480"
}
+
+ "QuestNotificationPanel"
+ {
+ "fieldName" "QuestNotificationPanel"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ "QuestLogContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "QuestLogContainer"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ "MatchMakingContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "MatchMakingContainer"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ HudSpectatorExtras
+ {
+ "fieldName" "HudSpectatorExtras"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ MatchSummary
+ {
+ "fieldName" "MatchSummary"
+ "visible" "0"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
}
diff --git a/resource/ClientScheme.res b/resource/ClientScheme.res
index 24759e0..e95c128 100644
--- a/resource/ClientScheme.res
+++ b/resource/ClientScheme.res
@@ -1578,6 +1578,30 @@ Scheme
"antialias" "1"
}
}
+
+ "MatchSummaryTeamScores"
+ {
+ "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"
+ }
+ }
"ControlPointTimer"
{
@@ -4715,6 +4739,29 @@ Scheme
"draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
"draw_corner_height" "0"
}
+
+ TFFatLineBorderBlueBGOpaque
+ {
+ "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" "0" // screen size of the corners ( and sides ), proportional
+ "draw_corner_height" "0"
+ }
+ 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" "0" // screen size of the corners ( and sides ), proportional
+ "draw_corner_height" "0"
+ }
ToolTipBorder
{
@@ -6621,4 +6668,20 @@ Scheme
"font" "resource/heydings_icons.ttf"
"name" "Heydings Icons"
}
-} \ No newline at end of file
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/scripts/HudAnimations_tf.txt b/scripts/HudAnimations_tf.txt
index 6438c0c..784c119 100644
--- a/scripts/HudAnimations_tf.txt
+++ b/scripts/HudAnimations_tf.txt
@@ -1427,4 +1427,121 @@ event QuestItem_Highlight_Off_Halloween
Animate GlowImage Alpha 0 Bias 0.8 0 0.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
+}
+
//
diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res
index 50c0908..5453f57 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -2156,7 +2156,7 @@
"tall" "200"
"PaintBackgroundType" "0"
}
- HudMiniGame
+ HudMiniGame
{
"fieldName" "HudMiniGame"
"visible" "1"
@@ -2167,4 +2167,61 @@
"tall" "480"
}
+ "QuestNotificationPanel"
+ {
+ "fieldName" "QuestNotificationPanel"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ "QuestLogContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "QuestLogContainer"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ "MatchMakingContainer"
+ {
+ "ControlName" "EditablePanel"
+ "fieldName" "MatchMakingContainer"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ HudSpectatorExtras
+ {
+ "fieldName" "HudSpectatorExtras"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
+ MatchSummary
+ {
+ "fieldName" "MatchSummary"
+ "visible" "0"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "wide" "f0"
+ "tall" "f0"
+ }
+
}