2015-01-16 12:15:14 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
class CfgPatches {
|
|
|
|
class ADDON {
|
|
|
|
units[] = {};
|
|
|
|
weapons[] = {};
|
2015-01-18 07:32:07 +00:00
|
|
|
requiredVersion = REQUIRED_VERSION;
|
2015-01-16 12:15:14 +00:00
|
|
|
requiredAddons[] = { "ace_main", "ace_common" };
|
|
|
|
author[] = {"KoffeinFlummi"};
|
|
|
|
authorUrl = "https://github.com/KoffeinFlummi";
|
2015-01-18 07:32:07 +00:00
|
|
|
VERSION_CONFIG;
|
2015-01-16 12:15:14 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
|
|
#include "CfgSounds.hpp"
|
|
|
|
#include "CfgWeapons.hpp"
|
|
|
|
|
|
|
|
class ACE_Default_Keys {
|
|
|
|
class adjustScopeUp {
|
|
|
|
displayName = "$STR_ACE_Scopes_AdjustUp";
|
2015-01-18 07:13:37 +00:00
|
|
|
condition = QUOTE([_player] call FUNC(inventoryCheck); [ARR_3(_player, 0, 0.1)] call FUNC(canAdjustScope););
|
|
|
|
statement = QUOTE([ARR_3(_player, 0, 0.1)] call FUNC(adjustScope););
|
2015-01-16 12:15:14 +00:00
|
|
|
allowHolding = 1;
|
|
|
|
key = 201;
|
|
|
|
shift = 0;
|
|
|
|
control = 0;
|
|
|
|
alt = 0;
|
|
|
|
};
|
|
|
|
class adjustScopeDown: adjustScopeUp {
|
|
|
|
displayName = "$STR_ACE_Scopes_AdjustDown";
|
2015-01-18 07:13:37 +00:00
|
|
|
condition = QUOTE([_player] call FUNC(inventoryCheck); [ARR_3(_player, 0, -0.1)] call FUNC(canAdjustScope););
|
|
|
|
statement = QUOTE([ARR_3(_player, 0, -0.1)] call FUNC(adjustScope););
|
2015-01-16 12:15:14 +00:00
|
|
|
key = 209;
|
|
|
|
};
|
|
|
|
class adjustScopeLeft: adjustScopeUp {
|
|
|
|
displayName = "$STR_ACE_Scopes_AdjustLeft";
|
2015-01-18 07:13:37 +00:00
|
|
|
condition = QUOTE([_player] call FUNC(inventoryCheck); [ARR_3(_player, -0.1, 0)] call FUNC(canAdjustScope););
|
|
|
|
statement = QUOTE([ARR_3(_player, -0.1, 0)] call FUNC(adjustScope););
|
2015-01-16 12:15:14 +00:00
|
|
|
key = 209;
|
|
|
|
control = 1;
|
|
|
|
};
|
|
|
|
class adjustScopeRight: adjustScopeLeft {
|
|
|
|
displayName = "$STR_ACE_Scopes_AdjustRight";
|
2015-01-18 07:13:37 +00:00
|
|
|
condition = QUOTE([_player] call FUNC(inventoryCheck); [ARR_3(_player, 0.1, 0)] call FUNC(canAdjustScope););
|
|
|
|
statement = QUOTE([ARR_3(_player, 0.1, 0)] call FUNC(adjustScope););
|
2015-01-16 12:15:14 +00:00
|
|
|
key = 201;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "RscTitles.hpp"
|