AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_es question (https://forums.alliedmods.net/showthread.php?t=236749)

jok 03-10-2014 14:27

set_es question
 
Is it possible to set both the player transparent, and have a glowing shell? I made it to work thogether but, the player's glow was fading in and out every moment.

I used this for transparecy:
set_es( State, ES_RenderAmt, 255 ); // Amount
set_es( State, ES_RenderMode, kRenderTransAdd );

I've tried using it in FM_AddToFullPack forward, but it just didn't run smoothly together.

Thanks in advance.

bibu 03-10-2014 14:33

Re: set_es question
 
It makes the same effect as glowing. You better just use a less amount on glow, that's all you can achieve.

ConnorMcLeod 03-11-2014 02:12

Re: set_es question
 
Can't you use set_user_rendering ?

jok 03-11-2014 10:27

Re: set_es question
 
Quote:

Originally Posted by ConnorMcLeod (Post 2110275)
Can't you use set_user_rendering ?

No because I need just two players to be able to see themselves glowing.

AFAIK set_user_rendering would let any player see their glow.

bibu 03-11-2014 11:10

Re: set_es question
 
Quote:

Originally Posted by jok (Post 2110414)
No because I need just two players to be able to see themselves glowing.

Then yes.


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

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