Posted By: tivi
Dynamic Light - 10/21/07 13:46
Hi,
I have a propblem with light entities and models. The lighting is switched on/off on the models. I think this happens when I load a terrain. The light is an animated sprite with this action: Code:
Does someone know the problem and maybe has a solution?. I tried changing the unlit-flag, lightrange etc., nothing helped.
Please help me
Tom
I have a propblem with light entities and models. The lighting is switched on/off on the models. I think this happens when I load a terrain. The light is an animated sprite with this action: Code:
action irr_gang_Viol()
{
my->red = 70;
my->green = 2;
my->blue = 70;
my->ambient = 80;
my->lightrange = 30;
my->frame = random(40);
while(1)
{
my->frame += 1*time_step;
if(my->frame > 41) my->frame -= 40;
wait(1);
}
}
Does someone know the problem and maybe has a solution?. I tried changing the unlit-flag, lightrange etc., nothing helped.
Please help me
Tom