nightvision script help

Post » Thu Jun 28, 2012 11:03 am

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 CateyeEffect
begin ScriptEffectStart
ApplyImageSpaceModifier CatEyeISFX
Applyfxshader fxSpotterShaderWhite
player.setav Nighteye 1
end
begin ScriptEffectFinish
RemoveImageSpaceModifier CatEyeISFX
Removefxshader fxSpottershaderwhite
player.setav Nighteye 0
end
User avatar
Courtney Foren
 
Posts: 3418
Joined: Sun Mar 11, 2007 6:49 am

Return to Fallout: New Vegas