Page 1 of 1

[v1.1.2] When equipping SCP-178, the vision turns black

Posted: Fri May 15, 2015 6:16 pm
by AveryLP
So, I have encountered another bug(Sorry if I might get annoying because of my constant bug discoveries).
When I am equipping SCP-178, my vision turns black as if the camerafog was set to 'camerafog near 0'.
To fix it I have to use the debug console by using the camerafog command(Which I don't want to, to be honest).
It happens on every map.

Re: [v1.1.2] When equipping SCP-178, the vision turns black

Posted: Fri May 15, 2015 6:53 pm
by juanjp600
This bug happens because the game sets CameraFogFar to StoredCameraFogFar, even if the NVG aren't equipped. By default, StoredCameraFogFar = 0 so the fog distance becomes 0.
The game should set it to this value only if they are equipped:

Code: Select all

If WearingNightVision Then CameraFogFar = StoredCameraFogFar