AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D&L4D2] Remove Survivor Glow (https://forums.alliedmods.net/showthread.php?t=317332)

Beatles 07-07-2019 20:12

[L4D&L4D2] Remove Survivor Glow
 
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.

Lux 07-07-2019 20:27

Re: [L4D&L4D2] Remove Survivor Glow
 
Quote:

brightness of the survivors
wut?

Beatles 07-07-2019 20:46

Re: [L4D&L4D2] Remove Survivor Glow
 
Quote:

Originally Posted by Lux (Post 2658197)
wut?

Hahahaha sorry, my mistake.
I suppose if you understand what I mean :wink:

Marttt 07-07-2019 22:43

Re: [L4D&L4D2] Remove Survivor Glow
 
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.

Lux 07-08-2019 00:02

Re: [L4D&L4D2] Remove Survivor Glow
 
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.

Beatles 07-08-2019 01:37

Re: [L4D&L4D2] Remove Survivor Glow
 
Quote:

Originally Posted by Marttt (Post 2658213)
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 :3

Beatles 07-08-2019 01:42

Re: [L4D&L4D2] Remove Survivor Glow
 
Quote:

Originally Posted by Lux (Post 2658222)
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. :cry:

BHaType 07-11-2019 00:46

Re: [L4D&L4D2] Remove Survivor Glow
 
Quote:

Originally Posted by Beatles (Post 2658238)
So I need more help, hopefully someone can help me with this removal of the glow. :cry:

Try this

PHP Code:

sv_disable_glow_survivors 1
sv_disable_glow_faritems 1 


Beatles 07-11-2019 01:17

Re: [L4D&L4D2] Remove Survivor Glow
 
Quote:

Originally Posted by BHaType (Post 2658714)
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

KadabraZz 05-25-2020 09:04

Re: [L4D&L4D2] Remove Survivor Glow
 
Hello, using the sv_glowenable 0 - 1 cvar works, but only on the local server, it changes for everyone who is connected.


All times are GMT -4. The time now is 06:32.

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