2015-01-14 06:24:17 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
class CfgPatches {
|
|
|
|
class ADDON {
|
|
|
|
units[] = {"AGM_Item_Vector"};
|
|
|
|
weapons[] = {"AGM_Vector"};
|
|
|
|
requiredVersion = REQUIRED_VERSION;
|
|
|
|
requiredAddons[] = {"ace_common"};
|
|
|
|
author[] = {"Ghost","Hamburger SV","commy2","bux578"};
|
|
|
|
authorUrl = "https://github.com/commy2/";
|
|
|
|
VERSION_CONFIG;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
|
|
#include "CfgVehicles.hpp"
|
|
|
|
#include "CfgWeapons.hpp"
|
|
|
|
|
2015-01-15 06:18:57 +00:00
|
|
|
class ACE_Default_Keys {
|
2015-01-14 06:24:17 +00:00
|
|
|
class vectorAzimuth {
|
2015-01-15 06:18:57 +00:00
|
|
|
displayName = "$STR_ACE_Vector_AzimuthKey";
|
|
|
|
condition = QUOTE(currentWeapon player == 'ACE_Vector' && {_vehicle == player} && {cameraView == 'GUNNER'});
|
|
|
|
statement = QUOTE(['azimuth'] call FUNC(onKeyDown));
|
|
|
|
conditionUp = QUOTE(true);
|
|
|
|
statementUp = QUOTE(['azimuth'] call FUNC(onKeyUp));
|
2015-01-14 06:24:17 +00:00
|
|
|
key = 15;
|
|
|
|
shift = 0;
|
|
|
|
control = 0;
|
|
|
|
alt = 0;
|
|
|
|
};
|
2015-01-15 06:18:57 +00:00
|
|
|
|
2015-01-14 06:24:17 +00:00
|
|
|
class vectorDistance {
|
2015-01-15 06:18:57 +00:00
|
|
|
displayName = "$STR_ACE_Vector_DistanceKey";
|
|
|
|
condition = QUOTE(currentWeapon player == 'ACE_Vector' && {_vehicle == player} && {cameraView == 'GUNNER'});
|
|
|
|
statement = QUOTE(['distance'] call FUNC(onKeyDown));
|
|
|
|
conditionUp = QUOTE(true);
|
|
|
|
statementUp = QUOTE(['distance'] call FUNC(onKeyUp));
|
2015-01-14 06:24:17 +00:00
|
|
|
key = 19;
|
|
|
|
shift = 0;
|
|
|
|
control = 0;
|
|
|
|
alt = 0;
|
|
|
|
};
|
2015-01-15 06:18:57 +00:00
|
|
|
};
|
2015-01-14 06:24:17 +00:00
|
|
|
|
|
|
|
#include "RscInGameUI.hpp"
|