diff --git a/README.md b/README.md index d321cd1..2c6d9b5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ckHUD -**THIS HUD IS A WORK IN PROGRESS!!** +**this hud is kinda not actively maintained cuz i go on steam on a monthly basis** ![Main Menu V.0.3.5](https://user-images.githubusercontent.com/76109782/171527344-b8f2b9c0-ad1f-432f-8aa6-d1b086e3aa19.png) diff --git a/_ckHUD/resource/ui/hudbowcharge.res b/_ckHUD/resource/ui/hudbowcharge.res new file mode 100644 index 0000000..99fced6 --- /dev/null +++ b/_ckHUD/resource/ui/hudbowcharge.res @@ -0,0 +1,10 @@ +"Resource/UI/HudBowCharge.res" +{ + "ChargeMeter" + { + "xpos" "9999" + + "visible" "1" + "enabled" "1" + } +} diff --git a/_test/resource/ui/hudplayerhealth.res b/_test/resource/ui/hudplayerhealth.res deleted file mode 100644 index 57bb6bb..0000000 --- a/_test/resource/ui/hudplayerhealth.res +++ /dev/null @@ -1,340 +0,0 @@ -"Resource/UI/HudPlayerHealth.res" // the first file to be redone!! -{ - "HudPlayerHealth" - { - "xpos" "0" - "ypos" "r120" - "zpos" "2" - - "wide" "350" - "tall" "120" - } - - "PlayerStatusHealthImage" - { - "xpos" "127" - "ypos" "47" - "zpos" "4" - - "wide" "31" - "tall" "31" - } - - "PlayerStatusHealthImageBG" - { - "xpos" "2" - "ypos" "2" - "zpos" "3" - - "wide" "35" - "tall" "35" - - "pin_to_sibling" "PlayerStatusHealthImage" - } - - "PlayerStatusHealthBonusImage" - { - "xpos" "182" - "ypos" "40" - "zpos" "2" - - "wide" "45" - "tall" "45" - } - - "PlayerStatusHealthValue" - { - "xpos" "130" - "ypos" "37" - "zpos" "5" - - "wide" "150" - "tall" "50" - - "textAlignment" "center" - "font" "hudfont48" - "fgcolor" "health" - } - - "PlayerStatusHealthValueShadow" - { - "ControlName" "CExLabel" - "fieldName" "PlayerStatusHealthValueShadow" - "xpos" "-2" - "ypos" "-2" [$WIN32] - "zpos" "5" - - "wide" "150" - "tall" "50" - - "visible" "1" - "enabled" "1" - "labeltext" "%health%" - "textAlignment" "center" - "font" "hudfont48" - "fgcolor" "healthshadow" - - "pin_to_sibling" "PlayerStatusHealthValue" - } - - "PlayerStatusMaxHealthValueBG" // redability - { - "xpos" "39" - "ypos" "55" - "zpos" "4" - - "wide" "31" - "tall" "10" - - "visible" "0" - - "fillcolor" "colorblack" - } - - "PlayerStatusMaxHealthValue" - { - "xpos" "37" - "ypos" "43" - "zpos" "6" - - "wide" "35" - "tall" "35" - - "font" "hudfont14sec" - "fgcolor" "colorwhite" - - "visible" "0" - } - - "PlayerStatusPin" //budhud - { - "ControlName" "Label" - "fieldName" "PlayerStatusPin" - "xpos" "230" - "ypos" "47" - "zpos" "0" - "wide" "10" - "tall" "0" - "visible" "1" - "enabled" "1" - "bgcolor_override" "0 0 0 0" - } - - // the bruh moments - - "PlayerStatusBleedImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatusHookBleedImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatusMilkImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatusGasImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatusMarkedForDeathImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatusMarkedForDeathSilentImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_MedicUberBulletResistImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_MedicUberBlastResistImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_MedicUberFireResistImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_MedicSmallBulletResistImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_MedicSmallBlastResistImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_MedicSmallFireResistImage" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_WheelOfDoom" - { - "xpos" "40" - "ypos" "60" - } - - "PlayerStatus_SoldierOffenseBuff" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_SoldierDefenseBuff" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_SoldierHealOnHitBuff" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_SpyMarked" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_Parachute" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneStrength" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneHaste" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneRegen" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneResist" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneVampire" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneReflect" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RunePrecision" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneAgility" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneKnockout" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneKing" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RunePlague" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatus_RuneSupernova" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } - - "PlayerStatusSlowed" - { - "pin_to_sibling" "PlayerStatusPin" - "pin_corner_to_sibling" "PIN_TOPLEFT" - "pin_to_sibling_corner" "0" - } -} diff --git a/_test/resource/ui/hudplayerhealth_alt.res b/_test/resource/ui/hudplayerhealth_alt.res new file mode 100644 index 0000000..dcc4d08 --- /dev/null +++ b/_test/resource/ui/hudplayerhealth_alt.res @@ -0,0 +1,23 @@ +"Resource/UI/HudPlayerHealth.res" // the first file to be redone!! +{ + "PlayerStatusHealthValueShadow22" + { + "ControlName" "CExLabel" + "fieldName" "PlayerStatusHealthValueShadow22" + "xpos" "-2" + "ypos" "-2" [$WIN32] + "zpos" "5" + + "wide" "150" + "tall" "50" + + "visible" "1" + "enabled" "1" + "labeltext" "I FOUND AMONG US" + "textAlignment" "center" + "font" "hudfont48" + "fgcolor" "healthshadow" + + "pin_to_sibling" "PlayerStatusHealthValue" + } +} diff --git a/cfg/ckhud.cfg b/cfg/ckhud.cfg new file mode 100644 index 0000000..43b58de --- /dev/null +++ b/cfg/ckhud.cfg @@ -0,0 +1,6 @@ +alias hudplayerhealth_clear "sixense_clear_bindings; sixense_write_bindings hud_hudplayerhealth.txt" +alias hudplayerhealth_log "con_filter_text #base; con_filter_enable 1; con_logfile cfg/hud_hudplayerhealth.txt" +alias hudplayerhealth_unlog "con_logfile console.log" + +alias hudplayerhealth_alt "hudplayerhealth_clear; hudplayerhealth_log; exec hud/hudplayerhealth_alt.cfg; hudplayerhealth_unlog; hud_reloadscheme" +alias hudplayerhealth_def "hudplayerhealth_clear; hud_reloadscheme" \ No newline at end of file diff --git a/cfg/hud/hudplayerhealth_alt.cfg b/cfg/hud/hudplayerhealth_alt.cfg new file mode 100644 index 0000000..377ddfa --- /dev/null +++ b/cfg/hud/hudplayerhealth_alt.cfg @@ -0,0 +1 @@ +echo "#base ../_test/resource/ui/hudplayerhealth_alt.res" \ No newline at end of file diff --git a/cfg/valve.rc b/cfg/valve.rc index bac1042..83f4931 100644 --- a/cfg/valve.rc +++ b/cfg/valve.rc @@ -1,6 +1,5 @@ // load the base configuration //exec default.cfg -r_decal_cullsize 1 // Setup custom controller exec joystick.cfg @@ -8,15 +7,13 @@ exec joystick.cfg // run a user script file if present exec autoexec.cfg +// execute order 66 +exec ckhud.cfg + // // stuff command line statements // stuffcmds -// display the startup level -startupmenu - -sv_unlockedchapters 99 - -// hud stuff -cl_hud_minmode 0 \ No newline at end of file +// display the startup level. Remove this if you're using background images instead of maps +startupmenu \ No newline at end of file diff --git a/resource/ui/hudbowcharge.res b/resource/ui/hudbowcharge.res new file mode 100644 index 0000000..39a79d5 --- /dev/null +++ b/resource/ui/hudbowcharge.res @@ -0,0 +1,6 @@ +#base "../../_ckHUD/resource/ui/HudBowCharge.res" +#base "../../_tf2/resource/ui/HudBowCharge.res" + +"Resource/UI/HudBowCharge.res" +{ +} diff --git a/resource/ui/hudplayerhealth.res b/resource/ui/hudplayerhealth.res index 9c17c8b..9ccb345 100644 --- a/resource/ui/hudplayerhealth.res +++ b/resource/ui/hudplayerhealth.res @@ -1,3 +1,5 @@ +#base "../../cfg/hud_hudplayerhealth.txt" + #base "../../__customization/_enabled/evehud team indicator/resource/ui/hudplayerhealth.res" #base "../../__customization/_enabled/peachhud team indicator/resource/ui/hudplayerhealth.res"