First thanks again for the help and guidance
i try this, but the black background was still
PHP Code:
entity_set_int(amaterasu, EV_INT_rendermode, kRenderTransTexture);
entidad_set_float(amaterasu, EV_FL_renderamt, 255.0);
so i try, and now remove the black background, but the animation of the sprite is not done, is it possible to do it?
PHP Code:
new Float:vOrigin[3]
vOrigin[0] += aimvec[0]
vOrigin[1] += aimvec[1]
vOrigin[2] += aimvec[2]
new amaterasuaowner = id
new amaterasu = create_entity("env_sprite")
entity_set_string(amaterasu, EV_SZ_classname,"amaterasu")
entity_set_model(amaterasu,"sprites/shmod/blue_flame.spr")
entity_set_int(amaterasu, EV_INT_solid, 2) // solid
// I wanted to remove this to see if it made the animation but no
//entity_set_int(amaterasu, EV_INT_movetype, MOVETYPE_NONE) // don't move
entity_set_edict(amaterasu, EV_ENT_owner, amaterasuaowner)
entity_set_int(amaterasu, EV_INT_rendermode, kRenderFxNoDissipation);
set_rendering(amaterasu, kRenderFxNoDissipation, 0, 255, 0, kRenderGlow, 255) // put this to remove the black background of the sprite
entity_set_origin(amaterasu, vOrigin) // put your origin here : Float:{X , Y , Z}
entity_set_vector(amaterasu, EV_VEC_origin, vOrigin)
I don't know if you can see it in the image, but the size of the sprite is blue, green is what I do with the code, I would like it to be like blue