Override the default muzzle flash.
In the weapons.wdl under the flashup add this create statement
////////////////////
function _flashup()
{
-------------------------;
-----;
// Set flare only in D3D mode
if(VIDEO_MODE > 8) { MY.FLARE = ON; }
else{ MY.TRANSPARENT = ON; }
CREATE <myflash7.pcx>,my.pos,my_new_flash; // the pcx shows on top of the default
MY.FACING = ON;
MY.AMBIENT = 100;
------;
---;
}
///////////////////////////
then add this to your levels script
/////////////////////////////////
function my_new_flash()
{
if(VIDEO_MODE > 8) { MY.FLARE = ON; }
// my.scale_x *= 0.5;// you can use the x,y to size
// my.scale_y *= 0.5;// the flash bigger or smaller
my.passable = on;
my.flare = on;
my.ambient = 50;
waitt 4;
remove me;
}
///////////////////////////