ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Port of AGM's night vision brightness adjustment is worse than CSE's implementation

Open ShocknAw3 opened this issue 11 years ago • 6 comments

ACE3 Version: 3.0.1

Mods:

  • @cba_a3
  • @ace3

Placed ACE3 Modules: none

Description: Adjusting the brightness of the night vision in its current form is useless. Every setting that deviates from zero gives you a worse image. CSE pulled this off much better. Is it possible to port over CSE's solution instead, seeing as this is a merger between those mods?

Steps to reproduce:

  1. Equip night vision
  2. Adjust brightness using alt + page up and alt + page down

Where did the issue occur? Tested in editor preview.

RPT log file: n/a

ShocknAw3 avatar May 23 '15 21:05 ShocknAw3

@Glowbal, we were never satisfied with agm's solution, but we couldn't get it to work better; how did CSE did it?

nicolasbadano avatar May 26 '15 19:05 nicolasbadano

Someone was telling me we should look into using setAperture, but I haven't had much luck getting any good effects with it yet.

PabstMirror avatar May 26 '15 19:05 PabstMirror

I tried that too once without success

nicolasbadano avatar May 26 '15 19:05 nicolasbadano

CSE:

_ppEffect_NVGAdjustBrightness ppEffectAdjust [1, _newBrightness, 0, [0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 1]];

ACE:

GVAR(ppEffectNVGBrightness) ppEffectAdjust [1, 1, _brightness / 4, [0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 1]];

thojkooi avatar May 26 '15 20:05 thojkooi

I first used setAperture but I only got horrible results with it.

thojkooi avatar May 26 '15 20:05 thojkooi

Well, simple enough. Definitely worth trying. If someone does, please make some screenshots for comparison.

nicolasbadano avatar May 26 '15 20:05 nicolasbadano