Skip to content

Commit

Permalink
1.32 [Main Menu]
Browse files Browse the repository at this point in the history
  • Loading branch information
MedicodiBiscotti committed Aug 23, 2015
1 parent 7113dd7 commit 118ae09
Show file tree
Hide file tree
Showing 2 changed files with 295 additions and 7 deletions.
139 changes: 139 additions & 0 deletions biscottiHUD/resource/gamemenu.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
"GameMenu" [$WIN32]
{
"ConsoleButton"
{
"label" "Console"
"command" "engine toggleconsole"
}

"MinmodeButton"
{
"label" "Minimal HUD"
"command" "engine toggle cl_hud_minmode"
}

"ResumeGameButton"
{
"label" "#MMenu_ResumeGame"
"command" "ResumeGame"
"OnlyInGame" "1"
"subimage" "icon_resume"
}
"QuickplayButton"
{
"label" "#MMenu_PlayMultiplayer"
"command" "quickplay"
"subimage" "glyph_multiplayer"
"OnlyAtMenu" "1"
}
"QuickplayChangeButton"
{
"label" "#MMenu_NewGame"
"command" "quickplay"
"subimage" "glyph_server"
"OnlyInGame" "1"
}
"PlayPVEButton"
{
"label" "#MMenu_PlayCoop"
"command" "playpve"
"subimage" "glyph_coop"
"OnlyAtMenu" "1"
}
"PlayCompetitiveButton"
{
"label" "#MMenu_PlayComp"
"command" "ladder_ui_show"
"subimage" "glyph_practice"
"OnlyAtMenu" "1"
"OnlyWhenCompetitiveEnabled" "1"
}
"ServerBrowserButton"
{
"label" "#MMenu_Servers"
"command" "OpenServerBrowser"
"subimage" "glyph_server_browser"
"OnlyAtMenu" "1"
}
"ChangeServerButton"
{
"label" "#MMenu_ChangeServer"
"command" "OpenServerBrowser"
"subimage" "glyph_server_browser"
"OnlyInGame" "1"
}
"ReplayBrowserButton"
{
"label" "#GameUI_GameMenu_ReplayDemos"
"command" "engine replay_reloadbrowser"
"subimage" "glyph_tv"
}
"SteamWorkshopButton"
{
"label" "#MMenu_SteamWorkshop"
"command" "engine OpenSteamWorkshopDialog"
"subimage" "glyph_steamworkshop"
}
"VRModeButton"
{
"label" "#MMenu_VRMode_Activate"
"command" "engine vr_toggle"
"subimage" "glyph_vr"
"OnlyWhenVREnabled" "1"
}
"TrainingButton"
{
"label" "#TF_Training"
"command" "offlinepractice"
"subimage" "glyph_practice"
"OnlyAtMenu" "1"
}

// These buttons get positioned by the MainMenuOverride.res
"CreateServerButton"
{
"label" "#GameUI_GameMenu_CreateServer"
"command" "OpenCreateMultiplayerGameDialog"
"OnlyAtMenu" "1"
"tooltip" "#GameUI_GameMenu_CreateServer"
}
"GeneralStoreButton"
{
"label" "#MMenu_Shop"
"command" "engine open_store"
"subimage" "glyph_store"
}
"CharacterSetupButton"
{
"label" "#MMenu_CharacterSetup"
"command" "engine open_charinfo"
"subimage" "glyph_items"
}

// These buttons are only shown while in-game
// and also are positioned by the .res file
"CallVoteButton"
{
"label" ""
"command" "callvote"
"OnlyInGame" "1"
"subimage" "icon_checkbox"
"tooltip" "#MMenu_CallVote"
}
"MutePlayersButton"
{
"label" ""
"command" "OpenPlayerListDialog"
"OnlyInGame" "1"
"subimage" "glyph_muted"
"tooltip" "#MMenu_MutePlayers"
}
"RequestCoachButton"
{
"label" ""
"command" "engine cl_coach_find_coach"
"OnlyInGame" "1"
"subimage" "icon_whistle"
"tooltip" "#MMenu_RequestCoach"
}
}
163 changes: 156 additions & 7 deletions biscottiHUD/resource/ui/mainmenuoverride.res
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,156 @@
"fgcolor_override" "235 226 202 255"
"auto_wide_tocontents" "1"
}
}
}

"VersionLabel"
{
"ControlName" "CExLabel"
"fieldName" "VersionLabel"
"xpos" "c-178"
"ypos" "93"
"wide" "140"
"tall" "30"
"font" "HudFontSmallBold"
"textAlignment" "east"
"labelText" "biscottiHUD v. 1.32"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor_override" "235 227 203 255"
}

"ControlBGPanel"
{
"ControlName" "EditablePanel"
"fieldName" "ControlBGPanel"
"xpos" "c-290"
"ypos" "373"
"zpos" "-1"
"wide" "260"
"tall" "48"
"visible" "1"
"PaintBackgroundType" "2"
"border" "MainMenuBGBorder"

if_competitive
{
"ypos" "315"
}
}

"ConsoleButton"
{
"ControlName" "EditablePanel"
"fieldname" "ConsoleButton"
"xpos" "c-285"
"ypos" "377"
"zpos" "11"
"wide" "130"
"tall" "20"
"visible" "1"
"paintbackground" "2"

"navUp" "ReplayBrowserButton"
"navDown" "ShowPromoCodesButton"
// "navLeft" "ServerBrowserButton"
// "navRight" "TrainingButton"
"navToRelay" "SubButton"

if_competitive
{
"ypos" "219"
}

"SubButton"
{
"ControlName" "CExImageButton"
"fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
"wide" "125"
"tall" "20"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textinsetx" "0"
"use_proportional_insets" "1"
"font" "HudFontSmallBold"
"textAlignment" "center"
"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"
}
}

"MinmodeButton"
{
"ControlName" "EditablePanel"
"fieldname" "MinmodeButton"
"xpos" "c-160"
"ypos" "377"
"zpos" "11"
"wide" "135"
"tall" "20"
"visible" "1"
"paintbackground" "2"

"navUp" "ReplayBrowserButton"
"navDown" "ShowPromoCodesButton"
// "navLeft" "ServerBrowserButton"
// "navRight" "TrainingButton"
"navToRelay" "SubButton"

if_competitive
{
"ypos" "219"
}

"SubButton"
{
"ControlName" "CExImageButton"
"fieldName" "SubButton"
"xpos" "0"
"ypos" "0"
"wide" "125"
"tall" "20"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textinsetx" "0"
"use_proportional_insets" "1"
"font" "HudFontSmallBold"
"textAlignment" "center"
"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"
}
}

"CreateServerButton"
{
Expand Down Expand Up @@ -1352,11 +1501,11 @@
{
"ControlName" "EditablePanel"
"fieldname" "VRModeButton"
"xpos" "c-285"
"ypos" "379"
"xpos" "c47" // c-285
"ypos" "62" // 379
"zpos" "11"
"wide" "270"
"tall" "36"
"tall" "32"
"visible" "1"
"PaintBackgroundType" "2"

Expand Down Expand Up @@ -1734,11 +1883,11 @@
{
"ControlName" "EditablePanel"
"fieldName" "VRBGPanel"
"xpos" "c-290"
"ypos" "373"
"xpos" "c42"
"ypos" "57"
"zpos" "-1"
"wide" "260"
"tall" "38"
"tall" "36"
"visible" "1"
"PaintBackgroundType" "2"
"border" "MainMenuBGBorder"
Expand Down

0 comments on commit 118ae09

Please sign in to comment.