Skip to content

Commit

Permalink
Fixed for Scream Fortress 2013
Browse files Browse the repository at this point in the history
Minor fixes for minor changes.
  • Loading branch information
Jotunn committed Oct 29, 2013
1 parent 1841537 commit d49252f
Show file tree
Hide file tree
Showing 6 changed files with 211 additions and 11 deletions.
7 changes: 7 additions & 0 deletions KBNHud/resource/GameMenu.res
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
111 changes: 111 additions & 0 deletions KBNHud/resource/ui/HudSpellSelection.res
Original file line number Diff line number Diff line change
@@ -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"
}
}
70 changes: 68 additions & 2 deletions KBNHud/resource/ui/MainMenuOverride.res
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -2774,7 +2774,7 @@
"Command" "OpenOptionsDialog"

"navUp" "ReplayBrowserButton"
"navRight" "QuitButtonHidden"
"navRight" "VRModeButton"
"navLeft" "AdvSettingsButton"

"sound_depressed" "UI/buttonclick.wav"
Expand All @@ -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"
Expand Down
16 changes: 16 additions & 0 deletions KBNHud/scripts/hudlayout.res
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions README! ITS IMPORTANT! WE'RE SERIOUS! DO IT!.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
12 changes: 6 additions & 6 deletions v3.7.1 CHANGELOG.txt → v3.7.2 CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
##################################################################
#----KBNHUD v3.7.1 - Educational Edition - CHANGELOG----##########
##################################################################
#################################################################
#----KBNHUD v3.7.2 - 3spooky5me Edition - CHANGELOG----##########
#################################################################


#####################################################################
#-----ADDED-----#####################################################
#####################################################################


-New dynamic class images
-New main menu button that toggles VR mode (mode for using oculus rift)

#####################################################################
#----CHANGED----#####################################################
Expand All @@ -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-----#####################################################
Expand Down

0 comments on commit d49252f

Please sign in to comment.