ACE3/addons/compat_csla/compat_csla_explosives/config.cpp
Björn Dahlgren 1a3bce1a23
Add compatibility mod for CSLA CDLC (#8839)
* Add compatibility mod for CSLA CDLC

* Fix syntax issue

* Add open bolt property to machine guns

* Move to addons and update UBC

* Update addon.toml

* Update addons/compat_csla/CfgWeapons.hpp

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* Update addons/compat_csla/CfgMagazines.hpp

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* split explosives to sub config

* ifndef

* reduce range on stinger backblast (is soft-launch)

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2023-09-03 11:31:26 -05:00

38 lines
872 B
C++

#include "script_component.hpp"
#if __has_include("\csla_cfg\config.bin")
#else
#define PATCH_SKIP "CSLA - Iron Curtain"
#endif
#if __has_include("\z\ace\addons\explosives\script_component.hpp")
#else
#ifndef PATCH_SKIP
#define PATCH_SKIP "ACE Explosives"
#endif
#endif
#ifdef PATCH_SKIP
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
#else
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_explosives", "CSLA", "US85"};
skipWhenMissingDependencies = 1; // drop __has_include and addon.toml after 2.14
author = ECSTRING(common,ACETeam);
authors[] = {"Dahlgren"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};
#include "CfgMagazines.hpp"
#include "CfgVehicles.hpp"
#endif