mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rewrite night vision documentation (#5715)
* First draft rewrite nightvision doc. * Minor phrasing fixes.
This commit is contained in:
parent
42cb8cab97
commit
82913af107
@ -1,24 +1,33 @@
|
||||
---
|
||||
layout: wiki
|
||||
title: Nightvision
|
||||
description: Different types of NVGs with different levels of quality.
|
||||
description: Adds realistic effects to NVGs.
|
||||
group: feature
|
||||
category: equipment
|
||||
parent: wiki
|
||||
mod: ace
|
||||
version:
|
||||
major: 3
|
||||
minor: 0
|
||||
minor: 12
|
||||
patch: 0
|
||||
---
|
||||
|
||||
<div class="panel callout">
|
||||
<h5>Note:</h5>
|
||||
<p>Changed in 3.12.0.</p>
|
||||
</div>
|
||||
|
||||
## 1. Overview
|
||||
|
||||
### 1.1 Multiple Generation NVGs
|
||||
Adds different night vision devices with varying image quality and field of view. New Classnames for Generations 1, 2, and 4 NVG's (default Arma 3 NVG's represents Generation 3) and a wide view NVG.
|
||||
This addon strives to simulate night vision devices more realistically.
|
||||
|
||||
### 1.2 Blending effects
|
||||
Adds a blending effect depending on ammunition type when firing while using a night vision device. Especially tracer rounds are bright, but you can use the IR-dim tracers from the Ballistics module to reduce tis effect.
|
||||
### 1.1 Nightvision effects
|
||||
|
||||
The addon will add effects to the player's night vision depending on ambient light and NVG configuration (mono-, bi-, quadocular).
|
||||
|
||||
### 1.2 Multiple Generation NVGs
|
||||
|
||||
Adds different night vision devices with varying image quality and field of view. New classnames for Generations 1, 2, and 4 NVG's (default Arma 3 NVG's represents Generation 3) and a wide view NVG.
|
||||
|
||||
### 1.3 Brightness adjustment
|
||||
Enables the user to manually adjust NVG brightness.
|
||||
|
@ -8,19 +8,37 @@ parent: wiki
|
||||
mod: ace
|
||||
version:
|
||||
major: 3
|
||||
minor: 0
|
||||
minor: 12
|
||||
patch: 0
|
||||
---
|
||||
|
||||
<div class="panel callout">
|
||||
<h5>Note:</h5>
|
||||
<p>Changed in 3.12.0.</p>
|
||||
</div>
|
||||
|
||||
## 1. Config Values
|
||||
|
||||
```cpp
|
||||
class CfgWeapons {
|
||||
class MyNightVision {
|
||||
displayName = "Banana NVGs"; // Name displayed in the inventory
|
||||
ace_nightVision_grain = 0.75; // Amount of grain (dots) on the screen (more means more grain) - can be higher than 1
|
||||
ace_nightVision_blur = 0.055; // Blur amount (more means more blur) - keep low values!
|
||||
ace_nightVision_radBlur = 0.001; // Radial blur amount (more means more blur) - keep low values!
|
||||
};
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user