OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 999chris on 14 Apr 2005, 16:48:53

Title: Green Camera
Post 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.
Title: Re:Green Camera
Post by: macguba on 14 Apr 2005, 16:51:47
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.
Title: Re:Green Camera
Post by: 999chris on 14 Apr 2005, 17:23:08
AHa! I think ive worked it out... do Gamelogics have NV Goggles?
Title: Re:Green Camera
Post by: DBR_ONIX on 14 Apr 2005, 17:49:07
Not if you don't use Addweapon, no
- Ben
Title: Re:Green Camera
Post by: RujiK on 14 Apr 2005, 18:58:47
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.
Title: Re:Green Camera
Post by: DBR_ONIX on 14 Apr 2005, 22:00:58
player action [something]

The "Time for action has come" thread will help a LOT
That or.. player addweapon "nvgoggles"
- Ben
Title: Re:Green Camera
Post by: Planck on 14 Apr 2005, 22:09:37
Let me see now.....ahhhh yes.....

unitname action ["nvgoggles"]

It acts as a toggle.


Planck