Hi,

I am currently trying to use a muzzleflash model as an Entity for my gunfire script.
The muzzle entity is defined as:

Code:
ENTITY* ent_muzzle = {
      type = "muzzle_2.mdl";
      view = camera;
      x = 285;
		y = -27;
		z = -17;
		pan = 10;
		tilt = 10;
		roll = 0;
      flags2 = OVERLAY | VISIBLE | BRIGHT;
}


But how can I make the model transparent?
I was told to make it bright and transparent.
But when I use a transparent flag on the entity the engine trows back an error.

This is how the model looks like:



Does anyone know how to fix this in the script?


The best games are the games you create yourself.