diff --git a/addons/compatibility/map_esseker/CfgWorlds.hpp b/addons/compatibility/map_esseker/CfgWorlds.hpp new file mode 100644 index 0000000..82e7eae --- /dev/null +++ b/addons/compatibility/map_esseker/CfgWorlds.hpp @@ -0,0 +1,11 @@ +class CfgWorlds { + class CAWorld; + class Stratis: CAWorld { + class Grid; + }; + class Esseker: Stratis { + class Grid: Grid { + offsetY = 12288; + }; + }; +}; diff --git a/addons/compatibility/map_esseker/config.cpp b/addons/compatibility/map_esseker/config.cpp new file mode 100644 index 0000000..e00dfa2 --- /dev/null +++ b/addons/compatibility/map_esseker/config.cpp @@ -0,0 +1,19 @@ +#include "script_component.hpp" + +class CfgPatches { + class SUBADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = { + "Esseker" + }; + skipWhenMissingDependencies = 1; + author = "ArmaForces"; + authors[] = {"veteran29"}; + VERSION_CONFIG; + }; +}; + +#include "CfgWorlds.hpp" diff --git a/addons/compatibility/map_esseker/script_component.hpp b/addons/compatibility/map_esseker/script_component.hpp new file mode 100644 index 0000000..4c0ecdd --- /dev/null +++ b/addons/compatibility/map_esseker/script_component.hpp @@ -0,0 +1,2 @@ +#define SUBCOMPONENT map_esseker +#include "..\script_component.hpp"