diff --git a/addons/functions/CfgEventHandlers.hpp b/addons/functions/CfgEventHandlers.hpp
index 35d16c1c..c1943125 100644
--- a/addons/functions/CfgEventHandlers.hpp
+++ b/addons/functions/CfgEventHandlers.hpp
@@ -28,7 +28,6 @@ class Extended_Deleted_EventHandlers {
class ACE_envelope_small {
CAMOUFLAGE_DELETE;
};
-
class ACE_envelope_big {
CAMOUFLAGE_DELETE;
};
@@ -36,13 +35,15 @@ class Extended_Deleted_EventHandlers {
class GRAD_envelope_giant {
CAMOUFLAGE_DELETE;
};
-
class GRAD_envelope_vehicle {
CAMOUFLAGE_DELETE;
};
class GRAD_envelope_long {
CAMOUFLAGE_DELETE;
};
+ class GRAD_envelope_short {
+ CAMOUFLAGE_DELETE;
+ };
};
class Extended_Init_EventHandlers {
@@ -64,6 +65,9 @@ class Extended_Init_EventHandlers {
class GRAD_envelope_long {
TRENCH_INIT;
};
+ class GRAD_envelope_short {
+ TRENCH_INIT;
+ };
};
class Extended_InitPost_EventHandlers {
diff --git a/addons/functions/functions/fnc_initCurator.sqf b/addons/functions/functions/fnc_initCurator.sqf
index fc5f6506..519a6390 100644
--- a/addons/functions/functions/fnc_initCurator.sqf
+++ b/addons/functions/functions/fnc_initCurator.sqf
@@ -23,7 +23,10 @@ _logic addEventHandler ["CuratorObjectEdited", {
params ["", "_object"];
if (isClass (configFile >> "CfgVehicles" >> typeOf _object >> "CamouflagePositions1")) then {
- _object setObjectTextureGlobal [0, surfaceTexture (getPos _object)];
+ [{
+ params ["_obj"];
+ _obj setObjectTextureGlobal [0, surfaceTexture (getPos _obj)];
+ }, _object] call CBA_fnc_execNextFrame;
};
}];
@@ -31,6 +34,9 @@ _logic addEventHandler ["CuratorObjectPlaced", {
params ["", "_object"];
if (isClass (configFile >> "CfgVehicles" >> typeOf _object >> "CamouflagePositions1")) then {
- _object setObjectTextureGlobal [0, surfaceTexture (getPos _object)];
+ [{
+ params ["_obj"];
+ _obj setObjectTextureGlobal [0, surfaceTexture (getPos _obj)];
+ }, _object] call CBA_fnc_execNextFrame;
};
}];
diff --git a/addons/functions/functions/fnc_initTrench.sqf b/addons/functions/functions/fnc_initTrench.sqf
index ab16fef5..861d3043 100644
--- a/addons/functions/functions/fnc_initTrench.sqf
+++ b/addons/functions/functions/fnc_initTrench.sqf
@@ -40,7 +40,7 @@ if (GVAR(allowHitDecay)) then {
if (local _object) then {
// Has to be delayed to ensure MP compatibility (vehicle spawned in same frame as texture is applied)
[{
- params ["_obj"];
- _obj setObjectTextureGlobal [0, surfaceTexture (getPos _obj)];
- }, _object] call CBA_fnc_execNextFrame;
+ params ["_object"];
+ _object setObjectTextureGlobal [0, surfaceTexture (getPos _object)];
+ }, _object, 0.1] call CBA_fnc_waitAndExecute;
};
diff --git a/addons/main/script_version.hpp b/addons/main/script_version.hpp
index 7f652a12..b149b736 100644
--- a/addons/main/script_version.hpp
+++ b/addons/main/script_version.hpp
@@ -1,5 +1,5 @@
#define MAJOR 1
#define MINOR 6
#define PATCHLVL 8
-#define BUILD 5
+#define BUILD 6
diff --git a/hemtt.toml b/hemtt.toml
index 0799aa57..1267e822 100644
--- a/hemtt.toml
+++ b/hemtt.toml
@@ -3,7 +3,10 @@ prefix = "grad_trenches"
author = "Salbei"
files = [
"mod.cpp",
- "logo_grad_ca.paa",
+ "logo_active_ca.paa",
+ "logo_ca.paa",
+ "overview_co.paa",
+ "logo_small_ca.paa",
"LICENSE",
"README.md"
]
diff --git a/logo_active_ca.paa b/logo_active_ca.paa
new file mode 100644
index 00000000..e0f6df33
Binary files /dev/null and b/logo_active_ca.paa differ
diff --git a/logo_ca.paa b/logo_ca.paa
new file mode 100644
index 00000000..fe48c35e
Binary files /dev/null and b/logo_ca.paa differ
diff --git a/logo_grad_ca.paa b/logo_grad_ca.paa
deleted file mode 100644
index 27d6d566..00000000
Binary files a/logo_grad_ca.paa and /dev/null differ
diff --git a/logo_small_ca.paa b/logo_small_ca.paa
new file mode 100644
index 00000000..d0ad943f
Binary files /dev/null and b/logo_small_ca.paa differ
diff --git a/mod.cpp b/mod.cpp
index bda977d4..c6519f13 100644
--- a/mod.cpp
+++ b/mod.cpp
@@ -1,13 +1,14 @@
-name = "GRAD Trenches";
+name = "Gruppe Adler Trenches";
author = "Gruppe Adler";
-picture = "logo_grad_ca.paa";
-actionName = "Website";
-action = "https://github.com/gruppe-adler/grad_trenches/releases";
-description = "Gruppe Adler Trenches";
-logo = "logo_grad_ca.paa";
-logoOver = "logo_grad_ca.paa";
+logo = "logo_ca.paa";
+logoOver = "logo_active_ca.paa";
tooltip = "Gruppe Adler Trenches";
-overview = "GRAD Trenches applies the ground texture to ACE Trenches.";
-overviewPicture = "Adler.paa";
-overviewText = "";
-overviewFootnote = "";
+tooltipOwned = "Gruppe Adler Trenches";
+picture = "overview_co.paa";
+actionName = "GitHub";
+action = "https://github.com/gruppe-adler/grad_trenches";
+overview = "
Visit Gruppe Adler on our Website | Discord | YouTube | Twitter
";
+hideName = 0;
+hidePicture = 0;
+dlcColor[] = {0.8196, 0.5529, 0.1216, 1};
+logoSmall = "logo_small_ca.paa";
\ No newline at end of file
diff --git a/overview_co.paa b/overview_co.paa
new file mode 100644
index 00000000..7038b13c
Binary files /dev/null and b/overview_co.paa differ