The aum code works great for static lights, but as I am using a lot more dynamic lighting throughout my levels it leaves me a little lost using the aum Theif light code to detect the textures light below the player.
I have the player able to knock out a few light sources, so not being able to detect the players visibility is annoying.
Is there a way to detect light sources that are dynamic?
this is what the code was for using static lights...
vec_set(temp, player.x);
temp.z -= 300;
trace_mode = ignore_me + ignore_passable + ignore_models + ignore_sprites + scan_texture;
trace (player.x, temp);
if(tex_light.blue > 128)
{
stealth_trigger = 1;
}
I remember seeing it in splinter cell, so I know it's possible, just not sure how to go about it in 3dgamestudio.
Thanks in advance.
