From 1c72ee0803225a6e9f7ab8c5794a833d6401c7a5 Mon Sep 17 00:00:00 2001 From: RaysFire Date: Sat, 28 Sep 2013 18:09:21 -0500 Subject: Added in nicer screen for viewing stats,, and navigating the MOTD/Map Info screens via E --- minmode/resource/ui/IntroMenu.res | 54 +++++-- minmode/resource/ui/MapInfoMenu.res | 31 ++++- minmode/resource/ui/TextWindow.res | 2 +- minmode/resource/ui/TextWindowCustomServer.res | 186 +++++++++++++++++++++++++ 4 files changed, 263 insertions(+), 10 deletions(-) create mode 100644 minmode/resource/ui/TextWindowCustomServer.res (limited to 'minmode') diff --git a/minmode/resource/ui/IntroMenu.res b/minmode/resource/ui/IntroMenu.res index 78e20b4..0fc7b3f 100644 --- a/minmode/resource/ui/IntroMenu.res +++ b/minmode/resource/ui/IntroMenu.res @@ -16,6 +16,22 @@ "paintbackground" "0" } + "MainBG" + { + "ControlName" "ImagePanel" + "fieldName" "MainBG" + "xpos" "c-180" + "ypos" "c-120" + "zpos" "-1" + "wide" "360" + "tall" "250" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + "titlelabel" { "ControlName" "CExLabel" @@ -62,7 +78,6 @@ } "Continue" [$WIN32] - { { "ControlName" "CExButton" "fieldName" "Continue" @@ -74,9 +89,32 @@ "autoResize" "0" "pinCorner" "2"` "visible" "0" + "enabled" "0" + "tabPosition" "0" + "labelText" "CONTINUE (&E)" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "command" "skip" + "font" "MenuSmallFont" + } + + "Continue2" [$WIN32] + { + "ControlName" "CExButton" + "fieldName" "Continue2" + "xpos" "r190" + "ypos" "r40" + "zpos" "6" + "wide" "150" + "tall" "30" + "autoResize" "0" + "pinCorner" "2"` + "visible" "0" "enabled" "1" "tabPosition" "0" - "labelText" "CONTINUE" + "labelText" "CONTINUE (&E)" "textAlignment" "center" "dulltext" "0" "brighttext" "0" @@ -160,12 +198,12 @@ { "ControlName" "CTFVideoPanel" "fieldName" "VideoPanel" - "xpos" "c-170" - "ypos" "c-120" - "zpos" "3" - "wide" "360" - "tall" "250" - "autoResize" "0" + "xpos" "c-140" + "ypos" "c-110" + "zpos" "1" + "wide" "340" + "tall" "205" + "autoResize" "1" "pinCorner" "0" "visible" "1" "enabled" "1" diff --git a/minmode/resource/ui/MapInfoMenu.res b/minmode/resource/ui/MapInfoMenu.res index 02b69a8..40cd693 100644 --- a/minmode/resource/ui/MapInfoMenu.res +++ b/minmode/resource/ui/MapInfoMenu.res @@ -115,6 +115,35 @@ { "ControlName" "CExButton" "fieldName" "MapInfoContinue" + "xpos" "99999" + "ypos" "9999" + "zpos" "6" + "wide" "120" + "tall" "30" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "labelText" "" + "textAlignment" "center" + "dulltext" "1" + "brighttext" "1" + "command" "continue" + "default" "1" + "font" "Blank" + "paintbackground" "0" + + "fgcolor" "TanLight" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "TanDark" + "depressedFgColor_override" "TanDark" + "selectedFgColor_override" "TanDark" + } + + "MapInfoContinue2" [$WIN32] + { + "ControlName" "CExButton" + "fieldName" "MapInfoContinue2" "xpos" "c-60" "ypos" "c96" "zpos" "6" @@ -124,7 +153,7 @@ "pinCorner" "2" "visible" "1" "enabled" "1" - "labelText" "#TF_Continue" + "labelText" "CONTINUE (&E)" "textAlignment" "center" "dulltext" "0" "brighttext" "0" diff --git a/minmode/resource/ui/TextWindow.res b/minmode/resource/ui/TextWindow.res index 0d66bcb..36720e0 100644 --- a/minmode/resource/ui/TextWindow.res +++ b/minmode/resource/ui/TextWindow.res @@ -112,7 +112,7 @@ "visible" "1" "enabled" "1" "tabPosition" "0" - "labelText" "#TF_Continue" + "labelText" "CONTINUE (&E)" "textAlignment" "center" "dulltext" "0" "brighttext" "0" diff --git a/minmode/resource/ui/TextWindowCustomServer.res b/minmode/resource/ui/TextWindowCustomServer.res new file mode 100644 index 0000000..36720e0 --- /dev/null +++ b/minmode/resource/ui/TextWindowCustomServer.res @@ -0,0 +1,186 @@ +"Resource/UI/TextWindow.res" +{ + "info" + { + "ControlName" "CTFTextWindow" + "fieldName" "info" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "settitlebarvisible" "0" + } + + "MainBG" + { + "ControlName" "ImagePanel" + "fieldName" "MainBG" + "xpos" "c-180" + "ypos" "c-120" + "zpos" "-1" + "wide" "360" + "tall" "250" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + + + "TFMessageTitle" + { + "ControlName" "CExLabel" + "fieldName" "TFMessageTitle" + "xpos" "c-180" + "ypos" "c-116" + "zpos" "1" + "wide" "360" + "tall" "26" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#TF_WELCOME" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "Cerbetica24" + "fgcolor" "TanLight" + } + + "TextMessage" + { + "ControlName" "TextEntry" + "fieldName" "TextMessage" + "visible" "0" + "enabled" "0" + } + + "TFTextMessage" + { + "ControlName" "CExRichText" + "fieldName" "TFTextMessage" + "font" "Cerbetica12" + "xpos" "c-170" + "ypos" "c-90" + "zpos" "1" + "wide" "340" + "tall" "185" + "autoResize" "3" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "paintborder" "0" + "textAlignment" "northwest" + "fgcolor" "TanLight" + } + + "HTMLMessage" + { + "ControlName" "HTML" + "fieldName" "HTMLMessage" + "xpos" "c-170" + "ypos" "c-110" + "zpos" "1" + "wide" "340" + "tall" "205" + "autoResize" "1" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "paintborder" "0" + } + + "ok" + { + "ControlName" "CExButton" + "fieldName" "ok" + "xpos" "c-180" + "ypos" "c96" + "zpos" "6" + "wide" "360" + "tall" "30" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "CONTINUE (&E)" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "wrap" "0" + "command" "okay" + "default" "1" + "font" "Cerbetica24" + "paintbackground" "0" + + "fgcolor" "TanLight" + "defaultFgColor_override" "TanLight" + "armedFgColor_override" "TanDark" + "depressedFgColor_override" "TanDark" + "selectedFgColor_override" "TanDark" + } + + "MenuBG" + { + "ControlName" "CModelPanel" + "fieldName" "MenuBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "0" + "wide" "f0" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fov" "20" + + "model" + { + "modelname" "models/vgui/UI_welcome01_screen.mdl" + "skin" "0" + "angles_x" "0" + "angles_y" "180" + "angles_z" "0" + "origin_x" "290" + "origin_y" "0" + "origin_z" "-39" + } + } + + "ShadedBar" + { + "ControlName" "ImagePanel" + "fieldName" "ShadedBar" + "xpos" "9999" + "ypos" "9999" + "zpos" "5" + "wide" "f0" + "tall" "50" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "image" "loadout_bottom_gradient" + "tileImage" "1" + "PaintBackgroundType" "0" + } + + "MessageTitle" + { + "ControlName" "Label" + "fieldName" "MessageTitle" + "visible" "0" + "enabled" "0" + } +} -- cgit v1.2.3