From 8d06af2c5664126df96df2c736e7cb6839c68ded Mon Sep 17 00:00:00 2001 From: Cplhardcore <135324281+Cplhardcore@users.noreply.github.com> Date: Thu, 21 May 2026 04:55:48 -0700 Subject: [PATCH 1/3] Initial --- .hemtt/project.toml | 3 +- addons/compat_gxdrones/$PBOPREFIX$ | 1 + addons/compat_gxdrones/CfgVehicles.hpp | 58 +++++++++++++++++++++ addons/compat_gxdrones/config.cpp | 27 ++++++++++ addons/compat_gxdrones/script_component.hpp | 4 ++ 5 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 addons/compat_gxdrones/$PBOPREFIX$ create mode 100644 addons/compat_gxdrones/CfgVehicles.hpp create mode 100644 addons/compat_gxdrones/config.cpp create mode 100644 addons/compat_gxdrones/script_component.hpp diff --git a/.hemtt/project.toml b/.hemtt/project.toml index 29a93c6..0ba6b1e 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -8,7 +8,8 @@ workshop = [ "3499977893", # ADT "450814997", # CBA "463939057", # ACE3 - "1779063631" # Zeus Enhanced + "1779063631", # Zeus Enhanced + "3460981677" ] [hemtt.launch.cup] diff --git a/addons/compat_gxdrones/$PBOPREFIX$ b/addons/compat_gxdrones/$PBOPREFIX$ new file mode 100644 index 0000000..34be66b --- /dev/null +++ b/addons/compat_gxdrones/$PBOPREFIX$ @@ -0,0 +1 @@ +z\arc\addons\compat_gxdrones diff --git a/addons/compat_gxdrones/CfgVehicles.hpp b/addons/compat_gxdrones/CfgVehicles.hpp new file mode 100644 index 0000000..5c72b01 --- /dev/null +++ b/addons/compat_gxdrones/CfgVehicles.hpp @@ -0,0 +1,58 @@ +class CfgVehicles { + class Helicopter_Base_F; + class GX_BLACKHORNET_UAV_BASE: Helicopter_Base_F { + AVAR(mode) = "LOS"; + AVAR(power)[] = { 100, 200, 300, 400, 600, 800, 1200, 1800 }; + AVAR(defaultPower) = 100; + AVAR(freq)[] = { 433, 915, 1200, 2400, 5800 }; + AVAR(defaultFreq) = 1200; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; + class GX_DRONE40_UAV_BASE: Helicopter_Base_F { + AVAR(mode) = "LOS"; + AVAR(power)[] = { 100, 200, 300 }; + AVAR(defaultPower) = 100; + AVAR(freq)[] = { 2400, 5800 }; + AVAR(defaultFreq) = 2400; + AVAR(noBattery) = 1; + }; + class GX_MQ8B_UAV_BASE: Helicopter_Base_F { + AVAR(mode) = "SAT"; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; + class Car_F; + class GX_HONEYBADGER_UGV_BASE: Car_F { + AVAR(mode) = "SAT"; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; + class StaticMortar; + class GX_HUNTER_SP_LAUNCHER_BASE: StaticMortar { + AVAR(mode) = "SAT"; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; + class Plane_Base_F; + class GX_HUNTER_SP_UAV_BASE: Plane_Base_F { + AVAR(mode) = "SAT"; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; + class GX_RQ11B_UAV_BASE: Plane_Base_F { + AVAR(mode) = "LOS"; + AVAR(power)[] = { 100, 200, 300, 400, 600, 800, 1200, 1800 }; + AVAR(defaultPower) = 100; + AVAR(freq)[] = { 433, 915, 1200, 2400, 5800 }; + AVAR(defaultFreq) = 1200; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; + class Tank_F; + class GX_THEMIS_UGV_BASE: Tank_F { + AVAR(mode) = "SAT"; + AVAR(noBattery) = 1; + AVAR(isr) = QEFUNC(isr,vanilla); + }; +}; diff --git a/addons/compat_gxdrones/config.cpp b/addons/compat_gxdrones/config.cpp new file mode 100644 index 0000000..0422dc2 --- /dev/null +++ b/addons/compat_gxdrones/config.cpp @@ -0,0 +1,27 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + name = QUOTE(COMPONENT); + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = { + "arc_core", + "gx_drones_uav_blackhornet", + "gx_drones_uav_drone40", + "gx_drones_uav_hunter", + "gx_drones_uav_mq8b", + "gx_drones_uav_rq11b", + "gx_drones_ugv_honeybadger", + "gx_drones_ugv_themis", + "A3_Air_F_Exp_UAV_04", + + }; + skipWhenMissingDependencies = 1; + author = "Cplhardcore"; + VERSION_CONFIG; + }; +}; + +#include "CfgVehicles.hpp" diff --git a/addons/compat_gxdrones/script_component.hpp b/addons/compat_gxdrones/script_component.hpp new file mode 100644 index 0000000..ba0b4be --- /dev/null +++ b/addons/compat_gxdrones/script_component.hpp @@ -0,0 +1,4 @@ +#define COMPONENT compat_gxdrones + +#include "..\main\script_mod.hpp" +#include "..\main\script_macros.hpp" From ed19432a7eb042df219f59759f49ee383eb3a20c Mon Sep 17 00:00:00 2001 From: Cplhardcore <135324281+Cplhardcore@users.noreply.github.com> Date: Thu, 21 May 2026 12:32:04 -0700 Subject: [PATCH 2/3] Small fixes --- .hemtt/project.toml | 9 +++++++-- addons/compat_gxdrones/config.cpp | 3 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.hemtt/project.toml b/.hemtt/project.toml index 0ba6b1e..a78f2e6 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -8,8 +8,7 @@ workshop = [ "3499977893", # ADT "450814997", # CBA "463939057", # ACE3 - "1779063631", # Zeus Enhanced - "3460981677" + "1779063631" # Zeus Enhanced ] [hemtt.launch.cup] @@ -25,3 +24,9 @@ extends = "default" workshop = [ "2975055854" # Mk13 Secondary ] + +[hemtt.launch.gxdrones] +extends = "default" +workshop = [ + "3460981677" # GX drones +] diff --git a/addons/compat_gxdrones/config.cpp b/addons/compat_gxdrones/config.cpp index 0422dc2..b0d76d2 100644 --- a/addons/compat_gxdrones/config.cpp +++ b/addons/compat_gxdrones/config.cpp @@ -15,8 +15,7 @@ class CfgPatches { "gx_drones_uav_rq11b", "gx_drones_ugv_honeybadger", "gx_drones_ugv_themis", - "A3_Air_F_Exp_UAV_04", - + "A3_Air_F_Exp_UAV_04" }; skipWhenMissingDependencies = 1; author = "Cplhardcore"; From cf7003971a079fd8a23e35ce9c0a1cd4326dd289 Mon Sep 17 00:00:00 2001 From: Brett Mayson Date: Thu, 16 Jul 2026 02:31:58 -0600 Subject: [PATCH 3/3] more LOS --- addons/compat_gxdrones/CfgVehicles.hpp | 27 +++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/addons/compat_gxdrones/CfgVehicles.hpp b/addons/compat_gxdrones/CfgVehicles.hpp index 5c72b01..7b077d8 100644 --- a/addons/compat_gxdrones/CfgVehicles.hpp +++ b/addons/compat_gxdrones/CfgVehicles.hpp @@ -22,21 +22,25 @@ class CfgVehicles { AVAR(noBattery) = 1; AVAR(isr) = QEFUNC(isr,vanilla); }; + class Car_F; class GX_HONEYBADGER_UGV_BASE: Car_F { - AVAR(mode) = "SAT"; - AVAR(noBattery) = 1; - AVAR(isr) = QEFUNC(isr,vanilla); - }; - class StaticMortar; - class GX_HUNTER_SP_LAUNCHER_BASE: StaticMortar { - AVAR(mode) = "SAT"; + AVAR(mode) = "LOS"; + AVAR(power)[] = { 100, 200, 300, 400, 600, 800, 1200, 1800 }; + AVAR(defaultPower) = 100; + AVAR(freq)[] = { 433, 915, 1200, 2400, 5800 }; + AVAR(defaultFreq) = 1200; AVAR(noBattery) = 1; AVAR(isr) = QEFUNC(isr,vanilla); }; + class Plane_Base_F; class GX_HUNTER_SP_UAV_BASE: Plane_Base_F { - AVAR(mode) = "SAT"; + AVAR(mode) = "LOS"; + AVAR(power)[] = { 100, 200, 300, 400, 600, 800, 1200, 1800 }; + AVAR(defaultPower) = 100; + AVAR(freq)[] = { 433, 915, 1200, 2400, 5800 }; + AVAR(defaultFreq) = 1200; AVAR(noBattery) = 1; AVAR(isr) = QEFUNC(isr,vanilla); }; @@ -49,9 +53,14 @@ class CfgVehicles { AVAR(noBattery) = 1; AVAR(isr) = QEFUNC(isr,vanilla); }; + class Tank_F; class GX_THEMIS_UGV_BASE: Tank_F { - AVAR(mode) = "SAT"; + AVAR(mode) = "LOS"; + AVAR(power)[] = { 5000, 10000, 15000, 20000, 30000, 40000, 50000 }; + AVAR(defaultPower) = 5000; + AVAR(freq)[] = { 433, 915, 1200, 2400 }; + AVAR(defaultFreq) = 1200; AVAR(noBattery) = 1; AVAR(isr) = QEFUNC(isr,vanilla); };