Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Decreased range at night #54

Open
BrettMayson opened this issue Mar 1, 2019 · 6 comments
Open

Feature - Decreased range at night #54

BrettMayson opened this issue Mar 1, 2019 · 6 comments

Comments

@BrettMayson
Copy link
Contributor

BrettMayson commented Mar 1, 2019

Ability to reduce the range as it gets darker

@diwako
Copy link
Owner

diwako commented Mar 1, 2019

For this I would just look for the current ambient light of the world. That means ignoring flashlights, lamps or other light sources that are not the sun or moon. That would mean something like 0 for total darkness and 1 for full daylight. (Maybe get overcast into that as well?)

As settings I would suggest just a slider (0 to 1) to set the minimal possible darkness modifier. Meaning if it is set to 1, that feature will basically do nothing, if it is set to 0 it does full effect on it and at night you will notice the difference.
Something like 0.5 means, you cannot be affected for half the range or below.

How does that sound?

@Quailsnap
Copy link

Not OP -- but that sounds good to me! I've personally been trying to find some performant way to at the very least "reveal" people if you are personally pointing a flashlight beam at them, and if I find that I may post it here as well.

@diwako
Copy link
Owner

diwako commented Oct 1, 2020

Update on this. Feature is planned, waiting for Arma v2.00 release to implement.

@Quailsnap
Copy link

As in goals for DUI v2, or...

... Or "Arma 3 v2???"

@diwako
Copy link
Owner

diwako commented Oct 1, 2020

As it looks like right now, DUI v1.8.0 might be released before the Arma v2.0.0 release. Then with Arma v2.0.0 we will add stuff with the getLightingAt into the next DUI update

@Quailsnap
Copy link

There's gonna be a getLightingAt FUNCTION?!!!!!
https://media1.tenor.com/images/2632080820083740352fec68b34f7ff0/tenor.gif?itemid=5821984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants