ACE3/docs/wiki/framework/nightvision-framework.md
Mike-MF 262b7fe5c6
Night Vision - Add prefix to colorPreset (#9520)
* Add ACE Prefix to colorPreset, update docs.

* remove pointless bwc
2023-10-18 15:03:21 -04:00

1.2 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
major minor patch
3 12 0
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)";
      ace_nightvision_border = QPATHTOF(data\nvg_mask_binos_4096.paa); // Edge mask for different tube configurations. Three types: mono, bino and quad.
      ace_nightvision_bluRadius = 0.13; // Edge blur radius.
      ace_nightvision_colorPreset[] = {0, {0.0, 0.0, 0.0, 0.0}, {1.3, 1.2, 0.0, 0.9}, {6, 1, 1, 0.0}}; // Green preset
      ace_nightvision_eyeCups = 1; // Does have eyecups.
      ace_nightvision_generation = 4; // Generation 4. Affects image quality.
  };
};

2. Color Presets

Additional color presets

ace_nightvision_colorPreset[] = {0.0, {0.0, 0.0, 0.0, 0.0}, {1.1, 0.8, 1.9, 0.9}, {1, 1, 6, 0.0}}; // White Phosphor Preset