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

[L4D2]How does it make the aura darker?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
King_OXO
Senior Member
Join Date: Dec 2020
Location: Brazil
Old 12-13-2021 , 13:50   [L4D2]How does it make the aura darker?
Reply With Quote #1

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); 

Last edited by King_OXO; 12-13-2021 at 13:58.
King_OXO is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 12-13-2021 , 13:57   Re: [L4D2]How does it make the aura darker?
Reply With Quote #2

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
__________________

Last edited by Marttt; 12-13-2021 at 14:02.
Marttt 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 11:36.


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