Quote:
The muzzle Flash is a simple bitmap and a dynamic light will lighten your weapon, ennemies and surrounding ! But it's not necessary for the weapon !
Do u think iam an idiot ? My muzzle flash script has a dynamic light. By the way i use a model for the muzzle, no bitmap. The Weapon is not lighted cause it has a normal mapping specular shader that only reacts to the sun.

The function is called __light_strike. And its somethink like that (written down from the head):
Code:
function __light_strike()
{
 MY.LIGHTRED = 120;
 MY.LIGHTBLUE=90;
 MY.LIGHTGREEN=90;
 MY.LIGHTRANGE = 50+random(100);
 WAIT(1);
 MY.LIGHTRANGE = 0;
}




The Night is cause of the extrem small clip_far range. That was the reason. It will all change to day with a new stronger engine.

Last edited by rayp; 05/05/11 11:45.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;