diff options
26 files changed, 1336 insertions, 18 deletions
diff --git a/minmode/resource/GameMenu.res b/minmode/resource/GameMenu.res index 5c8193c..5d5e7d1 100644 --- a/minmode/resource/GameMenu.res +++ b/minmode/resource/GameMenu.res @@ -3,7 +3,7 @@ "VersionNumber" { - "label" "rayshud v3.95" + "label" "rayshud v3.98" "subimage" "" "OnlyAtMenu" "0" } diff --git a/minmode/resource/ui/HudPlayerHealth-cross.res b/minmode/resource/ui/HudPlayerHealth-cross.res index 47b197a..a9284fc 100644 --- a/minmode/resource/ui/HudPlayerHealth-cross.res +++ b/minmode/resource/ui/HudPlayerHealth-cross.res @@ -15,8 +15,8 @@ "tall" "25" "autoResize" "0" "pinCorner" "0" - "visible" "0" - "enabled" "0" + "visible" "1" + "enabled" "1" "image" "../hud/color_panel_brown" "scaleImage" "1" "teambg_1" "../hud/color_panel_brown" @@ -39,8 +39,8 @@ "tall" "11" "autoResize" "0" "pinCorner" "0" - "visible" "0" - "enabled" "0" + "visible" "1" + "enabled" "1" "image" "../hud/color_panel_brown" "scaleImage" "1" "teambg_1" "../hud/color_panel_brown" diff --git a/minmode/resource/ui/MainMenuOverride.res b/minmode/resource/ui/MainMenuOverride.res index 836dbe6..f6c02c1 100644 --- a/minmode/resource/ui/MainMenuOverride.res +++ b/minmode/resource/ui/MainMenuOverride.res @@ -1577,7 +1577,7 @@ "use_proportional_insets" "1" "font" "CerbeticaBold20" "textAlignment" "center" - "labelText" "rayshud v3.95" + "labelText" "rayshud v3.98" "dulltext" "0" "brighttext" "0" "default" "1" diff --git a/minmode/resource/ui/econ/BackpackPanel.res b/minmode/resource/ui/econ/BackpackPanel.res index 25a6e05..c467f9e 100644 --- a/minmode/resource/ui/econ/BackpackPanel.res +++ b/minmode/resource/ui/econ/BackpackPanel.res @@ -39,6 +39,60 @@ "page_button_per_row" "20" "page_button_height" "13" + "pagebuttons_kv" + { + "ControlName" "EditablePanel" + "wide" "10" + "tall" "10" + "visible" "0" + "bgcolor_override" "0 0 0 0" + "noitem_textcolor" "117 107 94 255" + "PaintBackgroundType" "2" + "paintborder" "1" + + "Button" + { + "fieldName" "Button" + "ControlName" "CExButton" + "wide" "25" + "tall" "13" + "visible" "1" + "bgcolor_override" "0 0 0 0" + "noitem_textcolor" "117 107 94 255" + "PaintBackgroundType" "2" + "paintborder" "1" + "textAlignment" "center" + "labelText" "%page%" + "font" "HudFontSmallestBold" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + } + + "New" + { + "ControlName" "CExLabel" + "fieldName" "New" + "font" "FontStorePrice" + "textAlignment" "east" + "ypos" "0" + "xpos" "0" + "zpos" "0" + "wide" "f1" + "tall" "f-3" + "textinsetx" "8" + "autoResize" "1" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "labelText" "#Store_Price_New" + "mouseinputenabled" "0" + "paintbackground" "0" + "proportionaltoparent" "1" + "border" "StoreNewBorder" + "fgcolor" "10 10 10 255" + } + } + "modelpanels_kv" { "ControlName" "CItemModelPanel" @@ -72,6 +126,29 @@ "allow_rot" "0" } + "New" + { + "ControlName" "CExLabel" + "fieldName" "New" + "font" "FontStorePrice" + "textAlignment" "east" + "xpos" "rs1" + "zpos" "15" + "wide" "25" + "tall" "12" + "textinsetx" "8" + "autoResize" "1" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "labelText" "#Store_Price_New" + "mouseinputenabled" "0" + "paintbackground" "0" + "proportionaltoparent" "1" + "border" "StoreNewBorder" + "fgcolor" "10 10 10 255" + } + "use_item_sounds" "1" } } diff --git a/minmode/resource/ui/healthiconpanel.res b/minmode/resource/ui/healthiconpanel.res new file mode 100644 index 0000000..73be326 --- /dev/null +++ b/minmode/resource/ui/healthiconpanel.res @@ -0,0 +1,35 @@ +"Resource/UI/HealthIconPanel.res" +{ + "HealthIcon" + { + "ControlName" "EditablePanel" + "fieldName" "HealthIcon" + "xpos" "0" + "xpos_minmode" "0" + "ypos" "0" + "ypos_minmode" "0" + "wide" "48" + "tall" "48" + "visible" "1" + "enabled" "1" + "TFFont" "HudFontSmall" + "TextColor" "HudOffWhite" + "autoResize" "1" + } + "SpectatorGUIHealth" + { + "ControlName" "EditablePanel" + "fieldName" "SpectatorGUIHealth" + "xpos" "0" + "xpos_minmode" "0" + "ypos" "0" + "ypos_minmode" "0" + "wide" "128" + "tall" "128" + "visible" "1" + "enabled" "1" + "TFFont" "HudFontSmall" + "TextColor" "HudOffWhite" + "autoResize" "1" + } +} diff --git a/minmode/resource/ui/huditemeffectmeter_kartcharge.res b/minmode/resource/ui/huditemeffectmeter_kartcharge.res new file mode 100644 index 0000000..f98876c --- /dev/null +++ b/minmode/resource/ui/huditemeffectmeter_kartcharge.res @@ -0,0 +1,115 @@ +"Resource/UI/HudItemEffectMeter_Scout.res" +{ + HudItemEffectMeter + { + "fieldName" "HudItemEffectMeter" + "visible" "1" + "enabled" "1" + "xpos" "c-75" + "ypos" "c23" + "wide" "500" + "tall" "500" + "MeterFG" "White" + "MeterBG" "Gray" + } + + "ItemEffectMeterBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "ItemEffectMeterBG" + "xpos" "-30" + "ypos" "28" + "zpos" "0" + "wide" "150" + "tall" "75" + "visible" "0" + "enabled" "0" + "image" "../hud/misc_ammo_area_horiz2_blue" + "scaleImage" "1" + "teambg_2" "../hud/misc_ammo_area_horiz2_red" + "teambg_2_lodef" "../hud/misc_ammo_area_red_lodef" + "teambg_3" "../hud/misc_ammo_area_horiz2_blue" + "teambg_3_lodef" "../hud/misc_ammo_area_blue_lodef" + } + + "ItemEffectMeterLabel" + { + "ControlName" "CExLabel" + "fieldName" "ItemEffectMeterLabel" + "xpos" "0" + "ypos" "60" + "zpos" "2" + "wide" "150" + "tall" "8" + "autoResize" "1" + "pinCorner" "2" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + "labelText" "#TF_KART" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "Cerbetica12" + "fgcolor_override" "150 150 150 255" + } + + "ItemEffectMeter" + { + "ControlName" "ContinuousProgressBar" + "fieldName" "ItemEffectMeter" + "font" "Default" + "xpos" "15" + "ypos" "30" + "zpos" "2" + "wide" "120" + "tall" "5" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "textAlignment" "Center" + "dulltext" "0" + "brighttext" "0" + } + + "ItemEffectMeterCount" + { + "ControlName" "CExLabel" + "fieldName" "ItemEffectMeterCount" + "xpos" "0" + "ypos" "4" + "zpos" "2" + "wide" "150" + "tall" "30" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "%progresscount%" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "CerbeticaBold20" + } + "ItemEffectMeterCountBG" + { + "ControlName" "CExLabel" + "fieldName" "ItemEffectMeterCount" + "xpos" "2" + "ypos" "6" + "zpos" "2" + "wide" "150" + "tall" "30" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "%progresscount%" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "CerbeticaBold20" + "fgcolor_override" "TransparentBlack" + } +}
\ No newline at end of file diff --git a/minmode/resource/ui/hudminigame_base.res b/minmode/resource/ui/hudminigame_base.res new file mode 100644 index 0000000..d132f9a --- /dev/null +++ b/minmode/resource/ui/hudminigame_base.res @@ -0,0 +1,165 @@ +"Resource/UI/HudMiniGame_Base.res" +{ + "LeftSideBG" + { + "ControlName" "ImagePanel" + "fieldName" "LeftSideBG" + "xpos" "c-120" + "ypos" "r20" + "zpos" "-1" + "wide" "120" + "tall" "14" + "visible" "1" + "enabled" "1" + "fillcolor" "70 130 180 153" + "scaleImage" "1" + + } + + "RightSideBG" + { + "ControlName" "ImagePanel" + "fieldName" "RightSideBG" + "xpos" "c0" + "ypos" "r20" [$WIN32] + "zpos" "-1" + "wide" "120" + "tall" "14" + "visible" "1" + "enabled" "1" + "fillcolor" "205 50 50 153" + "scaleImage" "1" + } + + "OutlineBG" + { + "ControlName" "ImagePanel" + "fieldName" "OutlineBG" + "xpos" "cs-0.5" + "ypos" "r77" + "zpos" "2" + "wide" "280" + "tall" "80" + "visible" "0" + "enabled" "0" + "image" "../hud/objectives_flagpanel_bg_outline" + "scaleImage" "1" + } + + "BlueScore" + { + "ControlName" "CExLabel" + "fieldName" "BlueScore" + "xpos" "c-57" + "ypos" "r33" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%bluescore%" + "font" "Cerbetica40" + "fgcolor" "TanLight" + } + + "BlueScoreShadow" + { + "ControlName" "CExLabel" + "fieldName" "BlueScoreShadow" + "xpos" "c-56" + "ypos" "r32" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%bluescore%" + "font" "Cerbetica40" + "fgcolor" "Black" + } + + "RedScore" + { + "ControlName" "CExLabel" + "fieldName" "RedScore" + "xpos" "c7" + "ypos" "r33" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "west" + "labelText" "%redscore%" + "font" "Cerbetica40" + "fgcolor" "TanLight" + } + + "RedScoreShadow" + { + "ControlName" "CExLabel" + "fieldName" "RedScoreShadow" + "xpos" "c8" + "ypos" "r32" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "west" + "labelText" "%redscore%" + "font" "Cerbetica40" + "fgcolor" "Black" + } + + "PlayingTo" + { + "ControlName" "CExLabel" + "fieldName" "PlayingTo" + "xpos" "c-70" [$WIN32] + "ypos" "r54" [$WIN32] + "zpos" "4" + "wide" "140" [$WIN32] + "tall" "30" + "visible" "1" + "enabled" "1" + "labelText" "#TF_PlayingTo" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "Cerbetica14" + "fgcolor" "TanLight" + } + + "PlayingToBG" + { + "ControlName" "ImagePanel" + "fieldName" "PlayingToBG" + "xpos" "c-50" [$WIN32] + "ypos" "r50" [$WIN32] + "zpos" "3" + "wide" "100" [$WIN32] + "tall" "20" [$WIN32] + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 0" + "scaleImage" "1" + } + + "GameImage" + { + "ControlName" "ImagePanel" + "fieldName" "GameImage" + "xpos" "cs-0.5" + "ypos" "r74" + "zpos" "5" + "wide" "50" + "tall" "50" + "visible" "0" + "enabled" "0" + "image" "" + "scaleImage" "1" + } +} diff --git a/minmode/resource/ui/hudminigame_collection.res b/minmode/resource/ui/hudminigame_collection.res new file mode 100644 index 0000000..3cbdeff --- /dev/null +++ b/minmode/resource/ui/hudminigame_collection.res @@ -0,0 +1,9 @@ +#base "HudMiniGame_Base.res" + +"Resource/UI/HudMiniGame_Collection.res" +{ + "GameImage" + { + "image" "../hud/minigame_collection" + } +} diff --git a/minmode/resource/ui/hudminigame_platform.res b/minmode/resource/ui/hudminigame_platform.res new file mode 100644 index 0000000..c6d6aff --- /dev/null +++ b/minmode/resource/ui/hudminigame_platform.res @@ -0,0 +1,14 @@ +#base "HudMiniGame_Base.res" + +"Resource/UI/HudMiniGame_Plaform.res" +{ + "GameImage" + { + "image" "../hud/minigame_platform" + } + + "PlayingTo" + { + "labelText" "#TF_PlayingToElimination" + } +} diff --git a/minmode/resource/ui/hudminigame_soccer.res b/minmode/resource/ui/hudminigame_soccer.res new file mode 100644 index 0000000..92b5f71 --- /dev/null +++ b/minmode/resource/ui/hudminigame_soccer.res @@ -0,0 +1,9 @@ +#base "HudMiniGame_Base.res" + +"Resource/UI/HudMiniGame_Soccer.res" +{ + "GameImage" + { + "image" "../hud/minigame_soccer" + } +} diff --git a/minmode/resource/ui/hudminigame_soccersuddendeath.res b/minmode/resource/ui/hudminigame_soccersuddendeath.res new file mode 100644 index 0000000..d455da4 --- /dev/null +++ b/minmode/resource/ui/hudminigame_soccersuddendeath.res @@ -0,0 +1,61 @@ +#base "HudMiniGame_Soccer.res" + +"Resource/UI/HudMiniGame_SuddenDeath.res" +{ + "PlayingTo" + { + "labelText" "#game_SuddenDeath" + } + + "RedScore" + { + "visible" "0" + } + + "RedScoreShadow" + { + "visible" "0" + } + + "BlueScore" + { + "visible" "0" + } + + "BlueScoreShadow" + { + "visible" "0" + } + + "RedSkullImage" + { + "ControlName" "ImagePanel" + "fieldName" "RedSkullImage" + "xpos" "c70" + "ypos" "r60" + "zpos" "5" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "image" "../effects/skull001_hud" + "scaleImage" "1" + "proportionaltoparent" "1" + } + + "BlueSkullImage" + { + "ControlName" "ImagePanel" + "fieldName" "BlueSkullImage" + "xpos" "c-120" + "ypos" "r60" + "zpos" "5" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "image" "../effects/skull001_hud" + "scaleImage" "1" + "proportionaltoparent" "1" + } +} diff --git a/minmode/resource/ui/quickplaydialog.res b/minmode/resource/ui/quickplaydialog.res index 4918bed..8148b41 100644 --- a/minmode/resource/ui/quickplaydialog.res +++ b/minmode/resource/ui/quickplaydialog.res @@ -23,7 +23,7 @@ "xpos" "c-200" "ypos" "c-190" "wide" "400" - "tall" "380" + "tall" "400" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -839,13 +839,65 @@ "visible" "1" "enabled" "1" } + + "ExplainBetaButton" + { + "ControlName" "CExButton" + "fieldName" "ExplainBetaButton" + "xpos" "0" + "ypos" "0" + "zpos" "10" + "wide" "15" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "?" + "font" "HudFontSmallBold" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "Command" "explain_beta" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "proportionaltoparent" "1" + + "pin_to_sibling" "BetaCheckButton" + "pin_corner_to_sibling" "7" + "pin_to_sibling_corner" "5" + } + + "BetaCheckButton" + { + "ControlName" "CheckButton" + "fieldName" "BetaCheckButton" + "labelText" "#TF_Quickplay_BetaMaps" + "Font" "HudFontSmallestBold" + "textAlignment" "west" + "Command" "beta_toggle" + "xpos" "10" + "ypos" "r30" + "zpos" "1" + "wide" "140" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "dulltext" "0" + "brighttext" "0" + "proportionaltoparent" "1" + } "CancelButton" { "ControlName" "CExButton" "fieldName" "CancelButton" "xpos" "290" - "ypos" "345" + "ypos" "365" "zpos" "20" "wide" "100" "tall" "25" @@ -865,6 +917,117 @@ "border_armed" "NoBorder" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - } + } + "BetaExplanation" + { + "ControlName" "CExplanationPopup" + "fieldName" "BetaExplanation" + "xpos" "0" + "ypos" "0" + "zpos" "10000" + "wide" "280" + "tall" "160" + "visible" "0" + "PaintBackgroundType" "2" + "paintbackground" "0" + "border" "MainMenuHighlightBorder" + + "force_close" "1" + "end_x" "50" + "end_y" "210" + "end_wide" "300" + "end_tall" "160" + "callout_inparents_x" "25" + "callout_inparents_y" "385" + "next_explanation" "" + + "TitleLabel" + { + "ControlName" "CExLabel" + "fieldName" "TitleLabel" + "font" "HudFontSmallBold" + "labelText" "#QuickplayBetaExplanation_Title" + "textAlignment" "north" + "xpos" "20" + "ypos" "10" + "wide" "210" + "tall" "30" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "46 43 42 255" + } + + "TextLabel" + { + "ControlName" "CExLabel" + "fieldName" "TextLabel" + "font" "HudFontSmall" + "labelText" "#QuickplayBetaExplanation_Text" + "textAlignment" "north-west" + "xpos" "20" + "ypos" "35" + "wide" "f0" + "tall" "f0" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "46 43 42 255" + "proportionaltoparent" "1" + } + + "CloseButton" + { + "ControlName" "CExImageButton" + "fieldName" "CloseButton" + "xpos" "r5" + "ypos" "5" + "zpos" "10" + "wide" "14" + "tall" "14" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labeltext" "" + "font" "HudFontSmallBold" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "0" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "Command" "close" + "proportionaltoparent" "1" + + "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" "200 80 60 255" + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "0" + "ypos" "0" + "zpos" "1" + "wide" "14" + "tall" "14" + "visible" "1" + "enabled" "1" + "image" "close_button" + "scaleImage" "1" + } + } + } } } diff --git a/minmode/scripts/hudlayout.res b/minmode/scripts/hudlayout.res index 3980ccd..b76ead6 100644 --- a/minmode/scripts/hudlayout.res +++ b/minmode/scripts/hudlayout.res @@ -2145,4 +2145,15 @@ "tall" "200" "PaintBackgroundType" "0" } + + HudMiniGame + { + "fieldName" "HudMiniGame" + "visible" "1" + "enabled" "1" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + } } diff --git a/resource/GameMenu.res b/resource/GameMenu.res index 5c8193c..5d5e7d1 100644 --- a/resource/GameMenu.res +++ b/resource/GameMenu.res @@ -3,7 +3,7 @@ "VersionNumber" { - "label" "rayshud v3.95" + "label" "rayshud v3.98" "subimage" "" "OnlyAtMenu" "0" } diff --git a/resource/ui/HudPlayerHealth-cross.res b/resource/ui/HudPlayerHealth-cross.res index 200cf35..6beef58 100644 --- a/resource/ui/HudPlayerHealth-cross.res +++ b/resource/ui/HudPlayerHealth-cross.res @@ -15,8 +15,8 @@ "tall" "42" "autoResize" "0" "pinCorner" "0" - "visible" "0" - "enabled" "0" + "visible" "1" + "enabled" "1" "image" "../hud/color_panel_brown" "scaleImage" "1" "teambg_1" "../hud/color_panel_brown" @@ -39,8 +39,8 @@ "tall" "16" "autoResize" "0" "pinCorner" "0" - "visible" "0" - "enabled" "0" + "visible" "1" + "enabled" "1" "image" "../hud/color_panel_brown" "scaleImage" "1" "teambg_1" "../hud/color_panel_brown" diff --git a/resource/ui/MainMenuOverride.res b/resource/ui/MainMenuOverride.res index 836dbe6..f6c02c1 100644 --- a/resource/ui/MainMenuOverride.res +++ b/resource/ui/MainMenuOverride.res @@ -1577,7 +1577,7 @@ "use_proportional_insets" "1" "font" "CerbeticaBold20" "textAlignment" "center" - "labelText" "rayshud v3.95" + "labelText" "rayshud v3.98" "dulltext" "0" "brighttext" "0" "default" "1" diff --git a/resource/ui/econ/BackpackPanel.res b/resource/ui/econ/BackpackPanel.res index 25a6e05..c467f9e 100644 --- a/resource/ui/econ/BackpackPanel.res +++ b/resource/ui/econ/BackpackPanel.res @@ -39,6 +39,60 @@ "page_button_per_row" "20" "page_button_height" "13" + "pagebuttons_kv" + { + "ControlName" "EditablePanel" + "wide" "10" + "tall" "10" + "visible" "0" + "bgcolor_override" "0 0 0 0" + "noitem_textcolor" "117 107 94 255" + "PaintBackgroundType" "2" + "paintborder" "1" + + "Button" + { + "fieldName" "Button" + "ControlName" "CExButton" + "wide" "25" + "tall" "13" + "visible" "1" + "bgcolor_override" "0 0 0 0" + "noitem_textcolor" "117 107 94 255" + "PaintBackgroundType" "2" + "paintborder" "1" + "textAlignment" "center" + "labelText" "%page%" + "font" "HudFontSmallestBold" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + } + + "New" + { + "ControlName" "CExLabel" + "fieldName" "New" + "font" "FontStorePrice" + "textAlignment" "east" + "ypos" "0" + "xpos" "0" + "zpos" "0" + "wide" "f1" + "tall" "f-3" + "textinsetx" "8" + "autoResize" "1" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "labelText" "#Store_Price_New" + "mouseinputenabled" "0" + "paintbackground" "0" + "proportionaltoparent" "1" + "border" "StoreNewBorder" + "fgcolor" "10 10 10 255" + } + } + "modelpanels_kv" { "ControlName" "CItemModelPanel" @@ -72,6 +126,29 @@ "allow_rot" "0" } + "New" + { + "ControlName" "CExLabel" + "fieldName" "New" + "font" "FontStorePrice" + "textAlignment" "east" + "xpos" "rs1" + "zpos" "15" + "wide" "25" + "tall" "12" + "textinsetx" "8" + "autoResize" "1" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "labelText" "#Store_Price_New" + "mouseinputenabled" "0" + "paintbackground" "0" + "proportionaltoparent" "1" + "border" "StoreNewBorder" + "fgcolor" "10 10 10 255" + } + "use_item_sounds" "1" } } diff --git a/resource/ui/healthiconpanel.res b/resource/ui/healthiconpanel.res new file mode 100644 index 0000000..73be326 --- /dev/null +++ b/resource/ui/healthiconpanel.res @@ -0,0 +1,35 @@ +"Resource/UI/HealthIconPanel.res" +{ + "HealthIcon" + { + "ControlName" "EditablePanel" + "fieldName" "HealthIcon" + "xpos" "0" + "xpos_minmode" "0" + "ypos" "0" + "ypos_minmode" "0" + "wide" "48" + "tall" "48" + "visible" "1" + "enabled" "1" + "TFFont" "HudFontSmall" + "TextColor" "HudOffWhite" + "autoResize" "1" + } + "SpectatorGUIHealth" + { + "ControlName" "EditablePanel" + "fieldName" "SpectatorGUIHealth" + "xpos" "0" + "xpos_minmode" "0" + "ypos" "0" + "ypos_minmode" "0" + "wide" "128" + "tall" "128" + "visible" "1" + "enabled" "1" + "TFFont" "HudFontSmall" + "TextColor" "HudOffWhite" + "autoResize" "1" + } +} diff --git a/resource/ui/huditemeffectmeter_kartcharge.res b/resource/ui/huditemeffectmeter_kartcharge.res new file mode 100644 index 0000000..6fa4e2b --- /dev/null +++ b/resource/ui/huditemeffectmeter_kartcharge.res @@ -0,0 +1,115 @@ +"Resource/UI/HudItemEffectMeter_Scout.res" +{ + HudItemEffectMeter + { + "fieldName" "HudItemEffectMeter" + "visible" "1" + "enabled" "1" + "xpos" "c-75" + "ypos" "c94" + "wide" "500" + "tall" "500" + "MeterFG" "White" + "MeterBG" "Gray" + } + + "ItemEffectMeterBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "ItemEffectMeterBG" + "xpos" "-30" + "ypos" "28" + "zpos" "0" + "wide" "150" + "tall" "75" + "visible" "0" + "enabled" "0" + "image" "../hud/misc_ammo_area_horiz2_blue" + "scaleImage" "1" + "teambg_2" "../hud/misc_ammo_area_horiz2_red" + "teambg_2_lodef" "../hud/misc_ammo_area_red_lodef" + "teambg_3" "../hud/misc_ammo_area_horiz2_blue" + "teambg_3_lodef" "../hud/misc_ammo_area_blue_lodef" + } + + "ItemEffectMeterLabel" + { + "ControlName" "CExLabel" + "fieldName" "ItemEffectMeterLabel" + "xpos" "0" + "ypos" "30" + "zpos" "2" + "wide" "150" + "tall" "8" + "autoResize" "1" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#TF_KART" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "Cerbetica12" + "fgcolor_override" "150 150 150 255" + } + + "ItemEffectMeter" + { + "ControlName" "ContinuousProgressBar" + "fieldName" "ItemEffectMeter" + "font" "Default" + "xpos" "0" + "ypos" "30" + "zpos" "2" + "wide" "150" + "tall" "8" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "textAlignment" "Center" + "dulltext" "0" + "brighttext" "0" + } + + "ItemEffectMeterCount" + { + "ControlName" "CExLabel" + "fieldName" "ItemEffectMeterCount" + "xpos" "0" + "ypos" "0" + "zpos" "2" + "wide" "150" + "tall" "30" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "%progresscount%" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "CerbeticaBold28" + } + "ItemEffectMeterCountBG" + { + "ControlName" "CExLabel" + "fieldName" "ItemEffectMeterCount" + "xpos" "2" + "ypos" "2" + "zpos" "2" + "wide" "150" + "tall" "30" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "%progresscount%" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "CerbeticaBold28" + "fgcolor_override" "TransparentBlack" + } +}
\ No newline at end of file diff --git a/resource/ui/hudminigame_base.res b/resource/ui/hudminigame_base.res new file mode 100644 index 0000000..d132f9a --- /dev/null +++ b/resource/ui/hudminigame_base.res @@ -0,0 +1,165 @@ +"Resource/UI/HudMiniGame_Base.res" +{ + "LeftSideBG" + { + "ControlName" "ImagePanel" + "fieldName" "LeftSideBG" + "xpos" "c-120" + "ypos" "r20" + "zpos" "-1" + "wide" "120" + "tall" "14" + "visible" "1" + "enabled" "1" + "fillcolor" "70 130 180 153" + "scaleImage" "1" + + } + + "RightSideBG" + { + "ControlName" "ImagePanel" + "fieldName" "RightSideBG" + "xpos" "c0" + "ypos" "r20" [$WIN32] + "zpos" "-1" + "wide" "120" + "tall" "14" + "visible" "1" + "enabled" "1" + "fillcolor" "205 50 50 153" + "scaleImage" "1" + } + + "OutlineBG" + { + "ControlName" "ImagePanel" + "fieldName" "OutlineBG" + "xpos" "cs-0.5" + "ypos" "r77" + "zpos" "2" + "wide" "280" + "tall" "80" + "visible" "0" + "enabled" "0" + "image" "../hud/objectives_flagpanel_bg_outline" + "scaleImage" "1" + } + + "BlueScore" + { + "ControlName" "CExLabel" + "fieldName" "BlueScore" + "xpos" "c-57" + "ypos" "r33" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%bluescore%" + "font" "Cerbetica40" + "fgcolor" "TanLight" + } + + "BlueScoreShadow" + { + "ControlName" "CExLabel" + "fieldName" "BlueScoreShadow" + "xpos" "c-56" + "ypos" "r32" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%bluescore%" + "font" "Cerbetica40" + "fgcolor" "Black" + } + + "RedScore" + { + "ControlName" "CExLabel" + "fieldName" "RedScore" + "xpos" "c7" + "ypos" "r33" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "west" + "labelText" "%redscore%" + "font" "Cerbetica40" + "fgcolor" "TanLight" + } + + "RedScoreShadow" + { + "ControlName" "CExLabel" + "fieldName" "RedScoreShadow" + "xpos" "c8" + "ypos" "r32" + "zpos" "8" + "wide" "50" + "tall" "35" + "visible" "1" + "enabled" "1" + "textAlignment" "west" + "labelText" "%redscore%" + "font" "Cerbetica40" + "fgcolor" "Black" + } + + "PlayingTo" + { + "ControlName" "CExLabel" + "fieldName" "PlayingTo" + "xpos" "c-70" [$WIN32] + "ypos" "r54" [$WIN32] + "zpos" "4" + "wide" "140" [$WIN32] + "tall" "30" + "visible" "1" + "enabled" "1" + "labelText" "#TF_PlayingTo" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "font" "Cerbetica14" + "fgcolor" "TanLight" + } + + "PlayingToBG" + { + "ControlName" "ImagePanel" + "fieldName" "PlayingToBG" + "xpos" "c-50" [$WIN32] + "ypos" "r50" [$WIN32] + "zpos" "3" + "wide" "100" [$WIN32] + "tall" "20" [$WIN32] + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 0" + "scaleImage" "1" + } + + "GameImage" + { + "ControlName" "ImagePanel" + "fieldName" "GameImage" + "xpos" "cs-0.5" + "ypos" "r74" + "zpos" "5" + "wide" "50" + "tall" "50" + "visible" "0" + "enabled" "0" + "image" "" + "scaleImage" "1" + } +} diff --git a/resource/ui/hudminigame_collection.res b/resource/ui/hudminigame_collection.res new file mode 100644 index 0000000..3cbdeff --- /dev/null +++ b/resource/ui/hudminigame_collection.res @@ -0,0 +1,9 @@ +#base "HudMiniGame_Base.res" + +"Resource/UI/HudMiniGame_Collection.res" +{ + "GameImage" + { + "image" "../hud/minigame_collection" + } +} diff --git a/resource/ui/hudminigame_platform.res b/resource/ui/hudminigame_platform.res new file mode 100644 index 0000000..c6d6aff --- /dev/null +++ b/resource/ui/hudminigame_platform.res @@ -0,0 +1,14 @@ +#base "HudMiniGame_Base.res" + +"Resource/UI/HudMiniGame_Plaform.res" +{ + "GameImage" + { + "image" "../hud/minigame_platform" + } + + "PlayingTo" + { + "labelText" "#TF_PlayingToElimination" + } +} diff --git a/resource/ui/hudminigame_soccer.res b/resource/ui/hudminigame_soccer.res new file mode 100644 index 0000000..92b5f71 --- /dev/null +++ b/resource/ui/hudminigame_soccer.res @@ -0,0 +1,9 @@ +#base "HudMiniGame_Base.res" + +"Resource/UI/HudMiniGame_Soccer.res" +{ + "GameImage" + { + "image" "../hud/minigame_soccer" + } +} diff --git a/resource/ui/hudminigame_soccersuddendeath.res b/resource/ui/hudminigame_soccersuddendeath.res new file mode 100644 index 0000000..d455da4 --- /dev/null +++ b/resource/ui/hudminigame_soccersuddendeath.res @@ -0,0 +1,61 @@ +#base "HudMiniGame_Soccer.res" + +"Resource/UI/HudMiniGame_SuddenDeath.res" +{ + "PlayingTo" + { + "labelText" "#game_SuddenDeath" + } + + "RedScore" + { + "visible" "0" + } + + "RedScoreShadow" + { + "visible" "0" + } + + "BlueScore" + { + "visible" "0" + } + + "BlueScoreShadow" + { + "visible" "0" + } + + "RedSkullImage" + { + "ControlName" "ImagePanel" + "fieldName" "RedSkullImage" + "xpos" "c70" + "ypos" "r60" + "zpos" "5" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "image" "../effects/skull001_hud" + "scaleImage" "1" + "proportionaltoparent" "1" + } + + "BlueSkullImage" + { + "ControlName" "ImagePanel" + "fieldName" "BlueSkullImage" + "xpos" "c-120" + "ypos" "r60" + "zpos" "5" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "image" "../effects/skull001_hud" + "scaleImage" "1" + "proportionaltoparent" "1" + } +} diff --git a/resource/ui/quickplaydialog.res b/resource/ui/quickplaydialog.res index 4918bed..8148b41 100644 --- a/resource/ui/quickplaydialog.res +++ b/resource/ui/quickplaydialog.res @@ -23,7 +23,7 @@ "xpos" "c-200" "ypos" "c-190" "wide" "400" - "tall" "380" + "tall" "400" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -839,13 +839,65 @@ "visible" "1" "enabled" "1" } + + "ExplainBetaButton" + { + "ControlName" "CExButton" + "fieldName" "ExplainBetaButton" + "xpos" "0" + "ypos" "0" + "zpos" "10" + "wide" "15" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "?" + "font" "HudFontSmallBold" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "Command" "explain_beta" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "proportionaltoparent" "1" + + "pin_to_sibling" "BetaCheckButton" + "pin_corner_to_sibling" "7" + "pin_to_sibling_corner" "5" + } + + "BetaCheckButton" + { + "ControlName" "CheckButton" + "fieldName" "BetaCheckButton" + "labelText" "#TF_Quickplay_BetaMaps" + "Font" "HudFontSmallestBold" + "textAlignment" "west" + "Command" "beta_toggle" + "xpos" "10" + "ypos" "r30" + "zpos" "1" + "wide" "140" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "dulltext" "0" + "brighttext" "0" + "proportionaltoparent" "1" + } "CancelButton" { "ControlName" "CExButton" "fieldName" "CancelButton" "xpos" "290" - "ypos" "345" + "ypos" "365" "zpos" "20" "wide" "100" "tall" "25" @@ -865,6 +917,117 @@ "border_armed" "NoBorder" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - } + } + "BetaExplanation" + { + "ControlName" "CExplanationPopup" + "fieldName" "BetaExplanation" + "xpos" "0" + "ypos" "0" + "zpos" "10000" + "wide" "280" + "tall" "160" + "visible" "0" + "PaintBackgroundType" "2" + "paintbackground" "0" + "border" "MainMenuHighlightBorder" + + "force_close" "1" + "end_x" "50" + "end_y" "210" + "end_wide" "300" + "end_tall" "160" + "callout_inparents_x" "25" + "callout_inparents_y" "385" + "next_explanation" "" + + "TitleLabel" + { + "ControlName" "CExLabel" + "fieldName" "TitleLabel" + "font" "HudFontSmallBold" + "labelText" "#QuickplayBetaExplanation_Title" + "textAlignment" "north" + "xpos" "20" + "ypos" "10" + "wide" "210" + "tall" "30" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "46 43 42 255" + } + + "TextLabel" + { + "ControlName" "CExLabel" + "fieldName" "TextLabel" + "font" "HudFontSmall" + "labelText" "#QuickplayBetaExplanation_Text" + "textAlignment" "north-west" + "xpos" "20" + "ypos" "35" + "wide" "f0" + "tall" "f0" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "wrap" "1" + "fgcolor_override" "46 43 42 255" + "proportionaltoparent" "1" + } + + "CloseButton" + { + "ControlName" "CExImageButton" + "fieldName" "CloseButton" + "xpos" "r5" + "ypos" "5" + "zpos" "10" + "wide" "14" + "tall" "14" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labeltext" "" + "font" "HudFontSmallBold" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "default" "0" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "Command" "close" + "proportionaltoparent" "1" + + "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" "200 80 60 255" + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "0" + "ypos" "0" + "zpos" "1" + "wide" "14" + "tall" "14" + "visible" "1" + "enabled" "1" + "image" "close_button" + "scaleImage" "1" + } + } + } } } diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index b962a96..50c0908 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -2156,4 +2156,15 @@ "tall" "200" "PaintBackgroundType" "0" } + HudMiniGame + { + "fieldName" "HudMiniGame" + "visible" "1" + "enabled" "1" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + } + } |
