From 374a301ef776fc842237987036350ca51bcb3628 Mon Sep 17 00:00:00 2001 From: Ian Bruton Date: Thu, 4 Oct 2012 19:15:37 -0500 Subject: Added in MvM support. --- resource/ui/HudCurrencyAccount.res | 99 +++++++++++++ resource/ui/HudMannVsMachineStatus.res | 262 +++++++++++++++++++++++++++++++++ resource/ui/MvMCreditSubPanel.res | 135 +++++++++++++++++ resource/ui/MvMInWorldCurrency.res | 114 ++++++++++++++ resource/ui/MvMScoreboard.res | 204 +++++++++++++++++++++++++ resource/ui/ScoreBoard.res | 28 ++-- 6 files changed, 827 insertions(+), 15 deletions(-) create mode 100644 resource/ui/HudCurrencyAccount.res create mode 100644 resource/ui/HudMannVsMachineStatus.res create mode 100644 resource/ui/MvMCreditSubPanel.res create mode 100644 resource/ui/MvMInWorldCurrency.res create mode 100644 resource/ui/MvMScoreboard.res (limited to 'resource') diff --git a/resource/ui/HudCurrencyAccount.res b/resource/ui/HudCurrencyAccount.res new file mode 100644 index 0000000..13435b2 --- /dev/null +++ b/resource/ui/HudCurrencyAccount.res @@ -0,0 +1,99 @@ +"Resource/UI/HudCurrencyAccount.res" +{ + "CurrencyBG" + { + "ControlName" "ImagePanel" + "fieldName" "CurrencyBG" + "xpos" "0" + "ypos" "0" + "zpos" "0" + "wide" "100" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + + "CurrencyLabel" + { + "ControlName" "CExLabel" + "fieldName" "CurrencyLabel" + "font" "Cerbetica14" + "fgcolor" "TanLight" + "xpos" "5" + "ypos" "0" + "zpos" "3" + "wide" "40" + "tall" "20" + "visible" "1" + "enabled" "1" + "textAlignment" "west" + "labelText" "Currency" + } + + "Currency" + { + "ControlName" "CExLabel" + "fieldName" "Currency" + "font" "Cerbetica16" + "fgcolor" "OmpText" + "xpos" "45" + "ypos" "0" + "zpos" "3" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%currency%" + } + + "CurrencyShadow" + { + "ControlName" "CExLabel" + "fieldName" "CurrencyShadow" + "font" "Cerbetica16" + "fgcolor" "Black" + "xpos" "9999" + "ypos" "9999" + "zpos" "3" + "wide" "90" + "tall" "45" + "visible" "1" + "enabled" "1" + "textAlignment" "center" + "labelText" "%currency%" + } + + "WhiteBG" + { + "ControlName" "EditablePanel" + "fieldName" "WhiteBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "1" + "wide" "60" + "tall" "18" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "bgcolor_override" "TanLight" + } + + "GreenBG" + { + "ControlName" "EditablePanel" + "fieldName" "WhiteBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "2" + "wide" "58" + "tall" "16" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "bgcolor_override" "CreditsGreen" + } +} \ No newline at end of file diff --git a/resource/ui/HudMannVsMachineStatus.res b/resource/ui/HudMannVsMachineStatus.res new file mode 100644 index 0000000..16aaad1 --- /dev/null +++ b/resource/ui/HudMannVsMachineStatus.res @@ -0,0 +1,262 @@ +"Resource/UI/HudMannVsMachineStatus.res" +{ + "WaveStatusPanel" + { + "ControlName" "CWaveStatusPanel" + "fieldName" "WaveStatusPanel" + "xpos" "c-200" + "ypos" "0" + "zpos" "0" + "wide" "400" + "tall" "67" + "ypos_minmode" "-7" + "visible" "1" + "enabled" "1" + } + + "WaveCompleteSummaryPanel" + { + "ControlName" "CWaveCompleteSummaryPanel" + "fieldName" "WaveCompleteSummaryPanel" + "xpos" "c-125" + "ypos" "120" + "zpos" "0" + "wide" "400" + "tall" "400" + "visible" "1" + "enabled" "1" + } + + "TankStatusPanel" + { + "ControlName" "CTankStatusPanel" + "fieldName" "TankStatusPanel" + "xpos" "0" + "ypos" "0" + "zpos" "0" + "wide" "200" + "tall" "100" + "visible" "1" + "enabled" "1" + + "pin_to_sibling" "WaveStatusPanel" + "pin_corner_to_sibling" "4" + "pin_to_sibling_corner" "6" + } + + "CurrencyStatusPanel" + { + "ControlName" "CCurrencyStatusPanel" + "fieldName" "CurrencyStatusPanel" + "xpos" "c-190" + "ypos" "r90" + "wide" "100" + "tall" "100" + "visible" "1" + "enabled" "1" + } + + "InWorldCurrencyPanel" + { + "ControlName" "CInWorldCurrencyStatus" + "fieldName" "InWorldCurrencyPanel" + "xpos" "c-190" + "ypos" "r65" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + } + + + + "WarningSwoop" + { + "ControlName" "CWarningSwoop" + "fieldName" "WarningSwoop" + "xpos" "c-12" + "ypos" "0" + "zpos" "10" + "wide" "24" + "tall" "220" + "visible" "0" + "enabled" "1" + "image" "../sprites/obj_icons/warning_highlight" + "scaleImage" "1" + "time" "0.3" + } + + "UpgradeLevelContainer" + { + "ControlName" "EditablePanel" + "fieldName" "UpgradeLevelContainer" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "visible" "0" + + "UpgradeProgressTrack" + { + "ControlName" "CMvMBombCarrierProgress" + "fieldName" "UpgradeProgressTrack" + "xpos" "c-50" + "ypos" "r35" + "wide" "640" + "tall" "480" + "visible" "1" + } + + "UpgradeLevel1" + { + "ControlName" "ImagePanel" + "fieldName" "UpgradeLevel1" + "xpos" "c32" + "ypos" "r24" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "image" "../hud/hud_mvm_bomb_upgrade_1_disabled" + "scaleImage" "1" + } + + "UpgradeLevel2" + { + "ControlName" "ImagePanel" + "fieldName" "UpgradeLevel2" + "xpos" "c32" + "ypos" "r42" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "image" "../hud/hud_mvm_bomb_upgrade_2_disabled" + "scaleImage" "1" + } + + "UpgradeLevel3" + { + "ControlName" "ImagePanel" + "fieldName" "UpgradeLevel3" + "xpos" "c32" + "ypos" "r60" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "image" "../hud/hud_mvm_bomb_upgrade_3_disabled" + "scaleImage" "1" + } + + "UpgradeLevelBoss" + { + "ControlName" "ImagePanel" + "fieldName" "UpgradeLevelBoss" + "xpos" "c32" + "ypos" "r46" + "wide" "20" + "tall" "40" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "tabPosition" "0" + "image" "../hud/hud_mvm_bomb_upgrade_boss" + "scaleImage" "1" + } + } + + "VictorySplash" + { + "ControlName" "CVictorySplash" + "fieldName" "VictorySplash" + "xpos" "0" + "ypos" "0" + //"zpos" "102" + "wide" "f0" + "tall" "480" + "visible" "0" + "enabled" "1" + } + + "VictoryPanelContainer" + { + "ControlName" "CMvMVictoryPanelContainer" + "fieldName" "VictoryPanelContainer" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + "visible" "0" + } + + "WaveLossPanel" + { + "ControlName" "CMvMWaveLossPanel" + "fieldName" "WaveLossPanel" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + "visible" "0" + } + + "ServerChangeMessage" + { + "ControlName" "EditablePanel" + "fieldName" "ServerChangeMessage" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + "visible" "0" + + "Background" + { + "ControlName" "ScalableImagePanel" + "fieldName" "Background" + "xpos" "c-150" + "ypos" "400" + "wide" "300" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "image" "../hud/color_panel_red" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "5" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "5" + } + + "ServerChangeLabel" + { + "ControlName" "CExLabel" + "fieldName" "ServerChangeLabel" + "font" "HudFontSmall" + "textAlignment" "center" + "labelText" "%servermessage%" + "xpos" "c-150" + "ypos" "400" + "wide" "300" + "tall" "20" + "visible" "1" + "enabled" "1" + "fgcolor" "tanlight" + } + } + +} diff --git a/resource/ui/MvMCreditSubPanel.res b/resource/ui/MvMCreditSubPanel.res new file mode 100644 index 0000000..a06aa2c --- /dev/null +++ b/resource/ui/MvMCreditSubPanel.res @@ -0,0 +1,135 @@ +"Resource/UI/MvMCreditSubPanel.res" +{ + "HeaderLabel" + { + "ControlName" "CExLabel" + "fieldName" "HeaderLabel" + "font" "HudFontSmallBold" + "labelText" "%header%" + "textAlignment" "north-west" + "xpos" "0" + "ypos" "0" + "wide" "300" + "tall" "15" + "fgcolor" "tanlight" + } + + "TableBackground" + { + "ControlName" "EditablePanel" + "fieldName" "TestBackground" + "xpos" "0" + "ypos" "14" + "zpos" "-1" + "wide" "190" + "tall" "42" + "visible" "1" + "bgcolor_override" "20 20 20 50" + } + + "CreditCollectedTextLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditCollectedTextLabel" + "font" "HudFontSmall" + "labelText" "#TF_PVE_Collected" + "textAlignment" "north-west" + "xpos" "10" + "ypos" "15" + "wide" "70" + "fgcolor" "tanlight" + } + + "CreditCollectedCountLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditCollectedCountLabel" + "font" "HudFontSmall" + "labelText" "%creditscollected%" + "textAlignment" "north-east" + "xpos" "100" + "ypos" "15" + "wide" "30" + "fgcolor" "CreditsGreen" + } + + "CreditMissedTextLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditMissedTextLabel" + "font" "HudFontSmall" + "labelText" "#TF_PVE_Missed" + "textAlignment" "north-west" + "xpos" "10" + "ypos" "27" + "wide" "70" + "fgcolor" "tanlight" + } + + "CreditMissedCountLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditMissedCountLabel" + "font" "HudFontSmall" + "labelText" "%creditsmissed%" + "textAlignment" "north-east" + "xpos" "100" + "ypos" "27" + "wide" "30" + "fgcolor" "RedSolid" + } + + "CreditBonusTextLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditCollectedTextLabel" + "font" "HudFontSmall" + "labelText" "#TF_PVE_Bonus" + "textAlignment" "north-west" + "xpos" "10" + "ypos" "39" + "wide" "70" + "fgcolor" "tanlight" + } + + "CreditBonusCountLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditCollectedCountLabel" + "font" "HudFontSmall" + "labelText" "%creditbonus%" + "textAlignment" "north-east" + "xpos" "100" + "ypos" "39" + "wide" "30" + "fgcolor" "CreditsGreen" + } + + "CreditRatingLabelShadow" + { + "ControlName" "CExLabel" + "fieldName" "CreditRatingLabelShadow" + "font" "HudFontMediumBold" + "labelText" "%ratingshadow%" + "textAlignment" "center" + "xpos" "126" + "ypos" "26" + "wide" "70" + "tall" "20" + "fgcolor" "Black" + } + + "CreditRatingLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditCollectedTextLabel" + "font" "HudFontMediumBold" + "labelText" "%rating%" + "textAlignment" "center" + "xpos" "125" + "ypos" "25" + "wide" "70" + "tall" "20" + "fgcolor" "tanlight" + } +} diff --git a/resource/ui/MvMInWorldCurrency.res b/resource/ui/MvMInWorldCurrency.res new file mode 100644 index 0000000..040961b --- /dev/null +++ b/resource/ui/MvMInWorldCurrency.res @@ -0,0 +1,114 @@ +"Resource/UI/MvMInWorldCurrency.res" +{ + "BorderBG" + { + "ControlName" "EditablePanel" + "fieldName" "BorderBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "1" + "wide" "46" + "tall" "100" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "bgcolor_override" "TanLight" + } + + "BackgroundGood" + { + "ControlName" "EditablePanel" + "fieldName" "BackgroundGood" + "xpos" "9999" + "ypos" "9999" + "zpos" "2" + "wide" "44" + "tall" "12" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "bgcolor_override" "221 182 72 250" + } + + "MoneyImagePanel" + { + "ControlName" "ImagePanel" + "fieldName" "MoneyImagePanel" + "xpos" "9999" + "ypos" "9999" + "zpos" "4" + "wide" "14" + "tall" "14" + "image" "../HUD/mvm_cash" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + } + + "CurrencyBG" + { + "ControlName" "ImagePanel" + "fieldName" "CurrencyBG" + "xpos" "0" + "ypos" "0" + "zpos" "0" + "wide" "100" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + + "CurrencyLabel" + { + "ControlName" "CExLabel" + "fieldName" "CurrencyLabel" + "font" "Cerbetica14" + "fgcolor" "TanLight" + "xpos" "4" + "ypos" "0" + "zpos" "3" + "wide" "80" + "tall" "20" + "visible" "1" + "enabled" "1" + "textAlignment" "west" + "labelText" "Remaining" + } + + "CurrencyGood" + { + "ControlName" "CExLabel" + "fieldName" "CurrencyGood" + "font" "Cerbetica16" + "fgcolor" "125 225 30 255" + "xpos" "45" + "ypos" "0" + "zpos" "4" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%currency%" + } + + "CurrencyBad" + { + "ControlName" "CExLabel" + "fieldName" "CurrencyBad" + "font" "Cerbetica16" + "fgcolor" "225 30 30 255" + "xpos" "45" + "ypos" "0" + "zpos" "4" + "wide" "50" + "tall" "20" + "visible" "1" + "enabled" "1" + "textAlignment" "east" + "labelText" "%currency%" + } +} \ No newline at end of file diff --git a/resource/ui/MvMScoreboard.res b/resource/ui/MvMScoreboard.res new file mode 100644 index 0000000..ca51b62 --- /dev/null +++ b/resource/ui/MvMScoreboard.res @@ -0,0 +1,204 @@ +"Resource/UI/MvMScoreboard.res" +{ + "WaveStatusPanel" + { + "ControlName" "CWaveStatusPanel" + "fieldName" "WaveStatusPanel" + "xpos" "100" + "ypos" "8" + "zpos" "0" + "wide" "400" + "tall" "67" + "visible" "1" + "enabled" "1" + + "verbose" "1" + } + + "PopFileLabel" + { + "ControlName" "CExLabel" + "fieldName" "PopFileLabel" + "font" "Cerbetica24" + "labelText" "%popfile%" + "textAlignment" "center" + "xpos" "c-270" + "ypos" "c150" + "wide" "290" + "tall" "20" + "fgcolor" "tanlight" + } + + "DifficultyContainer" + { + "ControlName" "EditablePanel" + "fieldName" "DifficultyContainer" + "xpos" "425" + "ypos" "30" + "wide" "150" + "tall" "50" + "visible" "1" + + "DifficultyLabel" + { + "ControlName" "CExLabel" + "fieldName" "DifficultyLabel" + "font" "Cerbetica24" + "labelText" "#TF_MvM_Difficulty" + "textAlignment" "center" + "xpos" "0" + "ypos" "-6" + "wide" "150" + "tall" "30" + "fgcolor" "tanlight" + } + + "DifficultyValue" + { + "ControlName" "CExLabel" + "fieldName" "DifficultyValue" + "font" "Cerbetica16" + "labelText" "%difficultyvalue%" + "textAlignment" "center" + "xpos" "0" + "ypos" "16" + "wide" "150" + "tall" "20" + "fgcolor" "tanlight" + } + } + + "PlayerListBackground" + { + "ControlName" "ScalableImagePanel" + "fieldName" "PlayerListBackground" + "xpos" "9999" + "ypos" "9999" + "zpos" "-1" + "wide" "400" + "tall" "150" + "visible" "1" + "enabled" "1" + "image" "../hud/tournament_panel_brown" + + "scaleImage" "1" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "0" + } + + "MvMPlayerList" + { + "ControlName" "SectionedListPanel" + "fieldName" "MvMPlayerList" + "xpos" "110" + "ypos" "79" + "wide" "380" + "tall" "150" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "autoresize" "3" + "linespacing" "22" + "textcolor" "White" + "font" "Cerbetica24" + } + + "CreditStatsContainer" + { + "ControlName" "EditablePanel" + "fieldName" "CreditStatsContainer" + "xpos" "100" + "ypos" "230" + "wide" "400" + "tall" "205" + "visible" "1" + + "CreditStatsBackground" + { + "ControlName" "ScalableImagePanel" + "fieldName" "CreditStatsBackground" + "xpos" "9999" + "ypos" "9999" + "zpos" "-1" + "wide" "400" + "tall" "135" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "image" "../HUD/tournament_panel_brown" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "0" + } + + "CreditsLabel" + { + "ControlName" "CExLabel" + "fieldName" "CreditsLabel" + "font" "Cerbetica16" + "labelText" "#TF_PVE_Currency" + "textAlignment" "center" + "xpos" "8" + "ypos" "8" + "wide" "200" + "fgcolor" "tanlight" + } + + "PreviousWaveCreditInfoPanel" + { + "ControlName" "CCreditDisplayPanel" + "fieldName" "PreviousWaveCreditInfoPanel" + "xpos" "8" + "ypos" "30" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + + "TotalGameCreditInfoPanel" + { + "ControlName" "CCreditDisplayPanel" + "fieldName" "TotalGameCreditInfoPanel" + "xpos" "208" + "ypos" "30" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + + "PreviousWaveCreditSpendPanel" + { + "ControlName" "CCreditSpendPanel" + "fieldName" "PreviousWaveCreditSpendPanel" + "xpos" "8" + "ypos" "75" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + + "TotalGameCreditSpendPanel" + { + "ControlName" "CCreditSpendPanel" + "fieldName" "TotalGameCreditSpendPanel" + "xpos" "208" + "ypos" "75" + "wide" "184" + "tall" "60" + "wide" "200" + "visible" "1" + } + } +} diff --git a/resource/ui/ScoreBoard.res b/resource/ui/ScoreBoard.res index b83e005..0d4cc43 100644 --- a/resource/ui/ScoreBoard.res +++ b/resource/ui/ScoreBoard.res @@ -83,8 +83,7 @@ if_mvm { - "ypos" "0" - "tall" "448" + "visible" "0" } } "ScoreboardBackground" @@ -105,8 +104,7 @@ if_mvm { - "ypos" "0" - "tall" "448" + "visible" "0" } } "Red6sBackground" @@ -127,8 +125,8 @@ if_mvm { - "ypos" "0" - "tall" "448" + "visible" "0" + } } "Blue6sBackground" @@ -149,8 +147,8 @@ if_mvm { - "ypos" "0" - "tall" "448" + "visible" "0" + } } "BlueTeamLabel" @@ -369,7 +367,7 @@ if_mvm { - "ypos" "0" + "ypos" "68" } } "ServerTimeLeft" @@ -391,7 +389,7 @@ if_mvm { - "ypos" "0" + "ypos" "80" } } "BluePlayerList" @@ -493,7 +491,7 @@ if_mvm { - "ypos" "428" + "ypos" "444" } } "SpectatorsInQueue" @@ -863,11 +861,11 @@ "KillsLabel" { - "ControlName" "CExLabel" + "ControlName" "CExLabel" "fieldName" "KillsLabel" "font" "Cerbetica48" "labelText" ":" - "textAlignment" "center" + "textAlignment" "center" "xpos" "10" "ypos" "5" "zpos" "3" @@ -1374,7 +1372,7 @@ "enabled" "1" } } - } + "ButtonLegendBG" [$X360] { @@ -1540,7 +1538,7 @@ { "ControlName" "CTFHudMannVsMachineScoreboard" "fieldName" "MvMScoreboard" - "xpos" "0" + "xpos" "200" "ypos" "0" "zpos" "10" "wide" "f0" -- cgit v1.2.3