diff --git a/addons/compat_rf/config.cpp b/addons/compat_rf/config.cpp index d471087..b55b73e 100644 --- a/addons/compat_rf/config.cpp +++ b/addons/compat_rf/config.cpp @@ -8,7 +8,6 @@ class CfgPatches { requiredVersion = REQUIRED_VERSION; requiredAddons[] = { "tacgt_main", - "tacgt_supplies", "RF_Weapons_Launchers_PSRL1" }; skipWhenMissingDependencies = 1; @@ -20,4 +19,3 @@ class CfgPatches { }; #include "CfgWeapons.hpp" -#include "CfgVehicles.hpp" diff --git a/addons/compat_rf/CfgVehicles.hpp b/addons/supplies/rf/CfgVehicles.hpp similarity index 100% rename from addons/compat_rf/CfgVehicles.hpp rename to addons/supplies/rf/CfgVehicles.hpp diff --git a/addons/supplies/rf/config.cpp b/addons/supplies/rf/config.cpp new file mode 100644 index 0000000..0183093 --- /dev/null +++ b/addons/supplies/rf/config.cpp @@ -0,0 +1,23 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = { + "tacgt_main", + "tacgt_supplies", + "RF_Weapons_Launchers_PSRL1", + "CUP_Weapons_LoadOrder" + }; + skipWhenMissingDependencies = 1; + author = ECSTRING(main,Author); + authors[] = {"Mike"}; + url = ECSTRING(main,URL); + VERSION_CONFIG; + }; +}; + +#include "CfgVehicles.hpp" diff --git a/addons/supplies/rf/script_component.hpp b/addons/supplies/rf/script_component.hpp new file mode 100644 index 0000000..d850029 --- /dev/null +++ b/addons/supplies/rf/script_component.hpp @@ -0,0 +1,4 @@ +#define COMPONENT supplies_rf +#define COMPONENT_BEAUTIFIED Supplies RF +#include "\x\tacgt\addons\main\script_mod.hpp" +#include "\x\tacgt\addons\main\script_macros.hpp"