Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Plugin ID:
7878
Plugin Version:
1.6
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    make players HUD hidden automatically.
    Old 12-11-2021 , 16:59   [L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]
    Reply With Quote #1

    about
    • what this do?default hide all players HUD,trigger show instantly by menu opened or specifies key pressed or incapped
    • on my realism server i want to have immersive experience so this my first plugin appeared
    • idea from [L4D2] More Hard Core HUD Mode 【Remasterd】 and this thread and Valve's Lost Mutations: Ultra Realism
    • can config hud instantly shows when key press / menu opened / incapped / HUDs / which team / which difficulties / which admins
    • the flag 64 is hide HP bar and hint and menu ,check screenshot attachment
    • can specifies which admin flag acces hide hud only
    • can toggle HUD over sm_hud command, and command permission configurable

    ConVar

    PHP Code:
    // hidd these HUDs, 1=weapon selection, 2=flashlight, 4=all, 8=health
    // 16=player dead, 32=needssuit, 64=misc, 128=chat, 256=crosshair, 512=vehicle crosshair, 1024=in vehicle
    // not all available
    hide_hud_hideflag "64"

    // game frames skips of hidden action, 10=every 10 frames, higher value detect slower and less performance
    hide_hud_interval "10"

    // show hud on these difficulties. 1=easy 2=normal 4=hard 8=expert -1=All 7=excluded expert. add numbers together you want.
    hide_hud_show_on_difficulties "1"

    // show hud if incapped
    hide_hud_show_on_incapped "1"

    // show hud if press these key, 131072=speed(shift) 4=crouch 
    hide_hud_show_on_key "131072"

    // show hud if menu open
    hide_hud_show_on_menuing "1"

    // show hud on these teams. 1=idle 2=spectator 4=survivors 8=infected 11=excluded survivors. add numbers together you want.
    hide_hud_show_on_teams "11"

    // admin flags to access plugin, dont hide hud if player doesnt has permission.
    // f=sm_slay empty=everyone allow. see more on /configs/admin_levels.cfg
    hide_hud_hide_on_admin ""

    //admin flags to access sm_hud, toggle the hide status.
    // f=sm_slay empty=everyone allow. see more on /configs/admin_levels.cfg
    hide_hud_command "" 

    Commands
    PHP Code:
    find "client hud"
    "sm_hidehud"
     
    toggle did override client hud hiddenmeaning on or off
    "sm_hud"
     
    toggle did override client hud showmeaning on or off 

    changelog
    • v1.0 just released;
    • v1.0.1 check entity validates for button status;
    • v1.2 turn to new syntax and less performance usage, add binary check now compatible for other flag change plugins;
    • v1.3
      support show on specifies teams or difficulties,
      change work way to GameFrame and hide_hud_interval change to frames unit,
      add key detection instead +speed;
      death also regarded as incapped; 7-April-2022
    • v1.4 new ConVar *_hide_on_admin to control hide hud on specify admins; 1-November-2022
    • v1.5
      new Command sm_hud to toggle did override client hud status, meaning on or off, command status save on server over 'clientprefs',
      new ConVar *_command to control which admin flag user can access command sm_hud or everyone; 2-December-2022
    • v1.6
      new Command sm_hidehud to toggle did override hud hidden, this is the opposite of the sm_hud, but didnt override hide_hud_show_on_menuing, otherwise cannot show any menu,
      variable style turn to hungarian notation; 3-December-2022


    Installation
    • put hideHUD.smx on /plugins/
    Attached Images
    File Type: jpg 20211214051647.jpg (62.2 KB, 1048 views)
    Attached Files
    File Type: sp Get Plugin or Get Source (hideHUD.sp - 397 views - 8.8 KB)
    __________________

    Last edited by NoroHime; 12-03-2022 at 09:45.
    NoroHime is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 12-13-2021 , 11:49   Re: [L4D(2)] Hide HUD automatically
    Reply With Quote #2

    Are they the same?
    https://forums.alliedmods.net/showthread.php?t=328015
    __________________
    Please forgive, If I'm not describing it accurately. I use google translate
    Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
    ZBzibing is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 12-13-2021 , 16:17   Re: [L4D(2)] Hide HUD automatically
    Reply With Quote #3

    i was checked it before,it looks different feature there
    my hide hud usually use with realism and hide all players defaultly
    when press shift or menu opening then show hud instantly like screenshot,did you checked description?
    Attached Images
    File Type: jpg QQ截图20211214051647.jpg (62.2 KB, 494 views)
    __________________

    Last edited by NoroHime; 12-13-2021 at 16:22.
    NoroHime is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 01-05-2022 , 01:41   Re: [L4D(2)] Hide HUD automatically and controllable
    Reply With Quote #4

    Quote:
    v1.2 turn to new syntax and less performance usage, add binary check now compatible for other flag change plugins

    v1.0.1
    check valid entity for button status

    v1.0
    release
    __________________
    NoroHime is offline
    SDArt
    Member
    Join Date: Aug 2019
    Old 02-06-2022 , 14:23   Re: [L4D(2)] Hide HUD automatically and controllable v1.2 [12-21]
    Reply With Quote #5

    Does the cvars allows to show only the players weapons and health hud? meaning press(key) to show other players health hud but yours doesn't hide.
    SDArt is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 02-06-2022 , 16:01   Re: [L4D(2)] Hide HUD automatically and controllable v1.2 [12-21]
    Reply With Quote #6

    Quote:
    Originally Posted by SDArt View Post
    Does the cvars allows to show only the players weapons and health hud? meaning press(key) to show other players health hud but yours doesn't hide.
    i think no, player health/team health/hint text/menu is classed by game as "misc"
    i recommended use [L4D2] Scripted HUD to show your custom
    __________________
    NoroHime is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 04-06-2022 , 13:13   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
    Reply With Quote #7

    update, many ConVars changed
    Quote:
    PHP Code:
    // hidd these HUDs, 1=weapon selection, 2=flashlight, 4=all, 8=health
    // 16=player dead, 32=needssuit, 64=misc, 128=chat, 256=crosshair, 512=vehicle crosshair, 1024=in vehicle
    // not all available
    hide_hud_hideflag "64"

    // game frames skips of hidden action, 10=every 10 frames, higher value detect slower and less performance
    hide_hud_interval "10"

    // show hud on these difficulties. 1=easy 2=normal 4=hard 8=expert -1=All 7=excluded expert. add numbers together you want.
    hide_hud_show_on_difficulties "1"

    // show hud if incapped
    hide_hud_show_on_incapped "1"

    // show hud if press these key, 131072=speed(shift) 4=crouch 
    hide_hud_show_on_key "131072"

    // show hud if menu open
    hide_hud_show_on_menuing "1"

    // show hud on these teams. 1=idle 2=spectator 4=survivors 8=infected 11=excluded survivors. add numbers together you want.
    hide_hud_show_on_teams "11" 

    changelog
    • v1.3
      support show on specifies teams or difficulties,
      change work way to GameFrame and hide_hud_interval change to frames unit,
      add key detection instead +speed;
      death also regarded as incapped; 7-April-2022
    __________________
    NoroHime is offline
    SDArt
    Member
    Join Date: Aug 2019
    Old 07-30-2022 , 00:37   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
    Reply With Quote #8

    Can you add a cvar to control who has access? People get intimidated about the hud but some want immersion.
    SDArt is offline
    Iciaria
    Member
    Join Date: Aug 2022
    Old 08-02-2022 , 02:32   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
    Reply With Quote #9

    will this plugin also hide subtitle hints?
    Iciaria is offline
    Mika Misori
    Senior Member
    Join Date: Sep 2022
    Old 10-02-2022 , 06:19   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
    Reply With Quote #10

    Quote:
    Originally Posted by NoroHime View Post
    update, many ConVars changed
    Thanks for the plugin. I am using it for hardcore server. How do I set up to hide only the lives of players, player weapons and actions display (who killed and healed who) ? In the screenshot highlighted 3 things I want to hide, how to do this?

    Also, players can see health by pressing TAB. Players quickly get to this and start using it, which breaks the immersion and the idea of the plugin. Any chance to disable the TAB stats in this plugin?
    Attached Thumbnails
    Click image for larger version

Name:	HideHud3Remove.jpg
Views:	311
Size:	97.0 KB
ID:	197206  

    Last edited by Mika Misori; 10-02-2022 at 06:33. Reason: Attach screenshot
    Mika Misori is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:26.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode