So this is what it should look like, works for me, just make sure you have 001,002,003,blackout files in sanity folder.
If its not what you pictured we can make it better.
Ah yes, you have to be actually in the dark (A.k.a triggerzone) for this script to work. When you get out of dark, (step out of trigger zone) your sanity returns normal.
;(IN)Sanity script
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\Sanity\blackout.dds,hudname=blackout,hudhide=1,hudmake=display
:state=0:timerstart
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\Sanity\001.dds,hudname=sanity001,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\Sanity\003.dds,hudname=sanity003,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\Sanity\002.dds,hudname=sanity002,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1,timergreater=1000:hudshow=sanity001
:state=1,plrwithinzone=1,timergreater=5000:hudshow=sanity002,plrsound=audiobank\player_reactions\sigh2.wav
:state=1,plrwithinzone=1,timergreater=8000:hudshow=sanity003,plrsound=audiobank\player_reactions\scared3.wav
:state=1,plrwithinzone=1,timergreater=10000:hudshow=blackout,loopsound=audiobank\player_reactions\insaneloop.wav
:state=1,plrwithinzone=0:hudunshow=sanity001,hudunshow=sanity002,hudunshow=sanity003,hudunshow=blackout,state=0,stopsound
My paragon is not on the poster, its in the mirror.