diff --git a/ExAdClient/XM8/Apps/modchecker/onOpen.sqf b/ExAdClient/XM8/Apps/modchecker/onOpen.sqf
index 6b59293..6a4a35e 100644
--- a/ExAdClient/XM8/Apps/modchecker/onOpen.sqf
+++ b/ExAdClient/XM8/Apps/modchecker/onOpen.sqf
@@ -31,7 +31,7 @@ disableSerialization;
8
] spawn BIS_fnc_dynamicText;
-#include "..\..\..\..\addons\modChecker\modCheckerDisplay.hpp"
+#include "..\..\..\..\addons\modChecker\displayConfig.hpp"
_display = uiNameSpace getVariable ["RscExileXM8", displayNull];
if(isNull _display)exitWith{
diff --git a/ExAdClient/XM8/Apps/modchecker/xm8modChecker.sqf b/ExAdClient/XM8/Apps/modchecker/xm8modChecker.sqf
index 767c120..f7813d7 100644
--- a/ExAdClient/XM8/Apps/modchecker/xm8modChecker.sqf
+++ b/ExAdClient/XM8/Apps/modchecker/xm8modChecker.sqf
@@ -11,7 +11,7 @@
errorLevel = 0; // Do not touch. Set errors to 0 before run modChecker.sqf
-#include "..\..\..\..\addons\modChecker\modChecker.hpp"
+#include "..\..\..\..\addons\modChecker\modConfig.hpp"
if (errorLevel > 0) then {
warnMessage = "Some is WRONG with your MODS
"; // General error message
diff --git a/addons/modChecker/modCheckerDisplay.hpp b/addons/modChecker/displayConfig.hpp
similarity index 53%
rename from addons/modChecker/modCheckerDisplay.hpp
rename to addons/modChecker/displayConfig.hpp
index 364758b..b0c7893 100644
--- a/addons/modChecker/modCheckerDisplay.hpp
+++ b/addons/modChecker/displayConfig.hpp
@@ -2,36 +2,46 @@
// * This project is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
// * https://creativecommons.org/licenses/by-sa/4.0/
// **********************************************************************************************************
-// @file Name: modCheckerDisplay.sqf
+// @file Name: modmodCheckerDisplay.sqf
// @file Author: NRZ7 (www.standarol.com) and Repentz
-// @description: This script is a UI launched by modchecker.sqf. If any mod is not loaded, pop's a screen with detailed information and clickable community links (modCheckerDisplay.sqf).
+// @description: This script is a UI launched by modmodChecker.sqf. If any mod is not loaded, pop's a screen with detailed information and clickable community links (modmodCheckerDisplay.sqf).
// You can configure custom messages and links to your community guides.
+
/////////////////////////////////////////////////////////////////////////////////////////////
-// CUSTOMIZABLE PART HERE
-// Remember to add-delete-modify the same mod variable names used in modCheckerConfig.hpp
+// DISPLAY HEADER
/////////////////////////////////////////////////////////////////////////////////////////////
-// Display header
_message = "";
_message = _message + "
";
-_message = _message + "Welcome to Mod Checker
";
+_message = _message + "Welcome to Mod modChecker
";
_message = _message + "______________________________________________________________________________________
";
_message = _message + warnMessage;
_message = _message + "
";
-//Mod variable names - MODIFY HERE
-_message = _message + checkExile;
-_message = _message + checkEsseker;
-_message = _message + checkRyan;
-_message = _message + checkWeapons;
-_message = _message + checkVehicles;
-_message = _message + checkUnits;
-_message = _message + checkTerrain;
-_message = _message + checkCBA;
-// Custom message with community links - MODIFY HERE
+/////////////////////////////////////////////////////////////////////////////////////////////
+// MOD CONFIG PART HERE
+// Remember to add-delete-modify the same mod variable names used in modmodCheckerConfig.hpp
+/////////////////////////////////////////////////////////////////////////////////////////////
+_message = _message + modCheckExile;
+_message = _message + modCheckEsseker;
+_message = _message + modCheckRyan;
+_message = _message + modCheckWeapons;
+_message = _message + modCheckVehicles;
+_message = _message + modCheckUnits;
+_message = _message + modCheckTerrain;
+_message = _message + modCheckCBA;
+//_message = message + modCheckYOURMOD;
+
+
+/////////////////////////////////////////////////////////////////////////////////////////////
+// Custom message with community links - MODIFY HERE
+/////////////////////////////////////////////////////////////////////////////////////////////
+
_message = _message + "
";
_message = _message + "If you get any error, please, read the following links
";
_message = _message + "Download the mods from Steam Workshop Only click on Subscribe!
";
-_message = _message + "Guía de lanzamiento e instalación de mods [ESPAÑOL]
";
\ No newline at end of file
+_message = _message + "Guía de lanzamiento e instalación de mods [ESPAÑOL]
";
+// _message = message + "Easy add more lines like this";
+// _message = _message + "You can easy add ANY LINK! And unlimited number of lines.
";
\ No newline at end of file
diff --git a/addons/modChecker/init/modCheckerDisplay.sqf b/addons/modChecker/init/modCheckerDisplay.sqf
index e1616b3..365db4a 100644
--- a/addons/modChecker/init/modCheckerDisplay.sqf
+++ b/addons/modChecker/init/modCheckerDisplay.sqf
@@ -39,7 +39,7 @@ _buttonSpoiler = _display displayctrl 2400;
_textSpoiler = _display displayctrl 1101;
_text2 = _display displayCtrl 1102;
-#include "..\modCheckerDisplay.hpp"
+#include "..\displayConfig.hpp"
//Fill only the first text
_text1 ctrlSetStructuredText (parseText _message);
diff --git a/addons/modChecker/init/modCheckerInit.sqf b/addons/modChecker/init/modCheckerInit.sqf
index 7495b49..3204e71 100644
--- a/addons/modChecker/init/modCheckerInit.sqf
+++ b/addons/modChecker/init/modCheckerInit.sqf
@@ -14,7 +14,7 @@
errorLevel = 0;
-#include "..\modChecker.hpp"
+#include "..\modConfig.hpp"
if (errorLevel > 0) then {
warnMessage = "Some is WRONG with your MODS
";
diff --git a/addons/modChecker/modChecker.hpp b/addons/modChecker/modChecker.hpp
deleted file mode 100644
index 755b759..0000000
--- a/addons/modChecker/modChecker.hpp
+++ /dev/null
@@ -1,99 +0,0 @@
-// **********************************************************************************************************
-// * This project is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
-// * https://creativecommons.org/licenses/by-sa/4.0/
-// **********************************************************************************************************
-// @file Name: modChecker.sqf
-// @file Author: NRZ7 (www.standarol.com)
-// @description: This script check the mods loaded by the client. If any mod is not loaded, pop's a screen with detailed information and clickable community links (modCheckerDisplay.sqf).
-// You can configure requiered addons (error 99) or optional addons (error 1). If any required mod fails, the client load "You Loose" screen after close the dialog.
-
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// Exile_Client Example - READ TO UNDERSTAND - DO NOT TOUCH - READ - DO NOT TOUCH - READ - DO NOT TOUCH
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-// Change "Exile_Client" to name of the CfgPatches from desired mod.
-// You can find under editor. ("Tools" - "Config Viewer" - "Configfile" - "CfgPatches")
-if (isClass(configFile >> "CfgPatches" >> "Exile_Client")) then {
-// Change checkExile to your desired and unique mod variable name
-// Change "Exile Mod is" to your mod string. For advanced users, can change size, color, allign, etc.
- checkExile = "Exile Mod is found!
";
- } else {
-// Change "Exile Mod is" to your mod string
- checkExile = "Exile Mod is NOT FOUND!
";
-// Set 99 to Required, Set 1 to optional
- errorLevel = errorLevel + 99
- };
-
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// START OF MODS CONFIG - EDIT OR DELETE UNDER THIS LINE
-///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-// Esseker Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "Esseker")) then {
- checkEsseker = "Esseker Map is found!
";
- } else {
- checkEsseker = "Esseker Map is NOT FOUND!
";
- errorLevel = errorLevel + 99
- };
-
-// Zombis & Demonds Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "Ryanzombies")) then {
- checkRyan = "Zombies and Demonds is found!
";
- } else {
- checkRyan = "Zombies and Demonds is NOT FOUND!
";
- errorLevel = errorLevel + 99
- };
-
-// CUP_Weapons Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "CUP_Weapons_WeaponsCore")) then {
- checkWeapons = "CUP Weapons is found!
";
- } else {
- checkWeapons = "CUP Weapons is NOT FOUND!
";
- errorLevel = errorLevel + 99
- };
-
-// CUP_Vehicles Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "CUP_Vehicles_Core")) then {
- checkVehicles = "CUP Vehicles is found!
";
- } else {
- checkVehicles = "CUP Vehicles is NOT FOUND!
";
- errorLevel = errorLevel + 99
- };
-
-// CUP_TerrainCore Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "CUP_Worlds")) then {
- checkTerrain = "CUP Terrain Core is found!
";
- } else {
- checkTerrain = "CUP Terrain Core is NOT FOUND!
";
- errorLevel = errorLevel + 1
- };
-
-// CUP_Units Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "CUP_Creatures_People_Core")) then {
- checkUnits = "CUP Units is found!
";
- } else {
- checkUnits = "CUP Units is NOT FOUND!
";
- errorLevel = errorLevel + 99
- };
-
-// Community Base Addon Example - DELETE OR MODIFY
-if (isClass(configFile >> "CfgPatches" >> "CBA_main")) then
- {
- checkCBA = "CBA_A3 is found!
";
- } else {
- checkCBA = "CBA_A3 is NOT FOUND!
";
- errorLevel = errorLevel + 1
- };
-
-
-// YOU CAN ADD MORE MODS, ADD FOR EACH SOME CODE LIKE THIS
-
-/*
-if (isClass(configFile >> "CfgPatches" >> "YOUR_MOD_CLASSNAME")) then
- {
- checkYOURMOD = "YOUR MOD is found!
";
- } else {
- checkYOURMOD = "YOUR MOD is NOT FOUND!
";
- errorLevel = errorLevel + 1
- };
-*/
diff --git a/addons/modChecker/modConfig.hpp b/addons/modChecker/modConfig.hpp
new file mode 100644
index 0000000..5b93dc3
--- /dev/null
+++ b/addons/modChecker/modConfig.hpp
@@ -0,0 +1,106 @@
+// **********************************************************************************************************
+// * This project is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
+// * https://creativecommons.org/licenses/by-sa/4.0/
+// **********************************************************************************************************
+// @file Name: modmodChecker.sqf
+// @file Author: NRZ7 (www.standarol.com)
+// @description: This script modCheck the mods loaded by the client. If any mod is not loaded, pop's a screen with detailed information and clickable community links (modmodCheckerDisplay.sqf).
+// You can configure requiered addons (error 99) or optional addons (error 1). If any required mod fails, the client load "You Loose" screen after close the dialog.
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// Exile_Client Example - READ TO UNDERSTAND - DO NOT TOUCH - READ - DO NOT TOUCH - READ - DO NOT TOUCH
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+// Change "Exile_Client" to name of the CfgPatches from desired mod.
+// You can find under editor. ("Tools" - "Config Viewer" - "Configfile" - "CfgPatches")
+if (isClass(configFile >> "CfgPatches" >> "Exile_Client")) then
+ {
+// Change modCheckExile to your desired and unique mod variable name
+// Change "Exile Mod is" to your mod string. For advanced users, can change size, color, allign, etc.
+ modCheckExile = "Exile Mod is found!
";
+ } else {
+// Change "Exile Mod is" to your mod string
+ modCheckExile = "Exile Mod is NOT FOUND!
";
+// Set 99 to Required, Set 1 to optional
+ errorLevel = errorLevel + 99
+ };
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// START OF MODS CONFIG - EDIT OR DELETE UNDER THIS LINE
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+
+// Esseker Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "Esseker")) then
+ {
+ modCheckEsseker = "Esseker Map is found!
";
+ } else {
+ modCheckEsseker = "Esseker Map is NOT FOUND!
";
+ errorLevel = errorLevel + 99
+ };
+
+// Zombis & Demonds Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "Ryanzombies")) then
+ {
+ modCheckRyan = "Zombies and Demonds is found!
";
+ } else {
+ modCheckRyan = "Zombies and Demonds is NOT FOUND!
";
+ errorLevel = errorLevel + 99
+ };
+
+// CUP_Weapons Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "CUP_Weapons_WeaponsCore")) then
+ {
+ modCheckWeapons = "CUP Weapons is found!
";
+ } else {
+ modCheckWeapons = "CUP Weapons is NOT FOUND!
";
+ errorLevel = errorLevel + 99
+ };
+
+// CUP_Vehicles Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "CUP_Vehicles_Core")) then
+ {
+ modCheckVehicles = "CUP Vehicles is found!
";
+ } else {
+ modCheckVehicles = "CUP Vehicles is NOT FOUND!
";
+ errorLevel = errorLevel + 99
+ };
+
+// CUP_TerrainCore Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "CUP_Worlds")) then
+ {
+ modCheckTerrain = "CUP Terrain Core is found!
";
+ } else {
+ modCheckTerrain = "CUP Terrain Core is NOT FOUND!
";
+ errorLevel = errorLevel + 1
+ };
+
+// CUP_Units Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "CUP_Creatures_People_Core")) then
+ {
+ modCheckUnits = "CUP Units is found!
";
+ } else {
+ modCheckUnits = "CUP Units is NOT FOUND!
";
+ errorLevel = errorLevel + 99
+ };
+
+// Community Base Addon Example - DELETE OR MODIFY
+if (isClass(configFile >> "CfgPatches" >> "CBA_main")) then
+ {
+ modCheckCBA = "CBA_A3 is found!
";
+ } else {
+ modCheckCBA = "CBA_A3 is NOT FOUND!
";
+ errorLevel = errorLevel + 1
+ };
+
+
+// YOU CAN ADD MORE MODS, ADD FOR EACH SOME CODE LIKE THIS
+
+/*
+if (isClass(configFile >> "CfgPatches" >> "YOUR_MOD_CLASSNAME")) then
+ {
+ modCheckYOURMOD = "YOUR MOD is found!
";
+ } else {
+ modCheckYOURMOD = "YOUR MOD is NOT FOUND!
";
+ errorLevel = errorLevel + 1
+ };
+*/