Home   Help Search Login Register  

Author Topic: Fixed NVGs script?  (Read 1052 times)

0 Members and 1 Guest are viewing this topic.

Laser

  • Guest
Fixed NVGs script?
« on: 15 Jun 2004, 19:00:34 »
OK, here's what i'd like to find out: is it possible to script an option for a fixed NVG (mounted on helmet like that's done on BAS SOAR) to automatically lower when the darkness falls and to be automatically raised in the morning, so the AI units would be able to auto lower/raise the NVG's? Thanks in advance.

Dubieman

  • Guest
Re:Fixed NVGs script?
« Reply #1 on: 16 Jun 2004, 02:50:57 »
I believe that they already do that. Once night falls they put them on and once its light out they take them off.

Or are you askin to have them permanatly on the helmet, it just raises up when not in use? :P

Laser

  • Guest
Re:Fixed NVGs script?
« Reply #2 on: 16 Jun 2004, 09:48:30 »
I believe that they already do that. Once night falls they put them on and once its light out they take them off.

Or are you askin to have them permanatly on the helmet, it just raises up when not in use? :P

Yeah, i mean exactly that. Fixed helmet mounted NVGs.

Dubieman

  • Guest
Re:Fixed NVGs script?
« Reply #3 on: 16 Jun 2004, 17:34:44 »
Well I can't help you there since I have no knowledge of advanced scripting or addons. But wouldn't this be an addon? You'd need a new helmet model or something.....

OrangeLeader

  • Guest
Re:Fixed NVGs script?
« Reply #4 on: 16 Jun 2004, 20:09:23 »
not an addon a script. Laser wants the current NVG to stay down. You can do this by finding the varibale that checks if the AI charater needs that googles on or not and set it to stay true always.

I was wondering why you needed this? In night battles I don't really notice if NVG are on or not. The comabt is happening so fast.

Homefry31464

  • Guest
Re:Fixed NVGs script?
« Reply #5 on: 16 Jun 2004, 20:26:54 »
There is a command, daytime, which may be what you are looking for....Then just determine what time it is, and if it is the right time, then go ahead and run the animation to lower the goggles.

Laser

  • Guest
Re:Fixed NVGs script?
« Reply #6 on: 18 Jun 2004, 18:02:26 »
There is a command, daytime, which may be what you are looking for....Then just determine what time it is, and if it is the right time, then go ahead and run the animation to lower the goggles.

Yes, this might help... but how can one accomplish this via, say, an eventhandler? I'm no decent scripter by any means, so can anyone finally help me with this?