Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clientscheme.res
- }
- RedWithThinBorder
- {
- "bordertype" "scalable_image"
- "backgroundtype" "2"
- "image" "../hud/panel_scalable_red"
- "src_corner_height" "23" // pixels inside the image
- "src_corner_width" "23"
- "draw_corner_width" "7" // screen size of the corners ( and sides ), proportional
- "draw_corner_height" "7"
- }
- BlueWithThinBorder
- {
- "bordertype" "scalable_image"
- "backgroundtype" "2"
- "image" "../hud/panel_scalable_blue"
- "src_corner_height" "23" // pixels inside the image
- "src_corner_width" "23"
- "draw_corner_width" "7" // screen size of the corners ( and sides ), proportional
- "draw_corner_height" "7"
- }
- new file: resource/ui/hudmatchstatus.res
- "Resource/UI/Competitive.res"
- {
- "RoundSignModel"
- {
- "ControlName" "CModelPanel"
- "fieldName" "RoundSignModel"
- "xpos" "0"
- "ypos" "0"
- "zpos" "3"
- "wide" "f0"
- "tall" "f0"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "1"
- "fov" "70"
- "proportionaltoparent" "1"
- "model"
- {
- "modelname" "models/props_ui/round_banner.mdl"
- "skin" "0"
- "angles_x" "30"
- "angles_y" "180"
- "angles_z" "0"
- "origin_x" "150"
- "origin_y" "0"
- "origin_z" "62"
- "spotlight" "1"
- "animation"
- {
- "name" "ref"
- "sequence" "ref"
- "default" "1"
- }
- "animation"
- {
- "name" "intro"
- "sequence" "intro"
- }
- "animation"
- {
- "name" "outro"
- "sequence" "outro"
- }
- }
- }
- "RoundCounter"
- {
- "fieldName" "RoundCounter"
- "xpos" "cs-0.5"
- "ypos" "-2"
- "zpos" "1"
- "wide" "300"
- "tall" "100"
- "visible" "1"
- "enabled" "1"
- }
- "ObjectiveStatusTimePanel"
- {
- "ControlName" "EditablePanel"
- "fieldName" "ObjectiveStatusTimePanel"
- "xpos" "c-55"
- "xpos_hidef" "c-150"
- "xpos_lodef" "c-150"
- "ypos" "0" [$WIN32]
- "ypos_minmode" "-14" [$WIN32]
- "ypos" "24" [$X360]
- "zpos" "2"
- "wide" "110"
- "wide_hidef" "300"
- "wide_lodef" "300"
- "tall" "150"
- "visible" "0"
- "enabled" "1"
- "delta_item_x" "22" [$WIN32]
- "delta_item_x" "115" [$X360]
- "delta_item_start_y" "50"
- "delta_item_end_y" "70"
- "PositiveColor" "0 255 0 255"
- "NegativeColor" "255 0 0 255"
- "delta_lifetime" "1.5"
- "delta_item_font" "HudFontMedium"
- if_comp
- {
- "ypos_minmode" "0"
- "delta_item_x" "35"
- "delta_item_start_y" "12"
- "delta_item_end_y" "50"
- "PositiveColor" "0 255 0 255"
- "NegativeColor" "255 0 0 255"
- "delta_lifetime" "1.5"
- "delta_item_font" "HudFontMediumSmall"
- }
- "TimePanelValue"
- {
- "ControlName" "CExLabel"
- "fieldName" "TimePanelValue"
- "font" "HudFontMediumSmall"
- "font_minmode" "HudFontSmall"
- "font_lodef" "HudFontMedium"
- "fgcolor" "TanLight"
- "xpos" "23"
- "xpos_minmode" "39"
- "xpos_hidef" "114"
- "xpos_lodef" "114"
- "ypos" "11"
- "ypos_minmode" "6"
- "ypos_hidef" "15"
- "ypos_lodef" "18"
- "zpos" "3"
- "wide" "45"
- "wide_minmode" "30"
- "wide_lodef" "50"
- "tall" "31"
- "visible" "1"
- "enabled" "1"
- "textAlignment" "center"
- "labelText" "0:00"
- if_comp
- {
- "proportionaltoparent" "1"
- "xpos" "cs-0.5"
- "ypos" "9"
- "ypos_minmode" "9"
- "tall" "10"
- "font" "HudFontSmall"
- "font_minmode" "HudFontSmall"
- "font_lodef" "HudFontSmall"
- }
- }
- }
- }
- new file: resource/ui/hudroundcounter.res
- "Resource/UI/HudRoundCounter.res"
- {
- "RoundCounter"
- {
- "fieldName" "RoundCounter"
- "xpos" "cs-0.5"
- "ypos" "-2"
- "zpos" "2"
- "wide" "300"
- "tall" "25"
- "visible" "1"
- "enabled" "1"
- "proportionaltoparent" "1"
- "starting_width" "20"
- "width_per_round" "24"
- "indicator_start_offset" "4"
- "indicator_max_wide" "30"
- "RoundIndicatorPanel_kv"
- {
- "ypos" "3"
- "wide" "6"
- "tall" "6"
- "zpos" "7"
- "image" "../hud/comp_round_counter_dot_bg"
- "scaleimage" "1"
- }
- "RoundWinPanelRed_kv"
- {
- "ypos" "-3"
- "wide" "17"
- "tall" "17"
- "zpos" "8"
- "image" "../hud/comp_round_counter_light_red"
- "scaleimage" "1"
- }
- "RoundWinPanelBlue_kv"
- {
- "ypos" "-3"
- "wide" "17"
- "tall" "17"
- "zpos" "8"
- "image" "../hud/comp_round_counter_light_blue"
- "scaleimage" "1"
- }
- }
- "Background"
- {
- "ControlName" "ImagePanel"
- "fieldName" "Background"
- "xpos" "cs-0.5"
- "ypos" "0"
- "zpos" "5"
- "wide" "115"
- "tall" "30"
- "backgroundtype" "2"
- "proportionaltoparent" "1"
- "image" "../hud/comp_round_timer"
- "scaleimage" "1"
- }
- }
- new file: resource/ui/hudteamstatus.res
- "Resource/UI/HudTeamStatus.res"
- {
- "HudTeamStatus"
- {
- "ControlName" "EditablePanel"
- "fieldName" "HudTeamStatus"
- "team1_base_x" "c-60"
- "team1_base_y" "0"
- "team1_delta_x" "-18"
- "team1_delta_y" "0"
- "team2_base_x" "c40"
- "team2_base_y" "0"
- "team2_delta_x" "18"
- "team2_delta_y" "0"
- "playerpanels_kv"
- {
- "visible" "0"
- "wide" "22"
- "tall" "22"
- "zpos" "1"
- "color_portrait_bg_red" "119 62 61 255"
- "color_portrait_bg_blue" "62 81 101 255"
- "color_portrait_bg_red_dead" "49 44 42 255"
- "color_portrait_bg_blue_dead" "44 49 51 255"
- "color_bar_health_high" "84 191 58 255"
- "color_bar_health_med" "191 183 58 255"
- "percentage_health_med" "0.6"
- "color_bar_health_low" "191 58 58 255"
- "percentage_health_low" "0.3"
- "color_portrait_blend_dead" "96 96 96 255"
- "playername"
- {
- "ControlName" "CExLabel"
- "fieldName" "playername"
- "font" "DefaultVerySmall"
- "xpos" "5"
- "ypos" "24"
- "zpos" "5"
- "wide" "50"
- "tall" "8"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "labelText" "%playername%"
- "textAlignment" "north-west"
- //"fgcolor" "235 226 202 255"
- }
- "classimage"
- {
- "ControlName" "CTFClassImage"
- "fieldName" "classimage"
- "xpos" "3"
- "ypos" "0"
- "zpos" "3"
- "wide" "16"
- "tall" "16"
- "visible" "1"
- "enabled" "1"
- "image" "../hud/class_scoutred"
- "scaleImage" "1"
- }
- "classimagebg"
- {
- "ControlName" "Panel"
- "fieldName" "classimagebg"
- "xpos" "3"
- "ypos" "0"
- "zpos" "2"
- "wide" "16"
- "tall" "16"
- "visible" "1"
- "enabled" "1"
- "PaintBackgroundType" "0"
- }
- "healthbar"
- {
- "ControlName" "ContinuousProgressBar"
- "fieldName" "healthbar"
- "font" "Default"
- "xpos" "3"
- "ypos" "16"
- "zpos" "5"
- "wide" "16"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "textAlignment" "Left"
- "dulltext" "0"
- "brighttext" "0"
- "bgcolor_override" "80 80 80 255"
- }
- "overhealbar"
- {
- "ControlName" "ContinuousProgressBar"
- "fieldName" "overhealbar"
- "font" "Default"
- "xpos" "3"
- "ypos" "16"
- "zpos" "6"
- "wide" "16"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "textAlignment" "Left"
- "dulltext" "0"
- "brighttext" "0"
- "bgcolor_override" "0 0 0 0"
- "fgcolor_override" "255 255 255 160"
- }
- "HealthIcon"
- {
- "ControlName" "EditablePanel"
- "fieldName" "HealthIcon"
- "xpos" "22"
- "ypos" "-3"
- "zpos" "3"
- "wide" "32"
- "tall" "32"
- "visible" "0"
- "enabled" "1"
- "HealthBonusPosAdj" "10"
- "HealthDeathWarning" "0.49"
- "TFFont" "HudFontSmallest"
- "HealthDeathWarningColor" "HUDDeathWarning"
- "TextColor" "HudOffWhite"
- }
- "ReadyBG"
- {
- "ControlName" "ScalableImagePanel"
- "fieldName" "ReadyBG"
- "xpos" "30"
- "ypos" "6"
- "zpos" "-1"
- "wide" "16"
- "tall" "16"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "1"
- "image" "../HUD/tournament_panel_brown"
- "src_corner_height" "22" // pixels inside the image
- "src_corner_width" "22"
- "draw_corner_width" "3" // screen size of the corners ( and sides ), proportional
- "draw_corner_height" "3"
- }
- "ReadyImage"
- {
- "ControlName" "ImagePanel"
- "fieldName" "ReadyImage"
- "xpos" "32"
- "ypos" "8"
- "zpos" "0"
- "wide" "12"
- "tall" "12"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "1"
- "image" "hud/checkmark"
- "scaleImage" "1"
- }
- "respawntime"
- {
- "ControlName" "CExLabel"
- "fieldName" "respawntime"
- "font" "DefaultSmall"
- "xpos" "3"
- "ypos" "0"
- "zpos" "5"
- "wide" "16"
- "tall" "17"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "labelText" "%respawntime%"
- "textAlignment" "center"
- //"fgcolor" "235 226 202 255"
- }
- "chargeamount"
- {
- "ControlName" "CExLabel"
- "fieldName" "chargeamount"
- "font" "DefaultSmall"
- "xpos" "25"
- "ypos" "17"
- "zpos" "6"
- "wide" "25"
- "tall" "15"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "labelText" "%chargeamount%"
- "textAlignment" "north"
- "fgcolor" "0 255 0 255"
- }
- "specindex"
- {
- "ControlName" "CExLabel"
- "fieldName" "specindex"
- "font" "DefaultVerySmall"
- "xpos" "4"
- "ypos" "2"
- "zpos" "5"
- "wide" "50"
- "tall" "8"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "labelText" "%specindex%"
- "textAlignment" "north-west"
- //"fgcolor" "235 226 202 255"
- }
- }
- }
- }
- add to hudanimations_tf.txt
- event CompetitiveGame_HideDisconnectButton
- {
- Animate DisconnectButton ypos r-100 Accel 0 0
- }
- event CompetitiveGame_ShowDisconnectButton
- {
- Animate DisconnectButton ypos r50 Accel 0 0.4
- }
- event CompetitiveGame_ShowWinnersSign
- {
- FireCommand 0.5 "animation intro"
- FireCommand 12.3 "animation outro"
- }
- event HudTournament_ShowRoundSign
- {
- SetVisible RoundSignModel 1 0
- RunEventChild RoundSignModel HudTournament_PlaySignAnim 0
- SetVisible RoundSignModel 0 6
- }
- event HudTournament_PlaySignAnim
- {
- FireCommand 0 "animation intro"
- FireCommand 5 "animation outro"
- }
- add to hudlayout.res
- HudMatchStatus
- {
- "fieldName" "HudMatchStatus"
- "visible" "1"
- "enabled" "1"
- "xpos" "0"
- "ypos" "0"
- "zpos" "2"
- "wide" "f0"
- "tall" "f0"
- }
- HudTeamStatus
- {
- "fieldName" "HudTeamStatus"
- "visible" "1"
- "enabled" "1"
- "xpos" "0"
- "ypos" "0"
- "zpos" "2"
- "wide" "f0"
- "tall" "f0"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement