Been messing around with a nightvision effect for my goggles but got stumped here. I wanted to have Boones spotting shader appear when I wear the goggles. but instead of the enemies being red thay will be white so you can see them easier with the nightvision effect. This is the script for the normal catseye effect. I only removed the lines that make the screen go all funky when it wears off but it funtions perfect for goggles. Now I added the ApplyEffectShader and ApplyFXShader lines to the script but the script won`t close after saving it. From my past experiences that`s telling me the lines I added have invalid commands or refer to something that don`t exist. I did create the new shader, so I am guessing there is a different command to apply the FX shader. Does anyone have any idea what commands would be needed to make the fx shader apply when the goggles are put on?
scn CateyeEffectbegin ScriptEffectStartApplyImageSpaceModifier CatEyeISFXApplyfxshader fxSpotterShaderWhiteplayer.setav Nighteye 1endbegin ScriptEffectFinishRemoveImageSpaceModifier CatEyeISFXRemovefxshader fxSpottershaderwhiteplayer.setav Nighteye 0end