AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [L4D2]How does it make the aura darker? (https://forums.alliedmods.net/showthread.php?t=335555)

King_OXO 12-13-2021 13:50

[L4D2]How does it make the aura darker?
 
Can someone help me?

I want to change a scripting, I want to make the aura darker than this
Rainbow Aura

if possible send me the scripting

PHP Code:

    int color[3];
    
color[0] = RoundToNearest((Cosine((GetGameTime() * 3.0) + iClient 0) * 127.5) + 127.5);
    
color[1] = RoundToNearest((Cosine((GetGameTime() * 3.0) + iClient 2.0) * 127.5) + 127.5);
    
color[2] = RoundToNearest((Cosine((GetGameTime() * 3.0) + iClient 4.0) * 127.5) + 127.5);
    
    
SetEntProp(iClientProp_Send"m_glowColorOverride"color[0] + (color[1] * 256) + (color[2] * 65536));
    
SetEntProp(iClientProp_Send"m_iGlowType"3);
    
SetEntProp(iClientProp_Send"m_nGlowRange"99999);
    
SetEntProp(iClientProp_Send"m_nGlowRangeMin"0); 


Marttt 12-13-2021 13:57

Re: [L4D2]How does it make the aura darker?
 
I don't know if you mean the aura.

The only "darker" thing is the player color. (in the video)
So maybe you are looking for SetEntityRenderColor

If you mean darker aura colors.
The darker the aura less visible it will be.
black (0,0,0) = no aura.

Basically, starting for 255, less the number, "darker" it will be


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

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