Hi
I have created a new entity "flare light glow"
PHP Code:
// Flare Glow
entity_set_string( iEntity, EV_SZ_classname, evnlightclassname );
entity_set_int( iEntity, EV_INT_solid, SOLID_NOT );
entity_set_int( iEntity, EV_INT_movetype, MOVETYPE_NONE );
entity_set_model( iEntity, EvNFlareGlow );
new Float:RGB[ 3 ];
RGB[ 0 ] = str_to_float( color[0] );
RGB[ 1 ] = str_to_float( color[1] );
RGB[ 2 ] = str_to_float( color[2] );
entity_set_vector( iEntity, EV_VEC_rendercolor, RGB );
entity_set_float( iEntity, EV_FL_scale, 0.5 );
entity_set_float( iEntity, EV_FL_nextthink, get_gametime() + 2.0 );
entity_set_origin( iEntity, originF );
I need to set render mode "Additive"
And FX Amount "90"
Like i can do valve hammer editor, env_sprite
and there are that options
Render FX
Render Mode
FX Amount
But how i do this in amxmodx scripting?
I have search that engine_const.inc where i found
EV_VEC_rendercolor and EV_FL_scale
But there are no sucks things like FX amount or FX mode
thanking in advance.
And sorry for my bad english.