AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Making an entity transparent? (https://forums.alliedmods.net/showthread.php?t=134609)

hornet 08-07-2010 03:05

Making an entity transparent?
 
Hi I'm tryna make an entity transparent but its not working, simply just making the texture of this entity white :S

PHP Code:

new ent find_ent_by_tname( -1"entityname" )
set_rendering(ent,kRenderFxNone,0,0,0,kRenderNormal,100); 

I'm assuming that amount is out of 255 so I made it 100.

Please help me figure it out.
Thanks!

hzqst 08-07-2010 03:06

Re: Making an entity transparent?
 
kRenderNormal --> kRenderTransTexture

hornet 08-07-2010 03:13

Re: Making an entity transparent?
 
lol I do alot of mapping and some how I didnt think of that.
Thanks mate!


All times are GMT -4. The time now is 00:13.

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