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

ACE Nightvision - FogScaling can be exploited to see through fog with NVG #9938

Open
OverlordZorn opened this issue Apr 7, 2024 · 2 comments
Labels
Milestone

Comments

@OverlordZorn
Copy link
Contributor

Mods (complete and add to the following information):

  • Arma 3: 2.16 [e.g. 1.00 stable, rc, dev]
  • CBA: 3.x17.0 [e.g. 3.0.0 stable, commit hash]
  • ACE3: 3.17.0 [e.g. 3.0.0 stable, commit hash]

Description:
When the Mission is set during a High Fog Scenario while night time, players will see further when using NVG's due to ACE Nightvision's FogScaling. Changing the Values doesnt make a difference, especially on elevated terrain (tested on 800m ASL).

Also, when testing, i noticed that Fog Scaling doesn't take FogParams into account, meaning the fogBase remains at sealevel.

Since NVG dont see through FOG, (at least, as far as i know), they should ether not affect the fog at all, or at most, worsen the visibility.

Expected behavior:
1) Ability to Disable Fog Scaling! FogScaling of 0.0 seems to be turning the effect off and retain previous FogParams.
2) Adaptation setFog usage. Take previous FogParams into account.

idk if its better to just "multiply the current fog setting" or if its more desired to say "if the fog is further away then the expected fog scaling, then apply fog scaling" and "if the fog is already closer then fog scaling, have the current fog persist."

Where did the issue occur?
Editor (Singleplayer)

Screenshots:
FOG w/o NVG:
107410_20240407201956_1

Fog w/ NVG - NVG Fog Scaling: 2.0
107410_20240407202005_1

Fog w/ NVG - NVG Fog Scaling: 1.0
107410_20240407202034_1

Fog w/ NVG - NVG Fog Scaling: 0.1
107410_20240407202136_1

Fog w/ NVG - NVG Fog Scaling: 0.0
107410_20240407202109_1

@LinkIsGrim LinkIsGrim modified the milestones: Backlog, Ongoing Apr 7, 2024
@OverlordZorn
Copy link
Contributor Author

Tested on Altis near Sea Level:
107410_20240407202817_1

Fog Scaling: 0.1
107410_20240407202851_1

Fog Scaling: 1.0
107410_20240407202947_1

Fog Scaling: 2.0
107410_20240407203016_1

@OverlordZorn
Copy link
Contributor Author

OverlordZorn commented Apr 7, 2024

Values on the left are FogParams and Height ASL of Player.

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

No branches or pull requests

2 participants