From 1465593a280be1066fb916834090fce515deba2d Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sat, 3 Jul 2021 15:09:07 -0400 Subject: Added Streamer Mode (#167) - Added files for Streamer Mode. The user will have to remove the _ from #customizations/_streamermode or use the editor to enable this feature. --- resource/ui/pvprankpanel-base.res | 588 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 588 insertions(+) create mode 100644 resource/ui/pvprankpanel-base.res (limited to 'resource/ui/pvprankpanel-base.res') diff --git a/resource/ui/pvprankpanel-base.res b/resource/ui/pvprankpanel-base.res new file mode 100644 index 0000000..52517db --- /dev/null +++ b/resource/ui/pvprankpanel-base.res @@ -0,0 +1,588 @@ +"Resource/UI/PvPRankPanel.res" +{ + "ModelContainer" + { + "ControlName" "EditablePanel" + "fieldName" "ModelContainer" + "xpos" "cs-0.5" + "ypos" "cs-0.5" + "zpos" "3" + "wide" "f0" + "tall" "f0" + "proportionaltoparent" "1" + "actionsignallevel" "2" + + "BelowModelParticlePanel" + { + "ControlName" "CTFParticlePanel" + "fieldName" "BelowModelParticlePanel" + "xpos" "0" + "ypos" "0" + "zpos" "-1" + "wide" "f0" + "tall" "f0" + "visible" "1" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "cs-0.5-228" + } + + "ParticleEffects" + { + "0" + { + "particle_xpos" "c0" + "particle_ypos" "c0" + "particle_scale" "3" + "particleName" "rankup_base" + "start_activated" "0" + "loop" "0" + } + } + + "paintbackground" "0" + } + + "RankModel" + { + "ControlName" "CBaseModelPanel" + "fieldName" "RankModel" + "xpos" "cs-0.5" + "ypos" "cs-0.5" + "zpos" "0" + "wide" "o1" + "tall" "p0.12" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fov" "60" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "cs-0.5-228" + "ypos" "cs-0.5" + "wide" "200" + "tall" "200" + } + + "paintbackground" "0" + "render_texture" "0" + + "model" + { + "force_pos" "1" + "modelname" "" + "skin" "0" + "angles_x" "0" + "angles_y" "180" + "angles_z" "0" + "origin_x" "45" + "origin_y" "0" + "origin_z" "0" + "spotlight" "1" + + if_mini + { + "origin_x" "70" + } + + "animation" + { + "sequence" "idle" + "default" "1" + } + } + + "lights" + { + "default" + { + "name" "directional" + "color" "0.5 0.5 0.5" + "direction" "0.60 0.65 0.2" + } + } + } + + "AboveModelParticlePanel" + { + "ControlName" "CTFParticlePanel" + "fieldName" "AboveModelParticlePanel" + "xpos" "0" + "ypos" "0" + "zpos" "1" + "wide" "f0" + "tall" "f0" + "visible" "1" + "proportionaltoparent" "1" + "paintbackground" "0" + + if_mini + { + "xpos" "cs-0.5-228" + } + + "ParticleEffects" + { + "0" + { + "particle_xpos" "c0" + "particle_ypos" "c0" + "particle_scale" "5" + "particleName" "rankup_glitter" + "start_activated" "0" + "loop" "0" + } + "1" + { + "particle_xpos" "c0" + "particle_ypos" "c0" + "particle_scale" "4" + "particleName" "badgepress_base" + "start_activated" "0" + "loop" "0" + } + "2" + { + "particle_xpos" "c-8" + "particle_ypos" "c0" + "particle_scale" "4" + "particleName" "rankdown_base" + "start_activated" "0" + "loop" "0" + } + } + + "paintbackground" "1" + } + + "MedalButton" + { + "ControlName" "Button" + "fieldName" "MedalButton" + "xpos" "cs-0.5" + "ypos" "cs-0.4" + "zpos" "100" + "wide" "o1" + "tall" "42" + "proportionaltoparent" "1" + "command" "medal_clicked" + "actionsignallevel" "2" + "labeltext" "" + "paintbackground" "0" + "backgroundenabled" "0" + } + } + + "BGPanel" + { + "ControlName" "EditablePanel" + "fieldName" "BGPanel" + "xpos" "0" + "ypos" "0" + "zpos" "-1" + "wide" "260" + "tall" "102" + "visible" "0" + "PaintBackgroundType" "0" + "border" "NoBorder" + "bgcolor_override" "25 25 25 0" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "cs-0.5" + "ypos" "cs-0.5" + "tall" "35" + "wide" "505" + } + + "NameLabel" + { + "ControlName" "Label" + "fieldName" "NameLabel" + "xpos" "0" + "ypos" "0" + "wide" "170" + "zpos" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallishBold" + "fgcolor_override" "TanLight" + "textAlignment" "center" + "labelText" "%name%" + "proportionaltoparent" "1" + + if_mini + { + "visible" "0" + } + } + + "DescLine1" + { + "ControlName" "CAutoFittingLabel" + "fieldName" "DescLine1" + "xpos" "0" + "ypos" "13" + "wide" "170" + "zpos" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "TanLight" + "textAlignment" "center" + "labelText" "%desc1%" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "50" + "ypos" "r35" + } + } + + "DescLine2" + { + "ControlName" "CAutoFittingLabel" + "fieldName" "DescLine2" + "xpos" "0" + "ypos" "32" + "wide" "170" + "zpos" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "center" + "labelText" "%desc2%" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "67" + "ypos" "4" + } + + "fonts" + { + "0" "HudFontSmallest" + "1" "StorePromotionsTitle" + "2" "FontStorePrice" + } + + "colors" + { + "1" "CreditsGreen" + "2" "TanLight" + } + } + + "StatsContainer" + { + "ControlName" "EditablePanel" + "fieldName" "StatsContainer" + "xpos" "0" + "ypos" "10" + "wide" "260" + "tall" "f0" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "rs1-10" + "ypos" "0" + "wide" "p0.85" + } + + "XPBar" + { + "Controlname" "EditablePanel" + "fieldName" "XPBar" + "xpos" "0" + "ypos" "rs1-63" + "wide" "170" + "tall" "35" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "cs-0.5" + "ypos" "rs1-3" + "wide" "p1" + } + + "CurrentXPLabel" + { + "ControlName" "Label" + "fieldName" "CurrentXPLabel" + "xpos" "35" + "ypos" "rs1" + "zpos" "0" + "wide" "50" + "tall" "10" + "visible" "1" + "enabled" "1" + "font" "ItemFontAttribSmall" + "fgcolor_override" "TanLight" + "textAlignment" "west" + "labelText" "%current_xp%" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "40" + } + } + + "NextLevelXPLabel" + { + "ControlName" "Label" + "fieldName" "NextLevelXPLabel" + "xpos" "85" + "ypos" "rs1" + "zpos" "0" + "wide" "50" + "tall" "10" + "visible" "1" + "enabled" "1" + "font" "ItemFontAttribSmall" + "fgcolor_override" "TanLight" + "textAlignment" "east" + "labelText" "%next_level_xp%" + "proportionaltoparent" "1" + } + + "ProgressBarsContainer" + { + "Controlname" "EditablePanel" + "fieldName" "ProgressBarsContainer" + "xpos" "35" + "ypos" "rs1-10" + "wide" "100" + "tall" "7" + "proportionaltoparent" "1" + + if_mini + { + "xpos" "0" + "ypos" "rs1-10" + "wide" "p1" + } + + "ProgressBar" + { + "ControlName" "ProgressBar" + "fieldName" "ProgressBar" + "xpos" "0" + "ypos" "cs-0.5" + "wide" "f0" + "tall" "f-2" + "zpos" "1" + "proportionaltoparent" "1" + "progress" "1" + + "fgcolor_override" "20 20 20 180" + "bgcolor_override" "Transparent" + } + + "ContinuousProgressBar" + { + "ControlName" "ContinuousProgressBar" + "fieldName" "ContinuousProgressBar" + "xpos" "cs-0.5" + "ypos" "cs-0.5" + "wide" "f2" + "tall" "f2" + "proportionaltoparent" "1" + "progress" "0" + + "fgcolor_override" "CreditsGreen" + } + + "Frame" + { + "Controlname" "EditablePanel" + "fieldName" "Frame" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "f0" + "zpos" "5" + "visible" "0" + "enabled" "0" + "proportionaltoparent" "1" + "border" "InnerShadowBorderThin" + } + } + } + + "Stats" + { + "ControlName" "EditablePanel" + "fieldName" "Stats" + "xpos" "0" + "ypos" "60" + "wide" "f0" + "tall" "f0" + "visible" "1" + "enabled" "1" + "proportionaltoparent" "1" + "bgcolor_override" "Transparent" + + "if_mini" + { + "visible" "0" + } + + "Frame" + { + "ControlName" "EditablePanel" + "fieldName" "Frame" + "xpos" "0" + "ypos" "0" + "zpos" "10" + "wide" "0" + "tall" "0" + "proportionaltoparent" "1" + "border" "NoBorder" + } + + // First column + "GamesLabel" + { + "ControlName" "Label" + "fieldName" "GamesLabel" + "xpos" "10" + "ypos" "5" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_games%" + "proportionaltoparent" "1" + } + + "KillsLabel" + { + "ControlName" "Label" + "fieldName" "KillsLabel" + "xpos" "c-20" + "ypos" "5" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_kills%" + "proportionaltoparent" "1" + } + + "DeathsLabel" + { + "ControlName" "Label" + "fieldName" "DeathsLabel" + "xpos" "c-20" + "ypos" "15" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_deaths%" + "proportionaltoparent" "1" + } + + // Second column + "DamageLabel" + { + "ControlName" "Label" + "fieldName" "DamageLabel" + "xpos" "10" + "ypos" "15" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_damage%" + "proportionaltoparent" "1" + } + + "HealingLabel" + { + "ControlName" "Label" + "fieldName" "HealingLabel" + "xpos" "rs1+20" + "ypos" "5" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_healing%" + "proportionaltoparent" "1" + } + + "SupportLabel" + { + "ControlName" "Label" + "fieldName" "SupportLabel" + "xpos" "rs1+20" + "ypos" "15" + "zpos" "0" + "wide" "100" + "tall" "20" + "visible" "1" + "enabled" "1" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_support%" + "proportionaltoparent" "1" + } + + // Third column + "ScoreLabel" + { + "ControlName" "Label" + "fieldName" "ScoreLabel" + "xpos" "rs1+20" + "ypos" "15" + "wide" "100" + "tall" "20" + "visible" "0" + "enabled" "0" + "font" "HudFontSmallest" + "fgcolor_override" "White" + "textAlignment" "north-west" + "labelText" "%stat_score%" + "proportionaltoparent" "1" + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3 From c3240fa65aef57890bc26468efc0f642aba3738c Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Sun, 4 Jul 2021 16:50:06 -0400 Subject: Numerous visual tweaks and improvements. - Updated PASSTIME UI. - Updated the in-game weapon selection menu to use higher quality images. --- resource/ui/pvprankpanel-base.res | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'resource/ui/pvprankpanel-base.res') diff --git a/resource/ui/pvprankpanel-base.res b/resource/ui/pvprankpanel-base.res index 52517db..adbab2c 100644 --- a/resource/ui/pvprankpanel-base.res +++ b/resource/ui/pvprankpanel-base.res @@ -468,7 +468,7 @@ "visible" "1" "enabled" "1" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_games%" "proportionaltoparent" "1" @@ -486,7 +486,7 @@ "visible" "1" "enabled" "1" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_kills%" "proportionaltoparent" "1" @@ -504,7 +504,7 @@ "visible" "1" "enabled" "1" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_deaths%" "proportionaltoparent" "1" @@ -523,7 +523,7 @@ "visible" "1" "enabled" "1" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_damage%" "proportionaltoparent" "1" @@ -541,7 +541,7 @@ "visible" "1" "enabled" "1" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_healing%" "proportionaltoparent" "1" @@ -559,7 +559,7 @@ "visible" "1" "enabled" "1" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_support%" "proportionaltoparent" "1" @@ -577,7 +577,7 @@ "visible" "0" "enabled" "0" "font" "HudFontSmallest" - "fgcolor_override" "White" + "fgcolor_override" "TanLight" "textAlignment" "north-west" "labelText" "%stat_score%" "proportionaltoparent" "1" -- cgit v1.2.3