From d49252fc48d9ae409ff61e7e8574fa8c2e15288e Mon Sep 17 00:00:00 2001 From: Nicolas Angelini Date: Tue, 29 Oct 2013 19:06:14 -0400 Subject: [PATCH] Fixed for Scream Fortress 2013 Minor fixes for minor changes. --- KBNHud/resource/GameMenu.res | 7 ++ KBNHud/resource/ui/HudSpellSelection.res | 111 ++++++++++++++++++ KBNHud/resource/ui/MainMenuOverride.res | 70 ++++++++++- KBNHud/scripts/hudlayout.res | 16 +++ ...! ITS IMPORTANT! WE'RE SERIOUS! DO IT!.txt | 6 +- v3.7.1 CHANGELOG.txt => v3.7.2 CHANGELOG.txt | 12 +- 6 files changed, 211 insertions(+), 11 deletions(-) create mode 100644 KBNHud/resource/ui/HudSpellSelection.res rename v3.7.1 CHANGELOG.txt => v3.7.2 CHANGELOG.txt (87%) diff --git a/KBNHud/resource/GameMenu.res b/KBNHud/resource/GameMenu.res index 0ec5bb3..1632e75 100644 --- a/KBNHud/resource/GameMenu.res +++ b/KBNHud/resource/GameMenu.res @@ -55,6 +55,13 @@ "subimage" "glyph_steamworkshop" "tooltip" "#MMenu_SteamWorkshop" } + "VRModeButton" + { + "label" "#MMenu_VRMode_Activate" + "command" "engine vr_toggle" + "subimage" "glyph_vr" + "OnlyWhenVREnabled" "1" + } "KBNHudButton" { "command" "engine play vo/sniper_specialcompleted03" diff --git a/KBNHud/resource/ui/HudSpellSelection.res b/KBNHud/resource/ui/HudSpellSelection.res new file mode 100644 index 0000000..be6fe0a --- /dev/null +++ b/KBNHud/resource/ui/HudSpellSelection.res @@ -0,0 +1,111 @@ +"Resource/UI/HudSpellSelection.res" +{ + "ItemEffectMeterBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "ItemEffectMeterBG" + "xpos" "0" + "ypos" "10" + "wide" "80" + "tall" "40" + "visible" "0" + "enabled" "0" + "image" "../hud/ammo_blue_bg" + "scaleImage" "1" + "teambg_2" "../hud/ammo_red_bg" + "teambg_2_lodef" "../hud/ammo_red_bg_lodef" + "teambg_3" "../hud/ammo_blue_bg" + "teambg_3_lodef" "../hud/ammo_blue_bg_lodef" + } + + "Spellbook" + { + "ControlName" "CTFImagePanel" + "fieldName" "Spellbook" + "xpos" "10" + "ypos" "0" + "zpos" "0" + "wide" "64" + "tall" "56" + "visible" "1" + "enabled" "1" + "image" "spellbook_book" + "scaleImage" "1" + } + + "SpellIcon" + { + "ControlName" "ImagePanel" + "fieldName" "SpellIcon" + "xpos" "16" + "ypos" "15" + "zpos" "7" + "wide" "24" + "tall" "24" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + "image" "../signs/death_wheel_whammy" + "fgcolor" "TanDark" + } + + "ActionText" + { + "ControlName" "CExLabel" + "fieldName" "ActionText" + "font" "Default" + "labelText" "%actiontext%" + "textAlignment" "west" + "xpos" "18" + "ypos" "48" + "wide" "100" + "tall" "10" + "fgcolor" "tanlight" + "visible" "1" + } + + "SpellText" + { + "ControlName" "CExLabel" + "fieldName" "SpellText" + "font" "Default" + "labelText" "%selectedspell%" + "textAlignment" "west" + "xpos" "35" + "ypos" "25" + "wide" "100" + "tall" "10" + "fgcolor" "tanlight" + "visible" "0" + } + + "CountTextShadow" + { + "ControlName" "CExLabel" + "fieldName" "CountTextShadow" + "font" "HudFontMediumBigBold" + "labelText" "%counttext%" + "textAlignment" "center" + "xpos" "47" + "ypos" "18" + "wide" "20" + "tall" "20" + "fgcolor" "0 0 0 255" + } + + "CountText" + { + "ControlName" "CExLabel" + "fieldName" "CountText" + "font" "HudFontMediumBigBold" + "labelText" "%counttext%" + "textAlignment" "center" + "xpos" "46" + "ypos" "17" + "xpos_minmode" "46" + "ypos_minmode" "37" + "wide" "20" + "tall" "19" + "fgcolor" "tanlight" + } +} diff --git a/KBNHud/resource/ui/MainMenuOverride.res b/KBNHud/resource/ui/MainMenuOverride.res index 0d4c062..1fba54d 100644 --- a/KBNHud/resource/ui/MainMenuOverride.res +++ b/KBNHud/resource/ui/MainMenuOverride.res @@ -274,7 +274,7 @@ "ControlName" "CExLabel" "fieldName" "KBNHudLabel" "font" "HudFontMediumSmallBold" - "labelText" "KBNHud v3.7.0" + "labelText" "KBNHud v3.7.2" "textAlignment" "west" "xpos" "20" "ypos" "91" @@ -2774,7 +2774,7 @@ "Command" "OpenOptionsDialog" "navUp" "ReplayBrowserButton" - "navRight" "QuitButtonHidden" + "navRight" "VRModeButton" "navLeft" "AdvSettingsButton" "sound_depressed" "UI/buttonclick.wav" @@ -2783,6 +2783,72 @@ "image_drawcolor" "235 226 202 255" } + "VRModeButton" + { + "ControlName" "EditablePanel" + "fieldname" "VRModeButton" + "xpos" "c176" + "ypos" "401" + "zpos" "0" + "wide" "270" + "tall" "36" + "visible" "1" + "PaintBackgroundType" "2" + + "navUp" "ReplayBrowserButton" + "navRight" "QuitButtonHidden" + "navLeft" "SettingsButton" + "navToRelay" "SubButton" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "0" + "ypos" "0" + "wide" "250" + "tall" "26" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "textinsetx" "25" + "use_proportional_insets" "1" + "font" "HudFontSmallBold" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "border_default" "MainMenuButtonDefault" + "border_armed" "MainMenuButtonArmed" + "paintbackground" "0" + + "defaultFgColor_override" "46 43 42 255" + "armedFgColor_override" "235 226 202 255" + "depressedFgColor_override" "46 43 42 255" + + "image_drawcolor" "117 107 94 255" + "image_armedcolor" "235 226 202 255" + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "6" + "ypos" "6" + "zpos" "1" + "wide" "14" + "tall" "14" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + } + } + } + "QuitButton" { "ControlName" "CExImageButton" diff --git a/KBNHud/scripts/hudlayout.res b/KBNHud/scripts/hudlayout.res index 5251041..fd45eb7 100644 --- a/KBNHud/scripts/hudlayout.res +++ b/KBNHud/scripts/hudlayout.res @@ -707,6 +707,22 @@ } + HudSpellMenu + { + "fieldName" "HudSpellMenu" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + "zpos" "2" + "xpos" "250" + "ypos" "r61" + + "TextFont" "Default" + "ItemFont" "Default" + "ItemFontPulsing" "Default" + } + HudCloseCaption { "fieldName" "HudCloseCaption" diff --git a/README! ITS IMPORTANT! WE'RE SERIOUS! DO IT!.txt b/README! ITS IMPORTANT! WE'RE SERIOUS! DO IT!.txt index 5dd82c3..53d1b1a 100644 --- a/README! ITS IMPORTANT! WE'RE SERIOUS! DO IT!.txt +++ b/README! ITS IMPORTANT! WE'RE SERIOUS! DO IT!.txt @@ -1,6 +1,6 @@ -#################################################################### -#-----KBNHUD v3.7.1 - Educational Edition - README-----############# -#################################################################### +################################################################### +#-----KBNHUD v3.7.2 - 3spooky5me Edition - README-----############# +################################################################### # Hello, and again welcome to the instructional readme file. diff --git a/v3.7.1 CHANGELOG.txt b/v3.7.2 CHANGELOG.txt similarity index 87% rename from v3.7.1 CHANGELOG.txt rename to v3.7.2 CHANGELOG.txt index f87f822..d81f72e 100644 --- a/v3.7.1 CHANGELOG.txt +++ b/v3.7.2 CHANGELOG.txt @@ -1,6 +1,6 @@ -################################################################## -#----KBNHUD v3.7.1 - Educational Edition - CHANGELOG----########## -################################################################## +################################################################# +#----KBNHUD v3.7.2 - 3spooky5me Edition - CHANGELOG----########## +################################################################# ##################################################################### @@ -8,7 +8,7 @@ ##################################################################### --New dynamic class images +-New main menu button that toggles VR mode (mode for using oculus rift) ##################################################################### #----CHANGED----##################################################### @@ -21,14 +21,14 @@ ##################################################################### --All the new crap valve dun borked for us. +-All the new crap ##################################################################### #----REMOVED----##################################################### ##################################################################### --Class image overrides. (Will make a on/off option later) + ##################################################################### #-----NOTES-----#####################################################