Frictional Games Forum (read-only)

Full Version: Darkness Vision Effect off
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my question is simple. how can i turn on the blue darkness vision effect (when i'm standing in darkness and no lantern is used), to make the screen pitch black when i'm standing far from any light? like in AMFP, but i want to keep the sanity drain effect, i only want to turn down the blue vision. i suppose something must be changed in the game.cfg. i'm making a full conversion mod and i'd like to warn the player with this to save the oil and tinderboxes, because there will be total darkness in the maps.
Yes, you must use a mod and edit the game.cfg file. Take a close look at this section and you'll probably figure it out:

PHP Code:
<Player_Darkness
    
    MinLightLevel 
"0.15"
    
    
RadiusAdd "3"
    
    
AmbientLightMinLightLevel "0.2"
    
AmbientLightRadius "6.5"
    
AmbientLightIntensity "0.32"
    
AmbientLightFadeInTime "2.8"
    
AmbientLightFadeOutTime "2.3"    
    
AmbientLightColor "0.5 0.5 1 0"    
    
    
LoopSoundFile  "player_darkness.ogg"
    
LoopSoundVolume "0.2"
    
LoopSoundStartupTime "1.0"
    
LoopSoundFadeInSpeed "0.05"
    
LoopSoundFadeOutSpeed "0.4"
    
    
SanityLossPerSecond "0.2"
/> 
problem solved thanks for helping Smile