diff options
| author | Ian Bruton <[email protected]> | 2012-10-31 00:51:05 -0500 |
|---|---|---|
| committer | Ian Bruton <[email protected]> | 2012-10-31 00:51:05 -0500 |
| commit | a62a5dc9251d984aa7d6a34a863631b1c7557833 (patch) | |
| tree | 9a6de2990ab23acc3b839f0bf5a760e61dc81462 | |
| parent | 9255652c881280fc46f8b947bda95e219667f629 (diff) | |
Added in a button on the main menu to toggle the scoreboards.
| -rw-r--r-- | resource/ClientScheme.res | 33 | ||||
| -rw-r--r-- | resource/GameMenu.res | 5 | ||||
| -rw-r--r-- | resource/ui/MainMenuOverride.res | 81 |
3 files changed, 101 insertions, 18 deletions
diff --git a/resource/ClientScheme.res b/resource/ClientScheme.res index fc42429..7eab2a2 100644 --- a/resource/ClientScheme.res +++ b/resource/ClientScheme.res @@ -2950,6 +2950,39 @@ Scheme "antialias" "1"
}
}
+ "CerbeticaBold42"
+ {
+ "1"
+ {
+ "name" "Cerbetica"
+ "tall" "42"
+ "weight" "800"
+ "additive" "0"
+ "antialias" "1"
+ }
+ }
+ "CerbeticaBold44"
+ {
+ "1"
+ {
+ "name" "Cerbetica"
+ "tall" "44"
+ "weight" "800"
+ "additive" "0"
+ "antialias" "1"
+ }
+ }
+ "CerbeticaBold46"
+ {
+ "1"
+ {
+ "name" "Cerbetica"
+ "tall" "46"
+ "weight" "800"
+ "additive" "0"
+ "antialias" "1"
+ }
+ }
"CerbeticaBold48"
{
"1"
diff --git a/resource/GameMenu.res b/resource/GameMenu.res index 5997e0b..42f2494 100644 --- a/resource/GameMenu.res +++ b/resource/GameMenu.res @@ -1,11 +1,12 @@ "GameMenu" [$WIN32]
{
+
"VersionNumber"
{
- "label" "rayshud v2.71"
+ "label" "rayshud v2.72"
"command" "toggleconsole"
"subimage" ""
- "OnlyAtMenu" "1"
+ "OnlyAtMenu" "0"
}
"QuickplayButton"
{
diff --git a/resource/ui/MainMenuOverride.res b/resource/ui/MainMenuOverride.res index 1b50a21..782949b 100644 --- a/resource/ui/MainMenuOverride.res +++ b/resource/ui/MainMenuOverride.res @@ -1005,7 +1005,7 @@ "xpos" "25"
"ypos" "202"
"zpos" "11"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"visible" "1"
"PaintBackgroundType" "2"
@@ -1065,7 +1065,7 @@ "xpos" "25"
"ypos" "290"
"zpos" "11"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"visible" "1"
"PaintBackgroundType" "2"
@@ -1124,7 +1124,7 @@ "xpos" "25"
"ypos" "308"
"zpos" "11"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"visible" "1"
"PaintBackgroundType" "2"
@@ -1184,7 +1184,7 @@ "xpos" "25"
"ypos" "236"
"zpos" "11"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"visible" "1"
"PaintBackgroundType" "2"
@@ -1194,7 +1194,7 @@ "fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"autoResize" "0"
"pinCorner" "3"
@@ -1243,7 +1243,7 @@ "xpos" "25"
"ypos" "254"
"zpos" "11"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"visible" "1"
"PaintBackgroundType" "2"
@@ -1253,7 +1253,7 @@ "fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
- "wide" "200"
+ "wide" "75"
"tall" "16"
"autoResize" "0"
"pinCorner" "3"
@@ -1499,7 +1499,7 @@ "use_proportional_insets" "1"
"font" "CerbeticaBold20"
"textAlignment" "center"
- "labelText" "rayshud v2.71"
+ "labelText" "rayshud v2.72"
"dulltext" "0"
"brighttext" "0"
"default" "1"
@@ -2118,7 +2118,7 @@ "ControlName" "CExImageButton"
"fieldName" "NewUserForumsButton"
"xpos" "79"
- "ypos" "436"
+ "ypos" "441"
"zpos" "2"
"wide" "24"
"tall" "18"
@@ -2162,7 +2162,7 @@ "ControlName" "CExImageButton"
"fieldName" "AchievementsButton"
"xpos" "99"
- "ypos" "436"
+ "ypos" "441"
"zpos" "3"
"wide" "24"
"tall" "18"
@@ -2206,7 +2206,7 @@ "ControlName" "CExImageButton"
"fieldName" "CommentaryButton"
"xpos" "121"
- "ypos" "436"
+ "ypos" "441"
"zpos" "4"
"wide" "24"
"tall" "18"
@@ -2253,7 +2253,7 @@ "ControlName" "CExImageButton"
"fieldName" "CoachPlayersButton"
"xpos" "141"
- "ypos" "436"
+ "ypos" "441"
"zpos" "5"
"wide" "24"
"tall" "18"
@@ -2297,7 +2297,7 @@ "ControlName" "CExImageButton"
"fieldName" "ReportBugButton"
"xpos" "161"
- "ypos" "436"
+ "ypos" "441"
"zpos" "1"
"wide" "24"
"tall" "18"
@@ -2431,14 +2431,63 @@ "scaleImage" "1"
"image" "glyph_options"
}
- }
+ }
+
+ "ScoreboardToggle"
+ {
+ "ControlName" "CExImageButton"
+ "fieldName" "ScoreboardToggle"
+ "xpos" "15"
+ "ypos" "380"
+ "zpos" "1"
+ "wide" "200"
+ "tall" "16"
+ "autoResize" "0"
+ "pinCorner" "3"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "labelText" "Switch Scoreboards"
+ "font" "CerbeticaBold16"
+ "textAlignment" "west"
+ "textinsetx" "35"
+ "use_proportional_insets" "1"
+ "dulltext" "0"
+ "brighttext" "0"
+ "default" "1"
+ "paintbackground""0"
+ "Command" "engine incrementvar cl_hud_minmode 0 1 1"
+
+ "defaultFgColor_override" "TanLight"
+ "armedFgColor_override" "72 255 255 255"
+ "depressedFgColor_override" "72 255 255 255"
+
+ "sound_depressed" "UI/buttonclick.wav"
+ "sound_released" "UI/buttonclickrelease.wav"
+
+ "image_drawcolor" "235 226 202 255"
+ "SubImage"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "SubImage"
+ "xpos" "16"
+ "ypos" "6"
+ "zpos" "1"
+ "wide" "0"
+ "tall" "0"
+ "visible" "1"
+ "enabled" "1"
+ "scaleImage" "1"
+ "image" "glyph_options"
+ }
+ }
"QuitButton"
{
"ControlName" "CExImageButton"
"fieldName" "QuitButton"
"xpos" "13"
- "ypos" "398"
+ "ypos" "416"
"zpos" "1"
"wide" "200"
"tall" "16"
@@ -2488,7 +2537,7 @@ "ControlName" "CExImageButton"
"fieldName" "DisconnectButton"
"xpos" "13"
- "ypos" "398"
+ "ypos" "416"
"zpos" "1"
"wide" "200"
"tall" "16"
|
