Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .hemtt/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ extends = "default"
workshop = [
"2975055854" # Mk13 Secondary
]

[hemtt.launch.gxdrones]
extends = "default"
workshop = [
"3460981677" # GX drones
]
1 change: 1 addition & 0 deletions addons/compat_gxdrones/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\arc\addons\compat_gxdrones
67 changes: 67 additions & 0 deletions addons/compat_gxdrones/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
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) = "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) = "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_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) = "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);
};
};
26 changes: 26 additions & 0 deletions addons/compat_gxdrones/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#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"
4 changes: 4 additions & 0 deletions addons/compat_gxdrones/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#define COMPONENT compat_gxdrones

#include "..\main\script_mod.hpp"
#include "..\main\script_macros.hpp"
Loading