OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 999chris on 14 Apr 2005, 16:48:53
-
Hey, Im starting to make camera scripts now... and the first scene is where a Scud Launcher is beling delivered to a russian base... Im having it at night but on the camera's view it has a green overlay like that of the NVGoggles but without the fuzz... im positive there is a way to not have this.
-
If your player character is wearing NVGs then the cutscene is in green. The answer is to removeWeapon the NVGs from him before you create the camera. You can add them back at the end of the camera script.
Night cutscenes are tricky: if it's completely dark you can't see anything. Make sure there is a streetlamp, or vehicle headlamps or something to provide some light.
-
AHa! I think ive worked it out... do Gamelogics have NV Goggles?
-
Not if you don't use Addweapon, no
- Ben
-
A logic with nvgoggle would be pointless, as you would not be able to tell, the only way you could make the camera green would go to have the PLAYER select nightvision goggles and put them on/off.
I cant remember the command for this but I know there is one.
-
player action [something]
The "Time for action has come" thread will help a LOT
That or.. player addweapon "nvgoggles"
- Ben
-
Let me see now.....ahhhh yes.....
unitname action ["nvgoggles"]
It acts as a toggle.
Planck