Home   Help Search Login Register  

Author Topic: IR Firefly  (Read 999 times)

0 Members and 1 Guest are viewing this topic.

DBR_ONIX

  • Guest
IR Firefly
« on: 23 Nov 2003, 14:12:31 »
Hello
Is it possible to have a light that is only visable though the NVGs?
There are a few things I would use it for (Making air strikes, also, in a mission I'm making, to make a training sniper target easier to find)

I don't know if this is possible...?
- Ben

m21man

  • Guest
Re:IR Firefly
« Reply #1 on: 23 Nov 2003, 18:01:32 »
It could probably be done if the unit had animated NVGs (e.g. BAS SOAR pilots). I don't think you can do this with the BIS NV goggles.

HuNtA

  • Guest
Re:IR Firefly
« Reply #2 on: 24 Nov 2003, 16:51:18 »
could be done. Try this (hasnt been tested and some of the commands are prolly wrong, will amend and then send to OFPEC)

make a trigger that has the condition player hasWeapon "NVGoggles"

then in on activation say player addAction ["Turn on NV","NVlight.sqs"]

then make this into the script:

player action "action for putting on NV goggles"
light = "fire" camcreate getPos gamelogic
light inflame true

try that

DBR_ONIX

  • Guest
Re:IR Firefly
« Reply #3 on: 24 Nov 2003, 18:07:45 »
Thanks.. I'll try that..
Only prob is that ever people with out NVG could see it.. But as its a single player, it shouldn't matter..

Thanks
- Ben

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:IR Firefly
« Reply #4 on: 25 Nov 2003, 22:13:41 »
Quote
It could probably be done if the unit had animated NVGs (e.g. BAS SOAR pilots). I don't think you can do this with the BIS NV goggles.


What is the diff between BAS nvg's and BIS nvg's, aside from the fact that they are animated? How do you think it could be done?

Quote
make a trigger that has the condition player hasWeapon "NVGoggles"

then in on activation say player addAction ["Turn on NV","NVlight.sqs"]

then make this into the script:

player action "action for putting on NV goggles"
light = "fire" camcreate getPos gamelogic
light inflame true

Problem there is that (a) the player still has the "regular" action for turning on his NVG's, and (b) even if you could turn his nvg's on via scripting (which I'm not sure how to do) he could just turn them off again, and be staring at a normal fire.

----------

I've wondered this same thing myself, and I think it may, almost maybe be possible, but I think you would have to make a custom addon to do it. I say that because there seems to be a difference in contrast with NVG's on, so I think it is something more than just a green overlay. Maybe a nearly-transparent texture could be more visible thru NVGs? It's possible too that NVGs just make everything look like daytime-level contrast with the green overlay; which would make my texture I'm thinking about visible during the day as well...
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

DBR_ONIX

  • Guest
Re:IR Firefly
« Reply #5 on: 26 Nov 2003, 21:22:10 »
Some good points...
That idea about the new addon is an intresting one...
Any one think it's possible...?
It would take a fair bit of experimenting, to get it right.. But would be useful :)
- Ben