Thunder 3 years ago
parent
commit
7e9689b9ad

+ 1 - 0
addons/Emp/$PBOPREFIX$.ht

@@ -0,0 +1 @@
+{{mainprefix}}\{{prefix}}\addons\Emp

+ 2 - 2
addons/RD501_EMP/config.cpp → addons/Emp/config.cpp

@@ -1,4 +1,4 @@
-#include "../RD501_main/config_macros.hpp"
+#include "script_component.hpp"
 
 class CfgPatches
 {
@@ -21,7 +21,7 @@ class CfgFunctions
 	{
 		class Weapons
 		{
-			file="\RD501_EMP";
+			file=QPATHTOF(functions);
 			class onHit
 			{
 			};

+ 0 - 0
addons/RD501_EMP/fn_onhit.sqf → addons/Emp/functions/fn_onhit.sqf


+ 0 - 0
addons/RD501_EMP/fn_onhitemp.sqf → addons/Emp/functions/fn_onhitemp.sqf


+ 0 - 0
addons/RD501_EMP/fn_showhintemp.sqf → addons/Emp/functions/fn_showhintemp.sqf


+ 0 - 0
addons/RD501_EMP/readme.md → addons/Emp/readme.md


+ 15 - 0
addons/Emp/script_component.ht.hpp

@@ -0,0 +1,15 @@
+#define COMPONENT Emp
+#include "\{{mainprefix}}\{{prefix}}\addons\main\script_mod.hpp"
+
+// #define DEBUG_MODE_FULL
+// #define DISABLE_COMPILE_CACHE
+
+#ifdef DEBUG_ENABLED_Emp
+    #define DEBUG_MODE_FULL
+#endif
+    #ifdef DEBUG_SETTINGS_OTHER
+    #define DEBUG_SETTINGS DEBUG_SETTINGS_Emp
+#endif
+
+#include "\{{mainprefix}}\{{prefix}}\addons\main\script_macros.hpp"
+#include "\{{mainprefix}}\{{prefix}}\addons\main\config_macros.hpp"