mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added compat pbo for IanSkys "Scope Mod A3"
This commit is contained in:
parent
eaeb84f7c9
commit
b518313ad6
1
optionals/compat_sma3_iansky/$PBOPREFIX$
Normal file
1
optionals/compat_sma3_iansky/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\compat_sma3_iansky
|
19
optionals/compat_sma3_iansky/CfgWeapons.hpp
Normal file
19
optionals/compat_sma3_iansky/CfgWeapons.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
class CfgWeapons {
|
||||
class ItemCore;
|
||||
class InventoryOpticsItem_Base_F;
|
||||
|
||||
class iansky_nfbeast : ItemCore {
|
||||
ACE_ScopeAdjust_Vertical[] = { -0.9, 34 };
|
||||
ACE_ScopeAdjust_Horizontal[] = { -11, 11 };
|
||||
ACE_ScopeAdjust_Increment = 0.1; // Should be 0.2 mrad for elevation
|
||||
class ItemInfo : InventoryOpticsItem_Base_F {
|
||||
class OpticsModes {
|
||||
class NF25_MILDOT {
|
||||
discreteDistance[] = { 100 };
|
||||
discreteDistanceInitIndex = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
14
optionals/compat_sma3_iansky/config.cpp
Normal file
14
optionals/compat_sma3_iansky/config.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"iansky_opt"};
|
||||
author[]={"Ruthberg"};
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgWeapons.hpp"
|
5
optionals/compat_sma3_iansky/script_component.hpp
Normal file
5
optionals/compat_sma3_iansky/script_component.hpp
Normal file
@ -0,0 +1,5 @@
|
||||
#define COMPONENT sma3_iansky_comp
|
||||
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user