Raised This Month: $ Target: $400
 0% 

Render Sprite Colour?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 01-11-2014 , 21:58   Render Sprite Colour?
Reply With Quote #1

is there anyway to render a sprites colour without editing the file?

Code:
        new Entity = create_entity( "env_sprite" );                 entity_set_model(Entity, Fire)         entity_set_int(Entity, EV_INT_rendermode, kRenderTransAdd)         entity_set_float(Entity, EV_FL_renderamt, 300.0)                 entity_set_float( Entity, EV_FL_framerate, 20.0 );                 entity_set_int(Entity, EV_INT_movetype, MOVETYPE_FOLLOW)                 entity_set_edict(Entity, EV_ENT_aiment, Client)                 DispatchSpawn( Entity);                 g_iPlayerEnt[ Client ] = Entity;
Code:
new Fire[] = "sprites/poison.spr";
__________________

Last edited by Blizzard_87; 01-11-2014 at 21:59.
Blizzard_87 is offline
 



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 10:05.


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