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

[L4D&L4D2] Remove Survivor Glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Beatles
Senior Member
Join Date: Feb 2014
Old 07-07-2019 , 20:12   [L4D&L4D2] Remove Survivor Glow
Reply With Quote #1

Since the use of "ClientCommand" was removed, we are very limited in the actions that are performed on the client side, probably for the security of the clients, but it affects a lot in certain plugins already created, and in the plugins that we are creating, especially those of us who are initiated.

I recently released an updated version of the Counter-Strike mode for L4D, with improvements and solutions, but there is something that I have not been able to remove from the client's side, it is the glow of the survivors, so I ask for help from the most experienced, What solutions are there? What can I do to remove the blillo from the survivors? both on the server and on the client's side.

NOTE: This could also be used to create a realistic mode in L4D1.

Last edited by Beatles; 07-07-2019 at 20:43.
Beatles is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-07-2019 , 20:27   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #2

Quote:
brightness of the survivors
wut?
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Beatles
Senior Member
Join Date: Feb 2014
Old 07-07-2019 , 20:46   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #3

Quote:
Originally Posted by Lux View Post
wut?
Hahahaha sorry, my mistake.
I suppose if you understand what I mean
Beatles is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-07-2019 , 22:43   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #4

I think realism mode has no glows,
Another alternative is to set the glow with "glowoverride" to RGB 1 1 1, looks fine to the models, but looks like need to apply to weapons/items either.
__________________

Last edited by Marttt; 07-07-2019 at 22:43.
Marttt is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 07-08-2019 , 00:02   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #5

I think this is what that gamemode toggles in l4d2 to disable glows,
PHP Code:
m_bSurvivorGlowEnabled (offset 16384) (type integer) (bits 1) (Unsigned
i'v not tested but just a guess from a name.


For l4d1 only thing i can think of is using sendproxy perplayer entprop version i don't remember which github fork it is on, to set everyone to see everyone else on different teams or
If infected are going to be disabled for CS gamemode
PHP Code:
SetEntPropFloat(clientProp_Send"m_itTimer"9999999.01); 
doing that everytime they respawn, altho this does blur the screen abit out of ideas for l4d1 sorry.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Beatles
Senior Member
Join Date: Feb 2014
Old 07-08-2019 , 01:37   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #6

Quote:
Originally Posted by Marttt View Post
I think realism mode has no glows,
Another alternative is to set the glow with "glowoverride" to RGB 1 1 1, looks fine to the models, but looks like need to apply to weapons/items either.
If you're right, but this in l4D1 obviously will not work, since you need the "ClientCommand", in L4D2 you do not need the realism mode because it already exists, I was referring to L4D1, but thanks for answering
Beatles is offline
Beatles
Senior Member
Join Date: Feb 2014
Old 07-08-2019 , 01:42   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #7

Quote:
Originally Posted by Lux View Post
I think this is what that gamemode toggles in l4d2 to disable glows,
PHP Code:
m_bSurvivorGlowEnabled (offset 16384) (type integer) (bits 1) (Unsigned
i'v not tested but just a guess from a name.


For l4d1 only thing i can think of is using sendproxy perplayer entprop version i don't remember which github fork it is on, to set everyone to see everyone else on different teams or
If infected are going to be disabled for CS gamemode
PHP Code:
SetEntPropFloat(clientProp_Send"m_itTimer"9999999.01); 
doing that everytime they respawn, altho this does blur the screen abit out of ideas for l4d1 sorry.
I have used the "m_bSurvivorGlowEnabled" but it has not worked for me, maybe I'm doing it wrong, but I just did a test.

PHP Code:
public void OnPluginStart() 

    
RegAdminCmd("sm_glow"ToggleSurvivorGlowADMFLAG_ROOT"Toggles the survivor glow"); 


public 
Action ToggleSurvivorGlow(int clientint args

    for (new 
1<= MAXPLAYERSi++)
    {
        
SetEntProp(iProp_Send"m_bSurvivorGlowEnabled"0);
        
SetEntProp(iProp_Send"m_glowColorOverride"0);
    }

So I need more help, hopefully someone can help me with this removal of the glow.
Beatles is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 07-11-2019 , 00:46   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #8

Quote:
Originally Posted by Beatles View Post
So I need more help, hopefully someone can help me with this removal of the glow.
Try this

PHP Code:
sv_disable_glow_survivors 1
sv_disable_glow_faritems 1 
BHaType is offline
Send a message via AIM to BHaType
Beatles
Senior Member
Join Date: Feb 2014
Old 07-11-2019 , 01:17   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #9

Quote:
Originally Posted by BHaType View Post
Try this

PHP Code:
sv_disable_glow_survivors 1
sv_disable_glow_faritems 1 
Thank you very much bro, but that only works in L4D2 and with the "ClientCommand", what I need is for L4D1, since that is where the situation is more difficult xD

Last edited by Beatles; 07-11-2019 at 01:18.
Beatles is offline
KadabraZz
Senior Member
Join Date: May 2020
Old 05-25-2020 , 09:04   Re: [L4D&L4D2] Remove Survivor Glow
Reply With Quote #10

Hello, using the sv_glowenable 0 - 1 cvar works, but only on the local server, it changes for everyone who is connected.
KadabraZz 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 13:28.


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