Raised This Month: $ Target: $400
 0% 

Invisible with shadow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
D.Moder
I uploaded 2 great gameplay plugins here
Join Date: Sep 2009
Location: Sin city
Old 09-19-2011 , 20:51   Invisible with shadow
Reply With Quote #1

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)
__________________
Creator of COD-Life (Half COD, Half Life)
https://forums.alliedmods.net/showthread.php?t=261162
twitter: @D_Moder_61216

Last edited by D.Moder; 09-20-2011 at 00:26. Reason: fix
D.Moder is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 09-19-2011 , 21:20   Re: Invisible with shadow
Reply With Quote #2

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

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
GalegO
Member
Join Date: May 2010
Location: Brazil
Old 09-19-2011 , 21:39   Re: Invisible with shadow
Reply With Quote #3

In my mod I can see the shadow normally. My player has 25% of visibility. And is very hard to see. xD
__________________
Sou brasileiro e não desisto NUNCA!
I'm Brazilian and NEVER give up!

Loucademia de CZ (lcz # GalegO)
CZ CrazyAcademy
189.1.164.85:27017

GalegO is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 21:42   Re: Invisible with shadow
Reply With Quote #4

Quote:
Originally Posted by GalegO View Post
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.
Doc-Holiday is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 09-20-2011 , 09:39   Re: Invisible with shadow
Reply With Quote #5

you need slowhacking.
clients are abale to disable shadowes.(clientside)
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-20-2011 , 09:43   Re: Invisible with shadow
Reply With Quote #6

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.
__________________
Arkshine 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 19:39.


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