diff --git a/addons/compatibility/global_mobilization/CfgAmmo.hpp b/addons/compatibility/global_mobilization/CfgAmmo.hpp new file mode 100644 index 0000000..038a260 --- /dev/null +++ b/addons/compatibility/global_mobilization/CfgAmmo.hpp @@ -0,0 +1,15 @@ + +class CfgAmmo { + /* + Reference: + B_30mm_APFSDS_Tracer_Green + aiAmmoUsageFlags = "128 + 512"; + caliber = 6; + hit = 120; + */ + class gm_bullet_23x152mm_base; + class gm_bullet_23x152mm_API_T_BZT: gm_bullet_23x152mm_base { + caliber = 6; // 3.80952 + hit = 80; // 52.47; + }; +}; diff --git a/addons/compatibility/global_mobilization/config.cpp b/addons/compatibility/global_mobilization/config.cpp new file mode 100644 index 0000000..6d83a77 --- /dev/null +++ b/addons/compatibility/global_mobilization/config.cpp @@ -0,0 +1,19 @@ +#include "script_component.hpp" + +class CfgPatches { + class SUBADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = { + "gm_weapons_ammo" + }; + skipWhenMissingDependencies = 1; + author = "ArmaForces"; + authors[] = {"veteran29"}; + VERSION_CONFIG; + }; +}; + +#include "CfgAmmo.hpp" diff --git a/addons/compatibility/global_mobilization/script_component.hpp b/addons/compatibility/global_mobilization/script_component.hpp new file mode 100644 index 0000000..b76a337 --- /dev/null +++ b/addons/compatibility/global_mobilization/script_component.hpp @@ -0,0 +1,2 @@ +#define SUBCOMPONENT global_mobilization +#include "..\script_component.hpp"