mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a7d8c3eb3a
* Move SOG compat to addons/ * Set component to skip loading when SOG not present * Use skipWhenMissingDependencies for GRAD Trenches compatiblity * Tools - Add SOG dlc launch config * move trenches to sub config, handle grad with 2nd subconfig * fix `Land_vn_b_prop_fueldrum_01` UBC * use ifndef --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
70 lines
1.8 KiB
C++
70 lines
1.8 KiB
C++
#include "script_component.hpp"
|
|
|
|
#if __has_include("\vn\weapons_f_vietnam\config.bin")
|
|
#else
|
|
#define PATCH_SKIP "SOG-Vietnam"
|
|
#endif
|
|
|
|
#ifdef PATCH_SKIP
|
|
ACE_PATCH_NOT_LOADED(ADDON,PATCH_SKIP)
|
|
#else
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
name = COMPONENT_NAME;
|
|
units[] = {
|
|
QGVAR(box_81mm_he),
|
|
QGVAR(box_81mm_wp),
|
|
QGVAR(box_81mm_chem),
|
|
QGVAR(box_81mm_lume),
|
|
QGVAR(box_60mm_he),
|
|
QGVAR(box_60mm_wp),
|
|
QGVAR(box_60mm_lume),
|
|
QGVAR(box_82mm_he),
|
|
QGVAR(box_82mm_wp),
|
|
QGVAR(box_82mm_lume)
|
|
};
|
|
weapons[] = {
|
|
QGVAR(m2_carry),
|
|
QGVAR(m1919a4_carry),
|
|
QGVAR(m1919a6_carry),
|
|
QGVAR(m60_carry),
|
|
QGVAR(tow_carry),
|
|
QGVAR(dshkm_carry),
|
|
QGVAR(dshkm_shield_carry),
|
|
QGVAR(dshkm_AA_carry),
|
|
QGVAR(rpd_carry),
|
|
QGVAR(pk_carry),
|
|
QGVAR(mg42_carry),
|
|
QGVAR(sgm_carry),
|
|
QGVAR(sgm_shield_carry),
|
|
QGVAR(mk18_carry),
|
|
QGVAR(mortar_m29_carry),
|
|
QGVAR(mortar_m2_carry),
|
|
QGVAR(mortar_type53_carry)
|
|
};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {
|
|
"loadorder_f_vietnam"
|
|
};
|
|
skipWhenMissingDependencies = 1;
|
|
author = ECSTRING(common,ACETeam);
|
|
authors[] = {"BaerMitUmlaut", "veteran29"};
|
|
url = ECSTRING(main,URL);
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "ACE_CSW_Groups.hpp"
|
|
#include "ACE_Medical_Injuries.hpp"
|
|
#include "ACE_Triggers.hpp"
|
|
#include "CfgAmmo.hpp"
|
|
#include "CfgEventHandlers.hpp"
|
|
#include "CfgGlasses.hpp"
|
|
#include "CfgMagazines.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "CfgWeapons.hpp"
|
|
#include "EMM_mainMenu_CfgMenus.hpp"
|
|
|
|
#endif
|