2015-01-12 22:08:37 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
class CfgPatches {
|
|
|
|
class ADDON {
|
|
|
|
units[] = {};
|
|
|
|
weapons[] = {"ACE_NVG_Gen1", "ACE_NVG_Gen2", /*"ACE_NVG_Gen3",*/ "ACE_NVG_Gen4", "ACE_NVG_Wide"};
|
|
|
|
requiredVersion = 0.60;
|
|
|
|
requiredAddons[] = {"ace_common"};
|
|
|
|
author[] = {"commy2", "KoffeinFlummi", "PabstMirror"};
|
|
|
|
authorUrl = "https://github.com/commy2/";
|
|
|
|
VERSION_CONFIG;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
|
|
#include "CfgVehicles.hpp"
|
2015-01-12 22:53:19 +00:00
|
|
|
#include "CfgWeapons.hpp"
|
2015-01-12 22:08:37 +00:00
|
|
|
|
2015-01-13 05:29:40 +00:00
|
|
|
|
|
|
|
// class EGVAR(common,Default_Keys) { //???
|
|
|
|
class ACE_common_Default_Keys {
|
2015-01-12 22:08:37 +00:00
|
|
|
class increaseNVGBrightness {
|
|
|
|
displayName = "$STR_ACE_NightVision_IncreaseNVGBrightness";
|
|
|
|
condition = QUOTE( currentVisionMode _player == 1 );
|
|
|
|
statement = QUOTE( [_player, _vehicle] call FUNC(increaseNVGBrightness) );
|
|
|
|
key = 201;
|
|
|
|
shift = 0;
|
|
|
|
control = 0;
|
|
|
|
alt = 1;
|
|
|
|
allowHolding = 1;
|
|
|
|
};
|
|
|
|
class decreaseNVGBrightness {
|
|
|
|
displayName = "$STR_ACE_NightVision_DecreaseNVGBrightness";
|
|
|
|
condition = QUOTE( currentVisionMode _player == 1 );
|
|
|
|
statement = QUOTE( [_player, _vehicle] call FUNC(decreaseNVGBrightness) );
|
|
|
|
key = 209;
|
|
|
|
shift = 0;
|
|
|
|
control = 0;
|
|
|
|
alt = 1;
|
|
|
|
allowHolding = 1;
|
|
|
|
};
|
|
|
|
};
|