diff options
| -rw-r--r-- | minmode/resource/ClientScheme.res | 8 | ||||
| -rw-r--r-- | minmode/resource/ui/winpanel.res | 176 | ||||
| -rw-r--r-- | minmode/scripts/HudAnimations_tf.txt | 46 | ||||
| -rw-r--r-- | minmode/scripts/hudlayout.res | 13 | ||||
| -rw-r--r-- | resource/ClientScheme.res | 56 | ||||
| -rw-r--r-- | resource/ui/winpanel.res | 176 | ||||
| -rw-r--r-- | scripts/HudAnimations_tf.txt | 46 | ||||
| -rw-r--r-- | scripts/hudlayout.res | 13 |
8 files changed, 462 insertions, 72 deletions
diff --git a/minmode/resource/ClientScheme.res b/minmode/resource/ClientScheme.res index abf5c66..9767629 100644 --- a/minmode/resource/ClientScheme.res +++ b/minmode/resource/ClientScheme.res @@ -868,7 +868,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "32" + "tall" "28" "additive" "0" "antialias" "1" } @@ -878,7 +878,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "28" + "tall" "24" "additive" "0" "antialias" "1" } @@ -888,7 +888,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "28" + "tall" "22" "additive" "0" "antialias" "1" } @@ -898,7 +898,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "28" + "tall" "22" "additive" "0" "antialias" "1" } diff --git a/minmode/resource/ui/winpanel.res b/minmode/resource/ui/winpanel.res index 054aebd..52a611b 100644 --- a/minmode/resource/ui/winpanel.res +++ b/minmode/resource/ui/winpanel.res @@ -5,7 +5,7 @@ "ControlName" "EditablePanel"
"fieldName" "TeamScoresPanel"
"xpos" "0"
- "ypos" "56"
+ "ypos" "36"
"wide" "200"
"tall" "100"
"visible" "1"
@@ -102,7 +102,7 @@ "textAlignment" "east"
"xpos" "122"
"ypos" "13"
- "zpos" "10"
+ "zpos" "1"
"wide" "75"
"tall" "28"
"autoResize" "0"
@@ -170,10 +170,10 @@ "ControlName" "ImagePanel"
"fieldName" "WinPanelBackground2"
"xpos" "0"
- "ypos" "95"
+ "ypos" "75"
"zpos" "0"
"wide" "300"
- "tall" "118"
+ "tall" "140"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
@@ -189,7 +189,7 @@ "fieldName" "WinningTeamLabel"
"font" "CerbeticaBold20"
"xpos" "10"
- "ypos" "94"
+ "ypos" "74"
"zpos" "1"
"wide" "180"
"tall" "40"
@@ -209,7 +209,7 @@ "font" "CerbeticaBold20"
"fgcolor" "TransparentBlack"
"xpos" "11"
- "ypos" "95"
+ "ypos" "75"
"zpos" "1"
"wide" "180"
"tall" "40"
@@ -228,7 +228,7 @@ "fieldName" "AdvancingTeamLabel"
"font" "CerbeticaBold20"
"xpos" "10"
- "ypos" "99"
+ "ypos" "79"
"zpos" "1"
"wide" "180"
"tall" "20"
@@ -248,7 +248,7 @@ "font" "CerbeticaBold20"
"fgcolor" "black"
"xpos" "10"
- "ypos" "100"
+ "ypos" "80"
"zpos" "1"
"wide" "180"
"tall" "20"
@@ -286,7 +286,7 @@ "fieldName" "DetailsLabel"
"font" "Cerbetica9"
"xpos" "10"
- "ypos" "122"
+ "ypos" "102"
"zpos" "1"
"wide" "180"
"tall" "20"
@@ -322,7 +322,7 @@ "fieldName" "TopPlayerLabel"
"font" "Cerbetica9"
"xpos" "15"
- "ypos" "140"
+ "ypos" "120"
"zpos" "3"
"wide" "200"
"tall" "20"
@@ -341,7 +341,7 @@ "fieldName" "PointsThisRoundLabel"
"font" "Cerbetica9"
"xpos" "45"
- "ypos" "140"
+ "ypos" "120"
"zpos" "3"
"wide" "140"
"tall" "20"
@@ -359,7 +359,7 @@ "ControlName" "ImagePanel"
"fieldName" "HorizontalLine"
"xpos" "15"
- "ypos" "155"
+ "ypos" "135"
"zpos" "3"
"wide" "170"
"tall" "1"
@@ -376,7 +376,7 @@ "ControlName" "CAvatarImagePanel"
"fieldName" "Player1Avatar"
"xpos" "22"
- "ypos" "160"
+ "ypos" "140"
"zpos" "3"
"wide" "14"
"tall" "14"
@@ -391,7 +391,7 @@ "ControlName" "CExLabel"
"fieldName" "Player1Name"
"xpos" "48" [$WIN32]
- "ypos" "157"
+ "ypos" "137"
"zpos" "3"
"wide" "75" [$WIN32]
"tall" "20"
@@ -409,7 +409,7 @@ "ControlName" "CExLabel"
"fieldName" "Player1Class"
"xpos" "128"
- "ypos" "157"
+ "ypos" "137"
"zpos" "3"
"wide" "35"
"tall" "20"
@@ -427,7 +427,7 @@ "ControlName" "CExLabel"
"fieldName" "Player1Score"
"xpos" "145"
- "ypos" "157"
+ "ypos" "137"
"zpos" "3"
"wide" "30"
"tall" "20"
@@ -445,7 +445,7 @@ "ControlName" "CAvatarImagePanel"
"fieldName" "Player2Avatar"
"xpos" "22"
- "ypos" "176"
+ "ypos" "156"
"zpos" "3"
"wide" "14"
"tall" "14"
@@ -460,7 +460,7 @@ "ControlName" "CExLabel"
"fieldName" "Player2Name"
"xpos" "48"
- "ypos" "173"
+ "ypos" "153"
"zpos" "3"
"wide" "75"
"tall" "20"
@@ -478,7 +478,7 @@ "ControlName" "CExLabel"
"fieldName" "Player2Class"
"xpos" "128"
- "ypos" "173"
+ "ypos" "153"
"zpos" "3"
"wide" "35"
"tall" "20"
@@ -496,7 +496,7 @@ "ControlName" "CExLabel"
"fieldName" "Player2Score"
"xpos" "145"
- "ypos" "173"
+ "ypos" "153"
"zpos" "3"
"wide" "30"
"tall" "20"
@@ -514,7 +514,7 @@ "ControlName" "CAvatarImagePanel"
"fieldName" "Player3Avatar"
"xpos" "22"
- "ypos" "192"
+ "ypos" "172"
"zpos" "3"
"wide" "14"
"tall" "14"
@@ -529,7 +529,7 @@ "ControlName" "CExLabel"
"fieldName" "Player3Name"
"xpos" "48"
- "ypos" "189"
+ "ypos" "169"
"zpos" "3"
"wide" "75"
"tall" "20"
@@ -547,7 +547,7 @@ "ControlName" "CExLabel"
"fieldName" "Player3Class"
"xpos" "128"
- "ypos" "189"
+ "ypos" "169"
"zpos" "3"
"wide" "35"
"tall" "20"
@@ -565,7 +565,135 @@ "ControlName" "CExLabel"
"fieldName" "Player3Score"
"xpos" "145"
- "ypos" "189"
+ "ypos" "169"
+ "zpos" "3"
+ "wide" "30"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" ""
+ "textAlignment" "east"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+
+ "KillStreakLeaderLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakLeaderLabel"
+ "font" "Cerbetica9"
+ "xpos" "15"
+ "ypos" "184"
+ "zpos" "3"
+ "wide" "200"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "#Winpanel_KillStreakLeader"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "KillStreakMaxCountLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakMaxCountLabel"
+ "font" "Cerbetica9"
+ "xpos" "136"
+ "ypos" "0"
+ "zpos" "3"
+ "wide" "140"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "#Winpanel_KillStreakMaxCount"
+ "textAlignment" "east"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "HorizontalLine2"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "HorizontalLine2"
+ "xpos" "15"
+ "ypos" "199"
+ "zpos" "3"
+ "wide" "170"
+ "tall" "1"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "fillcolor" "250 234 201 255"
+ "PaintBackgroundType" "0"
+ }
+ "KillStreakPlayer1Avatar" [$WIN32]
+ {
+ "ControlName" "CAvatarImagePanel"
+ "fieldName" "KillStreakPlayer1Avatar"
+ "xpos" "22"
+ "ypos" "216"
+ "zpos" "3"
+ "wide" "14"
+ "tall" "14"
+ "visible" "1"
+ "enabled" "1"
+ "image" ""
+ "scaleImage" "1"
+ "color_outline" "52 48 45 255"
+ }
+ "KillStreakPlayer1Name"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakPlayer1Name"
+ "xpos" "50" [$WIN32]
+ "xpos" "14" [$X360]
+ "ypos" "213"
+ "zpos" "3"
+ "wide" "128" [$WIN32]
+ "wide" "150" [$X360]
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" ""
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "KillStreakPlayer1Class"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakPlayer1Class"
+ "xpos" "180"
+ "ypos" "213"
+ "zpos" "3"
+ "wide" "200"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" ""
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "KillStreakPlayer1Score"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakPlayer1Score"
+ "xpos" "240"
+ "ypos" "213"
"zpos" "3"
"wide" "30"
"tall" "20"
diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt index 7d154b4..188f0a2 100644 --- a/minmode/scripts/HudAnimations_tf.txt +++ b/minmode/scripts/HudAnimations_tf.txt @@ -823,4 +823,50 @@ event HudReadyPulseEnd StopEvent HudReadyPulseLoop 0.0 } + // Respec in Win +event RespecEarnedPulse +{ + Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelWin FgColor "RedSolid" Linear 0.3 0.4 + + RunEvent RespecEarnedPulseLoop 0.5 +} + +event RespecEarnedPulseLoop +{ + RunEvent RespecEarnedPulse 0.0 +} + +event RespecEarnedPulseEnd +{ + Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1 + + StopEvent RespecEarnedPulse 0.0 + StopEvent RespecEarnedPulseLoop 0.0 +} + +// Respec on Loss +event RespecEarnedPulseLoss +{ + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelLoss FgColor "RedSolid" Linear 0.3 0.4 + + RunEvent RespecEarnedPulseLoopLoss 0.5 +} + +event RespecEarnedPulseLoopLoss +{ + RunEvent RespecEarnedPulseLoss 0.0 +} + +event RespecEarnedPulseEndLoss +{ + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + + StopEvent RespecEarnedPulseLoss 0.0 + StopEvent RespecEarnedPulseLoopLoss 0.0 +} + +// diff --git a/minmode/scripts/hudlayout.res b/minmode/scripts/hudlayout.res index ac481b0..662990b 100644 --- a/minmode/scripts/hudlayout.res +++ b/minmode/scripts/hudlayout.res @@ -2091,4 +2091,17 @@ "wide" "320" "tall" "150" } + + "CTFKillStreakNotice" + { + "fieldName" "CTFKillStreakNotice" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "visible" "1" + "enabled" "1" + "bgcolor_override" "0 0 0 0" + "PaintBackgroundType" "0" // rounded corners + } } diff --git a/resource/ClientScheme.res b/resource/ClientScheme.res index abf5c66..0e76136 100644 --- a/resource/ClientScheme.res +++ b/resource/ClientScheme.res @@ -23,15 +23,15 @@ Scheme //rayshud colors - "Ammo In Clip" "48 255 48 255" - "Ammo In Reserve" "72 255 255 255" + "Ammo In Clip" "0 255 255 255" + "Ammo In Reserve" "0 128 128 255" "Ammo In Clip Low" "255 42 130 255" - "Ammo In Reserve Low" "255 128 28 255" + "Ammo In Reserve Low" "255 140 0 255" //refers to watching stvs/killcam shots - "Spec Health Normal" "235 226 202 255" - "Spec Health Buff" "48 255 48 255" - "Spec Health Hurt" "255 153 0 255" + "Spec Health Normal" "235 226 202 255" + "Spec Health Buff" "0 255 255 255" + "Spec Health Hurt" "255 215 0 255" //alternate colors for flashing values "Alternate Spec Health Normal" "235 226 202 255" @@ -39,29 +39,29 @@ Scheme "Alternate Spec Health Hurt" "255 153 0 255" //refers to player health/targetids - "Health Normal" "235 226 202 255" - "Health Buff" "48 255 48 255" - "Health Hurt" "255 153 0 255" + "Health Normal" "235 226 202 255" + "Health Buff" "0 255 255 255" + "Health Hurt" "255 215 0 255" //alternate colors for flashing values "Alternate Health Normal" "235 226 202 255" "Alternate Health Buff" "48 255 48 255" "Alternate Health Hurt" "255 153 0 255" - "Uber Bar Color" "235 226 202 255" + "Uber Bar Color" "235 226 202 255" //solid color uber disabled by default; to enable, uncomment lines in hudanimations_tf.txt "Solid Color Uber" "255 50 255 255" - "Flashing Uber Color1" "255 165 0 255" - "Flashing Uber Color2" "255 69 0 255" - //"Ubercharge Amount" "48 255 48 255" // disabled temporarily; currently controlled by ammo in clip color + "Flashing Uber Color1" "0 255 255 255" + "Flashing Uber Color2" "0 128 128 255" + //"Ubercharge Amount" "0 255 255 255" // disabled temporarily; currently controlled by ammo in clip color - "Heal Numbers" "48 255 48 255" - "Damage Numbers" "72 255 255 255" + "Heal Numbers" "32 178 170 255" + "Damage Numbers" "72 255 255 255" //'Last DamageHeal Info' refers to the number that appears above hp - "Last DamageHeal Info" "72 255 255 255" + "Last DamageHeal Info" "72 255 255 255" //Changes the colors of the bars on the "Stats" tab @@ -868,7 +868,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "32" + "tall" "28" "additive" "0" "antialias" "1" } @@ -878,7 +878,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "28" + "tall" "24" "additive" "0" "antialias" "1" } @@ -888,7 +888,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "28" + "tall" "22" "additive" "0" "antialias" "1" } @@ -898,7 +898,7 @@ Scheme "1" { "name" "Cerbetica_edited" - "tall" "28" + "tall" "22" "additive" "0" "antialias" "1" } @@ -5423,3 +5423,19 @@ Scheme + + + + + + + + + + + + + + + + diff --git a/resource/ui/winpanel.res b/resource/ui/winpanel.res index 054aebd..52a611b 100644 --- a/resource/ui/winpanel.res +++ b/resource/ui/winpanel.res @@ -5,7 +5,7 @@ "ControlName" "EditablePanel"
"fieldName" "TeamScoresPanel"
"xpos" "0"
- "ypos" "56"
+ "ypos" "36"
"wide" "200"
"tall" "100"
"visible" "1"
@@ -102,7 +102,7 @@ "textAlignment" "east"
"xpos" "122"
"ypos" "13"
- "zpos" "10"
+ "zpos" "1"
"wide" "75"
"tall" "28"
"autoResize" "0"
@@ -170,10 +170,10 @@ "ControlName" "ImagePanel"
"fieldName" "WinPanelBackground2"
"xpos" "0"
- "ypos" "95"
+ "ypos" "75"
"zpos" "0"
"wide" "300"
- "tall" "118"
+ "tall" "140"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
@@ -189,7 +189,7 @@ "fieldName" "WinningTeamLabel"
"font" "CerbeticaBold20"
"xpos" "10"
- "ypos" "94"
+ "ypos" "74"
"zpos" "1"
"wide" "180"
"tall" "40"
@@ -209,7 +209,7 @@ "font" "CerbeticaBold20"
"fgcolor" "TransparentBlack"
"xpos" "11"
- "ypos" "95"
+ "ypos" "75"
"zpos" "1"
"wide" "180"
"tall" "40"
@@ -228,7 +228,7 @@ "fieldName" "AdvancingTeamLabel"
"font" "CerbeticaBold20"
"xpos" "10"
- "ypos" "99"
+ "ypos" "79"
"zpos" "1"
"wide" "180"
"tall" "20"
@@ -248,7 +248,7 @@ "font" "CerbeticaBold20"
"fgcolor" "black"
"xpos" "10"
- "ypos" "100"
+ "ypos" "80"
"zpos" "1"
"wide" "180"
"tall" "20"
@@ -286,7 +286,7 @@ "fieldName" "DetailsLabel"
"font" "Cerbetica9"
"xpos" "10"
- "ypos" "122"
+ "ypos" "102"
"zpos" "1"
"wide" "180"
"tall" "20"
@@ -322,7 +322,7 @@ "fieldName" "TopPlayerLabel"
"font" "Cerbetica9"
"xpos" "15"
- "ypos" "140"
+ "ypos" "120"
"zpos" "3"
"wide" "200"
"tall" "20"
@@ -341,7 +341,7 @@ "fieldName" "PointsThisRoundLabel"
"font" "Cerbetica9"
"xpos" "45"
- "ypos" "140"
+ "ypos" "120"
"zpos" "3"
"wide" "140"
"tall" "20"
@@ -359,7 +359,7 @@ "ControlName" "ImagePanel"
"fieldName" "HorizontalLine"
"xpos" "15"
- "ypos" "155"
+ "ypos" "135"
"zpos" "3"
"wide" "170"
"tall" "1"
@@ -376,7 +376,7 @@ "ControlName" "CAvatarImagePanel"
"fieldName" "Player1Avatar"
"xpos" "22"
- "ypos" "160"
+ "ypos" "140"
"zpos" "3"
"wide" "14"
"tall" "14"
@@ -391,7 +391,7 @@ "ControlName" "CExLabel"
"fieldName" "Player1Name"
"xpos" "48" [$WIN32]
- "ypos" "157"
+ "ypos" "137"
"zpos" "3"
"wide" "75" [$WIN32]
"tall" "20"
@@ -409,7 +409,7 @@ "ControlName" "CExLabel"
"fieldName" "Player1Class"
"xpos" "128"
- "ypos" "157"
+ "ypos" "137"
"zpos" "3"
"wide" "35"
"tall" "20"
@@ -427,7 +427,7 @@ "ControlName" "CExLabel"
"fieldName" "Player1Score"
"xpos" "145"
- "ypos" "157"
+ "ypos" "137"
"zpos" "3"
"wide" "30"
"tall" "20"
@@ -445,7 +445,7 @@ "ControlName" "CAvatarImagePanel"
"fieldName" "Player2Avatar"
"xpos" "22"
- "ypos" "176"
+ "ypos" "156"
"zpos" "3"
"wide" "14"
"tall" "14"
@@ -460,7 +460,7 @@ "ControlName" "CExLabel"
"fieldName" "Player2Name"
"xpos" "48"
- "ypos" "173"
+ "ypos" "153"
"zpos" "3"
"wide" "75"
"tall" "20"
@@ -478,7 +478,7 @@ "ControlName" "CExLabel"
"fieldName" "Player2Class"
"xpos" "128"
- "ypos" "173"
+ "ypos" "153"
"zpos" "3"
"wide" "35"
"tall" "20"
@@ -496,7 +496,7 @@ "ControlName" "CExLabel"
"fieldName" "Player2Score"
"xpos" "145"
- "ypos" "173"
+ "ypos" "153"
"zpos" "3"
"wide" "30"
"tall" "20"
@@ -514,7 +514,7 @@ "ControlName" "CAvatarImagePanel"
"fieldName" "Player3Avatar"
"xpos" "22"
- "ypos" "192"
+ "ypos" "172"
"zpos" "3"
"wide" "14"
"tall" "14"
@@ -529,7 +529,7 @@ "ControlName" "CExLabel"
"fieldName" "Player3Name"
"xpos" "48"
- "ypos" "189"
+ "ypos" "169"
"zpos" "3"
"wide" "75"
"tall" "20"
@@ -547,7 +547,7 @@ "ControlName" "CExLabel"
"fieldName" "Player3Class"
"xpos" "128"
- "ypos" "189"
+ "ypos" "169"
"zpos" "3"
"wide" "35"
"tall" "20"
@@ -565,7 +565,135 @@ "ControlName" "CExLabel"
"fieldName" "Player3Score"
"xpos" "145"
- "ypos" "189"
+ "ypos" "169"
+ "zpos" "3"
+ "wide" "30"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" ""
+ "textAlignment" "east"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+
+ "KillStreakLeaderLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakLeaderLabel"
+ "font" "Cerbetica9"
+ "xpos" "15"
+ "ypos" "184"
+ "zpos" "3"
+ "wide" "200"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "#Winpanel_KillStreakLeader"
+ "fgcolor_override" "TanLight"
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "KillStreakMaxCountLabel"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakMaxCountLabel"
+ "font" "Cerbetica9"
+ "xpos" "136"
+ "ypos" "0"
+ "zpos" "3"
+ "wide" "140"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "#Winpanel_KillStreakMaxCount"
+ "textAlignment" "east"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "HorizontalLine2"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "HorizontalLine2"
+ "xpos" "15"
+ "ypos" "199"
+ "zpos" "3"
+ "wide" "170"
+ "tall" "1"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "fillcolor" "250 234 201 255"
+ "PaintBackgroundType" "0"
+ }
+ "KillStreakPlayer1Avatar" [$WIN32]
+ {
+ "ControlName" "CAvatarImagePanel"
+ "fieldName" "KillStreakPlayer1Avatar"
+ "xpos" "22"
+ "ypos" "216"
+ "zpos" "3"
+ "wide" "14"
+ "tall" "14"
+ "visible" "1"
+ "enabled" "1"
+ "image" ""
+ "scaleImage" "1"
+ "color_outline" "52 48 45 255"
+ }
+ "KillStreakPlayer1Name"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakPlayer1Name"
+ "xpos" "50" [$WIN32]
+ "xpos" "14" [$X360]
+ "ypos" "213"
+ "zpos" "3"
+ "wide" "128" [$WIN32]
+ "wide" "150" [$X360]
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" ""
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "KillStreakPlayer1Class"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakPlayer1Class"
+ "xpos" "180"
+ "ypos" "213"
+ "zpos" "3"
+ "wide" "200"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" ""
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ }
+ "KillStreakPlayer1Score"
+ {
+ "ControlName" "CExLabel"
+ "fieldName" "KillStreakPlayer1Score"
+ "xpos" "240"
+ "ypos" "213"
"zpos" "3"
"wide" "30"
"tall" "20"
diff --git a/scripts/HudAnimations_tf.txt b/scripts/HudAnimations_tf.txt index 7d154b4..7a1975f 100644 --- a/scripts/HudAnimations_tf.txt +++ b/scripts/HudAnimations_tf.txt @@ -823,4 +823,50 @@ event HudReadyPulseEnd StopEvent HudReadyPulseLoop 0.0 } +// Respec in Win +event RespecEarnedPulse +{ + Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelWin FgColor "RedSolid" Linear 0.3 0.4 + + RunEvent RespecEarnedPulseLoop 0.5 +} + +event RespecEarnedPulseLoop +{ + RunEvent RespecEarnedPulse 0.0 +} + +event RespecEarnedPulseEnd +{ + Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1 + + StopEvent RespecEarnedPulse 0.0 + StopEvent RespecEarnedPulseLoop 0.0 +} + +// Respec on Loss +event RespecEarnedPulseLoss +{ + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelLoss FgColor "RedSolid" Linear 0.3 0.4 + + RunEvent RespecEarnedPulseLoopLoss 0.5 +} + +event RespecEarnedPulseLoopLoss +{ + RunEvent RespecEarnedPulseLoss 0.0 +} + +event RespecEarnedPulseEndLoss +{ + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + + StopEvent RespecEarnedPulseLoss 0.0 + StopEvent RespecEarnedPulseLoopLoss 0.0 +} + +// diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index 4979156..055e1f7 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -2115,4 +2115,17 @@ "wide" "320" "tall" "150" } + + "CTFKillStreakNotice" + { + "fieldName" "CTFKillStreakNotice" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "visible" "1" + "enabled" "1" + "bgcolor_override" "0 0 0 0" + "PaintBackgroundType" "0" // rounded corners + } } |
