flashlight pixel tint

Started by Slasher, Wed 20/03/2013 15:57:33

Previous topic - Next topic

Slasher

I'm having a bit of a problem getting rid of the pixel showing in the flashlight plugin.

It seems to be ignoring a walkbehind, even though the baseline is set very low and player baseline=0

I got around it by trying to adjust the flashlight so its kind of black. I reduced its size and it works but as I mentioned I still have a pixel that can be seen.

I read this:

With SetFlashlightTint you can tint your scenery with a color. Values for tints an be from -31 to +31; 0 means no change to the color component.

Note:
At first a pixel is tinted then it is shaded.

----------------------------------
Example how to switch tinting off:
----------------------------------

SetFlashlightTint (0, 0, 0);


Ideally I'd like the pixel to be black (going through a tunnel) and then return to normal when coming out of tunnel, which I can do with 0,0,0.

if you can help that would be great (nod)

cheers




SMF spam blocked by CleanTalk