exploded main addon to divide componenets into addons for each feature

This commit is contained in:
Valmo Trindade
2025-05-15 17:53:25 -03:00
parent 39f4936bf7
commit ffcd4feb4e
5 changed files with 58 additions and 1 deletions

23
addons/client/config.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredAddons[] = {
"cba_main",
"ace_main",
"armatak_main"
};
requiredVersion = REQUIRED_VERSION;
author = PROJECT_AUTHOR;
url = "https://github.com/valmojr/armatak";
};
};
class Extended_PostInit_EventHandlers {
class armatak_main {
init = "call compileScript ['\armatak\armatak\armatak_client\initPlayerLocal.sqf']";
};
};