AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Invisible with shadow (https://forums.alliedmods.net/showthread.php?t=167766)

D.Moder 09-19-2011 20:51

Invisible with shadow
 
I know this code makes player invisible, but I want to be able to see the shadow:

Code:

set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0)
EDIT:
I did this and worked:

set_user_rendering(id, kRenderFxGlowShell, 5, 5, 5, kRenderTransAlpha)

Tirant 09-19-2011 21:20

Re: Invisible with shadow
 
You should be able to see the shadow still. It has nothing to do with the opacity of the player model.

GalegO 09-19-2011 21:39

Re: Invisible with shadow
 
In my mod I can see the shadow normally. My player has 25% of visibility. And is very hard to see. xD

Doc-Holiday 09-19-2011 21:42

Re: Invisible with shadow
 
Quote:

Originally Posted by GalegO (Post 1559146)
In my mod I can see the shadow normally. My player has 25% of visibility. And is very hard to see. xD

yeah its visible just hard to see.

One 09-20-2011 09:39

Re: Invisible with shadow
 
you need slowhacking.
clients are abale to disable shadowes.(clientside)

Arkshine 09-20-2011 09:43

Re: Invisible with shadow
 
It doesn't want to remove the shadow and like Tirant said using set_user_rendering doesn't remove the shadow at all. Also and for your information, to toggle the shadow you simply need to call ShadowIdx message.


All times are GMT -4. The time now is 19:39.

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