mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #2211 from jonpas/integrateAsdg
Integrated ASDG JR Optional
This commit is contained in:
commit
5ea98143e2
8
addons/laserpointer/CfgJointRails.hpp
Normal file
8
addons/laserpointer/CfgJointRails.hpp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
class asdg_SlotInfo;
|
||||||
|
class asdg_FrontSideRail: asdg_SlotInfo {
|
||||||
|
class compatibleItems {
|
||||||
|
ACE_acc_pointer_red = 1;
|
||||||
|
ACE_acc_pointer_green = 1;
|
||||||
|
ACE_acc_pointer_green_IR = 1;
|
||||||
|
};
|
||||||
|
};
|
@ -16,3 +16,4 @@ class CfgPatches {
|
|||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
#include "CfgWeapons.hpp"
|
#include "CfgWeapons.hpp"
|
||||||
|
#include "CfgJointRails.hpp"
|
||||||
|
@ -541,7 +541,7 @@ class CfgPatches {
|
|||||||
"a3_weapons_f_vests",
|
"a3_weapons_f_vests",
|
||||||
"a3data",
|
"a3data",
|
||||||
"map_vr",
|
"map_vr",
|
||||||
"extended_eventhandlers", "CBA_UI", "CBA_XEH", "CBA_XEH_A3"
|
"extended_eventhandlers", "cba_ui", "cba_xeh", "cba_xeh_a3", "cba_jr"
|
||||||
};
|
};
|
||||||
author[] = {"ACE Team"};
|
author[] = {"ACE Team"};
|
||||||
authorUrl = "";
|
authorUrl = "";
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
class Extended_PreInit_EventHandlers {
|
class Extended_PreInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||||
|
15
addons/optics/CfgJointRails.hpp
Normal file
15
addons/optics/CfgJointRails.hpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
class asdg_OpticRail;
|
||||||
|
class asdg_OpticRail1913: asdg_OpticRail {
|
||||||
|
class compatibleItems {
|
||||||
|
ACE_optic_Hamr_2D = 1;
|
||||||
|
ACE_optic_Hamr_PIP = 1;
|
||||||
|
ACE_optic_Arco_2D = 1;
|
||||||
|
ACE_optic_Arco_PIP = 1;
|
||||||
|
ACE_optic_MRCO_2D = 1;
|
||||||
|
ACE_optic_MRCO_PIP = 1;
|
||||||
|
ACE_optic_SOS_2D = 1;
|
||||||
|
ACE_optic_SOS_PIP = 1;
|
||||||
|
ACE_optic_LRPS_2D = 1;
|
||||||
|
ACE_optic_LRPS_PIP = 1;
|
||||||
|
};
|
||||||
|
};
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
class CfgOpticsEffect {
|
class CfgOpticsEffect {
|
||||||
class ACE_OpticsRadBlur1 {
|
class ACE_OpticsRadBlur1 {
|
||||||
type = "radialblur";
|
type = "radialblur";
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#define MACRO_PRELOAD \
|
#define MACRO_PRELOAD \
|
||||||
GVAR(BodyDay) = "*"; \
|
GVAR(BodyDay) = "*"; \
|
||||||
GVAR(BodyNight) = "*"; \
|
GVAR(BodyNight) = "*"; \
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
class RscOpticsValue;
|
class RscOpticsValue;
|
||||||
class RscMapControl;
|
class RscMapControl;
|
||||||
class RscText;
|
class RscText;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
class CfgVehicles {
|
class CfgVehicles {
|
||||||
class Box_NATO_Support_F;
|
class Box_NATO_Support_F;
|
||||||
class ACE_Box_Misc: Box_NATO_Support_F {
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
class CfgWeapons {
|
class CfgWeapons {
|
||||||
class ItemCore;
|
class ItemCore;
|
||||||
class InventoryOpticsItem_Base_F;
|
class InventoryOpticsItem_Base_F;
|
||||||
@ -8,7 +7,7 @@ class CfgWeapons {
|
|||||||
forceOptics = 0; // Allow using compass with Binocular
|
forceOptics = 0; // Allow using compass with Binocular
|
||||||
opticsZoomMin = 0.056889; // 5.25x power
|
opticsZoomMin = 0.056889; // 5.25x power
|
||||||
opticsZoomMax = 0.056889; // 9 px/mil
|
opticsZoomMax = 0.056889; // 9 px/mil
|
||||||
modelOptics = "\z\ace\addons\optics\models\NWD_M22_5x"; // 7° horizontal field of view
|
modelOptics = "\z\ace\addons\optics\models\NWD_M22_5x"; // 7 degrees horizontal field of view
|
||||||
visionMode[] = {"Normal"}; // Can't use nvgs with binoculars any more than you can with scopes
|
visionMode[] = {"Normal"}; // Can't use nvgs with binoculars any more than you can with scopes
|
||||||
// Fix AI using Binocs on short range - #18737
|
// Fix AI using Binocs on short range - #18737
|
||||||
// minRange = 300; // 300 = uses Rangefinder often (runs a few meters, stops, uses RF, repeats)
|
// minRange = 300; // 300 = uses Rangefinder often (runs a few meters, stops, uses RF, repeats)
|
||||||
|
@ -30,5 +30,6 @@ class CfgPatches {
|
|||||||
#include "CfgRscTitles.hpp"
|
#include "CfgRscTitles.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
#include "CfgWeapons.hpp"
|
#include "CfgWeapons.hpp"
|
||||||
|
#include "CfgJointRails.hpp"
|
||||||
|
|
||||||
#include "CfgPreloadTextures.hpp"
|
#include "CfgPreloadTextures.hpp"
|
||||||
|
@ -1 +0,0 @@
|
|||||||
z\ace\addons\compat_asdg
|
|
@ -1,38 +0,0 @@
|
|||||||
#include "script_component.hpp"
|
|
||||||
|
|
||||||
class CfgPatches {
|
|
||||||
class ADDON {
|
|
||||||
units[] = {};
|
|
||||||
weapons[] = {};
|
|
||||||
requiredVersion = REQUIRED_VERSION;
|
|
||||||
requiredAddons[] = {"asdg_jointrails","ace_laserpointer","ace_optics"};
|
|
||||||
author[]={"OnkelDisMaster"};
|
|
||||||
authorUrl = "http://2.xn--gebirgsjgerkompanie-nwb.de/";
|
|
||||||
VERSION_CONFIG;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
class asdg_SlotInfo;
|
|
||||||
class asdg_FrontSideRail: asdg_SlotInfo {
|
|
||||||
class compatibleItems {
|
|
||||||
ACE_acc_pointer_red = 1;
|
|
||||||
ACE_acc_pointer_green = 1;
|
|
||||||
ACE_acc_pointer_green_IR = 1;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
class asdg_OpticRail;
|
|
||||||
class asdg_OpticRail1913: asdg_OpticRail {
|
|
||||||
class compatibleItems {
|
|
||||||
ACE_optic_Hamr_2D = 1;
|
|
||||||
ACE_optic_Hamr_PIP = 1;
|
|
||||||
ACE_optic_Arco_2D = 1;
|
|
||||||
ACE_optic_Arco_PIP = 1;
|
|
||||||
ACE_optic_MRCO_2D = 1;
|
|
||||||
ACE_optic_MRCO_PIP = 1;
|
|
||||||
ACE_optic_SOS_2D = 1;
|
|
||||||
ACE_optic_SOS_PIP = 1;
|
|
||||||
ACE_optic_LRPS_2D = 1;
|
|
||||||
ACE_optic_LRPS_PIP = 1;
|
|
||||||
};
|
|
||||||
};
|
|
@ -1,5 +0,0 @@
|
|||||||
#define COMPONENT asdg_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