mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
82913af107
* First draft rewrite nightvision doc. * Minor phrasing fixes.
1.1 KiB
1.1 KiB
layout | title | description | group | order | parent | mod | version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wiki | Night Vision Framework | Explains how to set-up night vision goggles with ACE3 night vision system. | framework | 5 | wiki | ace |
|
Note:
Changed in 3.12.0.
1. Config Values
class CfgWeapons {
class myNightVision: NVGoggles {
scope = 1;
modelOptics = "";
author = ECSTRING(common,ACETeam);
descriptionShort = "Biocular nightvision goggles";
displayName = "NV Goggles (Bio)";
GVAR(border) = QPATHTOF(data\nvg_mask_binos_4096.paa); // Edge mask for different tube configurations. Three types: mono, bino and quad.
GVAR(bluRadius) = 0.13; // Edge blur radius.
GVAR(eyeCups) = 1; // Does have eyecups.
GVAR(generation) = 4; // Generation 4. Affects image quality.
};
};
2. Events
To change night vision settings with code use:
ace_nightvision_fogScaling = 0.5;
// More is more fog.
ace_nightvision_effectScaling = 0.5;
// More is more apparent effects.