Home   Help Search Login Register  

Author Topic: Turn Night Vision on in Intro  (Read 1115 times)

0 Members and 1 Guest are viewing this topic.

Offline Pilot

  • Contributing Member
  • **
Turn Night Vision on in Intro
« on: 24 Jun 2005, 03:37:03 »
Ok, I know this had been discussed before, but for the life of me I can't get anything to work that has been already suggested.  My question:
How do I turn on NV goggles in the middle of the intro?  Or, for that matter, how do I turn them off?

I have tried adding the nv goggles to the player then using the action command to turn them on, I have tried making the player a unit with NV goggles from the start and using the action command to toggle them on and off, and I have tried removing the NV goggles from the player and adding them at a later time, all to no avail.  I can not make the NV goggles turn on or off at all in my intro.  So how do I do this?

-Student Pilot

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Turn Night Vision on in Intro
« Reply #1 on: 24 Jun 2005, 04:19:28 »
I seem to recall that it had to be an ai unit for it to work.  I usually used a black op placed somewhere random on the map.

Blip :joystick:
...NIGHT WALKER....

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Turn Night Vision on in Intro
« Reply #2 on: 24 Jun 2005, 13:27:54 »
Yeah, that works, or you could use an East Officer(night eq.), depends what side you need really, lol

Hauk

Edit: Didn't read all your post.

Try a setDammage 1 if you want to "turn them off", on the guy you placed anywhere in the map. Its not a great method but its practical.  :D

Hauk
« Last Edit: 24 Jun 2005, 13:29:47 by Hauk »

DBR_ONIX

  • Guest
Re:Turn Night Vision on in Intro
« Reply #3 on: 24 Jun 2005, 13:56:13 »
Odd, I was sure in cutscenes, it had the NVG-green-ness is the player had NVGs, and it was past.. 5PM? (Whenever the lights come on on vehicles, and AI automaticly put on NVgs)
Hmm, what time is it in the cutscene?
- Ben

Offline Pilot

  • Contributing Member
  • **
Re:Turn Night Vision on in Intro
« Reply #4 on: 24 Jun 2005, 15:53:04 »
@Blip
Either you didn't understand my question or I don't understand your answer.  During the night, if the player has NVGoggles, a green NV screen turns on for the cutscene, in my case the intro.  What I want is a way to turn that green screen on and off.

@Hauk
I tried the setdammage method, and it didn't work.

@Ben
You are correct, the NVGoggles automatically come on.  The time in the intro is 0030 hours.  What I want to do is turn on the NVGs halfway through the intro.  I don't need them in the first half because there are lamps around giving light.  I need it in the second half because there are no lights.

Thanks for the replies so far!

-Student Pilot

CopyrightPhilly

  • Guest
Re:Turn Night Vision on in Intro
« Reply #5 on: 24 Jun 2005, 16:06:25 »
where ever u want them to b on
player addweapon "NVGoggles"
player action ["NVGoggles"]

when u want them off
player removeweapon "NVGoggles"
« Last Edit: 24 Jun 2005, 16:07:18 by CopyrightPhilly »

Offline Pilot

  • Contributing Member
  • **
Re:Turn Night Vision on in Intro
« Reply #6 on: 24 Jun 2005, 20:44:41 »
@CopyrightPhilly
I tried that and it didn't work. :'(

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Turn Night Vision on in Intro
« Reply #7 on: 24 Jun 2005, 23:56:39 »
I attached a example mission.  Look at the intro.  It's a solo unit standing in broad daylight, it starts with no NV, it comes on and then it comes off.  Check the script for details.  Basically, I just used what was mentioned above.  

If this doesn't work in your mission it might be because somebody else is wearing NV that you don't know about.

Blip :joystick:
« Last Edit: 24 Jun 2005, 23:56:58 by Blip »
...NIGHT WALKER....

Offline Pilot

  • Contributing Member
  • **
Re:Turn Night Vision on in Intro
« Reply #8 on: 25 Jun 2005, 00:58:23 »
I finally got it working!  I had to name the player unit and then use the name I gave him.  Just using player action ["NVGoggle"] wouldn't work, I had to use his name.  Thanks Blip for you information and for the link, and thanks to everyone else for your help!

Also, for future reference, it doesn't matter if anyone else has nv goggles.

-Student Pilot

#Topic Solved