Raised This Month: $ Target: $400
 0% 

Transparent Sprite.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 10-19-2007 , 23:31   Transparent Sprite.
Reply With Quote #1

I can't seem get this sprite to go transparent.
(Making it now show up, with the black box around it)

Code:
CreateDot(Float:origin[3]) {     new dot = fm_create_entity("info_target");//engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target"));     if(dot)     {         set_pev(dot,pev_classname,g_szDotClass);         set_pev(dot,pev_movetype,MOVETYPE_NONE)         set_pev(dot,pev_solid,SOLID_NOT)                     set_pev(dot,pev_rendermode,kRenderTransAlpha);         set_pev(dot,pev_renderfx,kRenderFxNone);         set_pev(dot,pev_renderamt,255);                     engfunc(EngFunc_SetModel,dot,"sprites/dot.spr");         engfunc(EngFunc_SetOrigin,dot,origin)     }     return 1 }

Anyone have any ideas on how to do it?
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
 



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 01:20.


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