Raised This Month: $32 Target: $400
 8% 

[L4D] Expert Realism (Hide Glows)


Post New Thread Reply   
 
Thread Tools Display Modes
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-12-2021 , 22:32   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #11

Quote:
Originally Posted by axelnieves2012 View Post
But for some reason, sv_glowenable vanished and it does not work anymore
because it is a hidden cvar in left 4 dead, we can't use it directly

As the th3y did, we have to
PHP Code:
CreateConVar("sv_glowenable""1").... 
in sourcemod code
__________________

Last edited by HarryPotter; 01-12-2021 at 22:32.
HarryPotter is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-13-2021 , 02:40   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #12

Quote:
Originally Posted by axelnieves2012 View Post
In the past, I used these convars to simulate realism.

PHP Code:
sm_cvar hud_targetid_name_height "9999.0" //hide survivor names (not really hidden) 
I tested, and it said "hud_targetid_name_height" not found,
are you sure this convar can be used on server side?

PHP Code:
hud_targetid_name_height                 12       : , "cl""launcher" Player names are this many inches over player eye positions 
__________________
HarryPotter is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 01-13-2021 , 04:49   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #13

Hope harrypoter can support realistic mode
ZBzibing is offline
Kai0205
Member
Join Date: Sep 2017
Old 01-14-2021 , 10:41   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #14

I have found a temporary solution for Realism

Configuring cfg
PHP Code:
l4d_survivor_glowenable "0"
l4d_survivor_hidehud "1024"
sv_glowenable "1" 
Reload next 3 lines
PHP Code:
sm_cvar sv_disable_glow_survivors "1"
sm_cvar sv_disable_glow_survivors "0"
sm_cvar l4d_survivor_glowenable "0" 

Last edited by Kai0205; 01-14-2021 at 10:41.
Kai0205 is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 01-16-2021 , 13:54   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #15

Quote:
Originally Posted by HarryPotter View Post
I tested, and it said "hud_targetid_name_height" not found,
are you sure this convar can be used on server side?

PHP Code:
hud_targetid_name_height                 12       : , "cl""launcher" Player names are this many inches over player eye positions 
you are right. It is not working anymore (just like sv_glowenable). I think they stopped working on sourcemod 1.10 (or maybe 1.9).
I used to set those convars on the past, but they are not working anymore, i think it is because newer versions of sourcemod).

Edit: I could notice survivor names are not shown during cinematics. Maybe there is another way to hide them.

Last edited by axelnieves2012; 01-16-2021 at 13:56.
axelnieves2012 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-01-2021 , 07:57   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #16

[tested on L4D2, listen server]

Using in chat !cvar hud_targetid_name_height, I was able to change the value. (maybe doesn't exist for L4D1).
Btw, I think it is client-sided according to the cvar parameters (that's why on listen sv worked, maybe work using SendConVarValue here too, I don't know if this command works for non-replicated cvars).

PHP Code:
hud_showtargetid                1    "cl" "launcher"
hud_targetid_health             0    "cl" "launcher"
hud_targetid_name_height        12   "cl" "launcher" Player names are this many inches over player eye positions
hud_targetid_name_height_boomer 
12   "cl" "launcher" Player names are this many inches over player eye positions
hud_targetid_name_height_hunter 
10   "cl" "launcher" Player names are this many inches over player eye positions
hud_targetid_name_height_smoker 
25   "cl" "launcher" Player names are this many inches over player eye positions
hud_targetid_name_height_tank   
12   "cl" "launcher" Player names are this many inches over player eye positions
hud_targetid_player_view_cone   
0.92 "cl" "launcher" View cone for survivors seeing names of other survivors
hud_targetid_pz_ss_view_cone    
0.98 "cl" "launcher" View cone for seeing player names as a PZ in splitscreen
hud_targetid_rangefinder        
:      : "cl" "cheat"    shows range for different masks
hud_targetid_skill              
0    "cl" "launcher"
hud_targetid_upgrades           0    "cl" "launcher" 
And setting cl_glow_brightness to 0 I was able to make even some items in L4D2 don't glow (scavenge)

PHP Code:
cl_glow_brightness "cheat" "cl" Brightness of player halos 
__________________

Last edited by Marttt; 02-01-2021 at 10:06.
Marttt is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 04-26-2021 , 22:36   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #17

The specific parameters are not known, but I can provide some ideas to see if it is implemented

1. The color of the player name is transparent

2. Player name display location (set to the sky, or underground)

3. Player name font size (too small to be noticeable)

4 Player name distance display (unless two players overlap and are not displayed due to distance)



My English is not good
ZBzibing is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-27-2021 , 17:43   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #18

l4d_expertrealism Version 1.2 (2021/8/28 )
L4D1/2 Real Realism Mode (No Glow + No Hud)

-New Feature-
-Remake code
-Control glow and hud flag
-Enable Hard Core Hud Mode
(hide HUD and Glow by default, Hud will show while survivors are in stillness or holding SLOW_WALK(Shift) or holding DUCK)

Apply to:
l4d1/2 both

-Require-
[INC] Multi Colors

-Convars-
Spoiler


-Command-
Spoiler


-Edit Github-
Latest version always here
Attached Files
File Type: sp Get Plugin or Get Source (l4d_expertrealism.sp - 86 views - 13.4 KB)
__________________

Last edited by HarryPotter; 09-22-2021 at 21:52.
HarryPotter is offline
Kai0205
Member
Join Date: Sep 2017
Old 08-28-2021 , 02:49   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #19

There is an error of one character in line 467
Kai0205 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-28-2021 , 07:26   Re: [L4D] Expert Realism (Hide Glows)
Reply With Quote #20

Quote:
Originally Posted by Kai0205 View Post
There is an error of one character in line 467
fixed
__________________
HarryPotter 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 21:03.


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