Updated NVG-framework

This commit is contained in:
jonpas 2015-08-25 03:35:58 +02:00
parent bf1c77fcb4
commit a7ba540b97

View File

@ -1,24 +1,21 @@
---
layout: wiki
title: nightvision framework
description:
title: Night Vision Framework
description: Explains how to set-up night vision goggles with ACE3 night vision system.
group: framework
order: 5
parent: wiki
---
## 1. Configuring your NVGs
## 1. Config Values
```c++
class CfgWeapons {
class Binocular;
class your_nvgs: Binocular {
displayName = "your nvg"; // name displayed in the inventory
ACE_NightVision_grain = 0.75; // amount of grain (dots) on the screen (0= less)
ACE_NightVision_blur = 0.055; // blur amount, (0= less) keep low
ACE_NightVision_radBlur = 0.001; // radial blur amount (0=less) keep low
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!
};
};
```
- There's no escape here, you'll have to fiddle with the values to find the value that please you.
- `ACE_NightVision_grain` can be higher than 1, it's on 2.25 for gen1 goggles for example.