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";
__________________