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

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


Post New Thread Reply   
 
Thread Tools Display Modes
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 10-12-2022 , 01:48   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
Reply With Quote #11

Quote:
Originally Posted by Mika Misori View Post
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?
unfortunately valve doesnt provide more flexible, you can see option thise option
Quote:
// 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"
at the plugin default , just hide the "misc", misc include health bar(team and self), hint text
generally these are sufficient
if you want join player death message you may set to 80, that mean 64+16
something not works on game like crosshair, something will broke the gaming like weapon selection, if you hide this then cant switch weapon
anyway just try it you self
__________________
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 10-12-2022 , 01:52   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
Reply With Quote #12

Quote:
Originally Posted by SDArt View Post
Can you add a cvar to control who has access? People get intimidated about the hud but some want immersion.
may you want using admin certification? this feature kinda easy if someone needed
__________________
NoroHime is offline
SDArt
Member
Join Date: Aug 2019
Old 10-30-2022 , 18:14   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
Reply With Quote #13

Quote:
Originally Posted by NoroHime View Post
may you want using admin certification? this feature kinda easy if someone needed
Certainly, i tried to implement it myself but my lack of knowledge deceits me..
SDArt is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 11-01-2022 , 06:28   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
Reply With Quote #14

Quote:
Originally Posted by SDArt View Post
Certainly, i tried to implement it myself but my lack of knowledge deceits me..
update v1.4

Quote:
ConVar

PHP Code:

// 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 "" 

changelog
  • v1.4 new ConVar *_hide_on_admin to control hide hud on specify admins; 1-November-2022
i guess no body need show_on_admin
__________________

Last edited by NoroHime; 11-01-2022 at 06:29.
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-01-2022 , 19:05   Re: [L4D & L4D2] HUD Hiddens v1.3 [7-April-2022]
Reply With Quote #15

Quote:
Originally Posted by SDArt View Post
Can you add a cvar to control who has access? People get intimidated about the hud but some want immersion.
update, my first trying clientprefs SM feature

Quote:
ConVar

PHP Code:
//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.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
__________________

Last edited by NoroHime; 12-03-2022 at 09:46.
NoroHime is offline
LividBunny
Member
Join Date: Mar 2021
Old 12-11-2022 , 14:44   Re: [L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]
Reply With Quote #16

Can there be an option to allow Client Health to be visible, I'm using Marttt's HP Laser to show everyone else's HP bar on top.

Last edited by LividBunny; 12-11-2022 at 15:14.
LividBunny is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-12-2022 , 16:03   Re: [L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]
Reply With Quote #17

Quote:
Originally Posted by LividBunny View Post
Can there be an option to allow Client Health to be visible, I'm using Marttt's HP Laser to show everyone else's HP bar on top.
unfortunately no, this already response
Quote:
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
Iciaria
Member
Join Date: Aug 2022
Old 04-28-2023 , 07:16   Re: [L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]
Reply With Quote #18

I noticed that if the client has a menu open, and presses "0" to exit it, the HUD will still remain visible.

This affects SM's "sm_admin" and menus like "sm_weapon_spawn" "sm_storm".

And "GetClientMenu" doesn't seem to be able to check for this.
__________________
Sorry,my english not good

Last edited by Iciaria; 04-28-2023 at 07:32.
Iciaria is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 04-28-2023 , 07:39   Re: [L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]
Reply With Quote #19

Quote:
Originally Posted by Iciaria View Post
I noticed that if the client has a menu open, and presses "0" to exit it, the HUD will still remain visible.

This affects SM's "sm_admin" and menus like "sm_weapon_spawn" "sm_storm".

And "GetClientMenu" doesn't seem to be able to check for this.
these issue from source engine, menu closed on client side but not close proper on server side, l4d2 default 0 button was an issue while long time, affect many plugins, the only solution is change the key bound i remember,
so default key binding config on cfg/config_default.cfg, it is bind "0" "slot10",
on my custom config i change it to bind 0 "slot10;menuselect 10";
might not best, but work for me
__________________
NoroHime is offline
Iciaria
Member
Join Date: Aug 2022
Old 04-28-2023 , 07:50   Re: [L4D & L4D2] HUD Hiddens v1.6 [3-December-2022]
Reply With Quote #20

Quote:
Originally Posted by NoroHime View Post
these issue from source engine, menu closed on client side but not close proper on server side, l4d2 default 0 button was an issue while long time, affect many plugins, the only solution is change the key bound i remember,
so default key binding config on cfg/config_default.cfg, it is bind "0" "slot10",
on my custom config i change it to bind 0 "slot10;menuselect 10";
might not best, but work for me
Thanks, but for the server:
The only solution I can think of is to set "ExitButton" to false in the specific menu plugin.
And having to waste a menu item to manually set the exit button.
__________________
Sorry,my english not good
Iciaria is offline
Reply


Thread Tools
Display Modes

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 21:57.


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