From 661dcfe6e31d15fc717578734a26df36ab546137 Mon Sep 17 00:00:00 2001 From: wersal454 Date: Mon, 9 Dec 2024 02:48:32 +0300 Subject: [PATCH 1/4] UAV support frequency fix --- A3A/addons/core/functions/Supports/fn_initSupports.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/A3A/addons/core/functions/Supports/fn_initSupports.sqf b/A3A/addons/core/functions/Supports/fn_initSupports.sqf index d858a8ceb0..43d3470ed5 100644 --- a/A3A/addons/core/functions/Supports/fn_initSupports.sqf +++ b/A3A/addons/core/functions/Supports/fn_initSupports.sqf @@ -48,9 +48,9 @@ private _initData = [ ["CARPETBOMBS", "AREA", 0.5, 0.1, 200, 0, "u", ""], // balanced against airstrikes ["GUNSHIP", "AREA", 0.2, 0.1, 0, 80, "", "vehiclesPlanesGunship"], //u // uh. Does AREA work for this? Only lasts 5 minutes so maybe... ["SAM", "TARGET", 1.0, 1.0, 0, 100, "u", ""], // balanced against ASF - ["CRUISEMISSILE", "AREA", 0.3, 0.1, 200, 100, "u", ""], + ["CRUISEMISSILE", "AREA", 0.4, 0.1, 150, 100, "u", ""], ["ORBITALSTRIKE", "AREA", 0.2, 0.0, 300, 0, "f", ""], - ["UAV", "TARGET", 1.0, 0.4, 0, 80, "", "uavsAttack"] + ["UAV", "TARGET", 0.6, 0.4, 0, 80, "", "uavsAttack"] ]; // Generate support type hashmap for a faction, suppType -> [baseType, weight, effRadius, strikepower] From 8618cd5c9e7e00a29a0b7d4ed6dd9f80b67399d1 Mon Sep 17 00:00:00 2001 From: wersal454 Date: Mon, 9 Dec 2024 02:50:43 +0300 Subject: [PATCH 2/4] ehh, I don't know what it does --- A3A/addons/core/functions/Supports/fn_SUP_UAV.sqf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/A3A/addons/core/functions/Supports/fn_SUP_UAV.sqf b/A3A/addons/core/functions/Supports/fn_SUP_UAV.sqf index d5faed5ef5..cc5d07c20d 100644 --- a/A3A/addons/core/functions/Supports/fn_SUP_UAV.sqf +++ b/A3A/addons/core/functions/Supports/fn_SUP_UAV.sqf @@ -29,9 +29,12 @@ private _planeType = selectRandom (Faction(_side) get "uavsAttack"); private _aggro = if(_side == Occupants) then {aggressionOccupants} else {aggressionInvaders}; if (_delay < 0) then { _delay = (0.5 + random 1) * (300 - 15*tierWar - 1*_aggro) }; -// Well, it doesn't actually hit anything... -// ["_side", "_supptype", "_basetype", "_target", "_endtime", "_duration", "_power"] -//A3A_supportStrikes pushBack [_side, "UAV", "TARGET", _target, time + 1200, 1200, 200]; +// Well, it does actually hit +private _targArray = []; +if (_target isEqualType objNull and {!isNull _target}) then { + A3A_supportStrikes pushBack [_side, "TARGET", _target, time + 1200, 1200, 200]; + _targArray = [_target, _targPos]; +}; // name, side, suppType, center, radius, targets private _suppData = [_supportName, _side, "UAV", _targPos, 1000, [objNull, _targPos]]; From 8559fcb3e696f25d9ecb54afe5dee80a0ba5ec16 Mon Sep 17 00:00:00 2001 From: wersal454 Date: Mon, 9 Dec 2024 23:11:42 +0300 Subject: [PATCH 3/4] uav to unfair --- A3A/addons/core/functions/Supports/fn_initSupports.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/A3A/addons/core/functions/Supports/fn_initSupports.sqf b/A3A/addons/core/functions/Supports/fn_initSupports.sqf index 43d3470ed5..42dbdccc91 100644 --- a/A3A/addons/core/functions/Supports/fn_initSupports.sqf +++ b/A3A/addons/core/functions/Supports/fn_initSupports.sqf @@ -50,7 +50,7 @@ private _initData = [ ["SAM", "TARGET", 1.0, 1.0, 0, 100, "u", ""], // balanced against ASF ["CRUISEMISSILE", "AREA", 0.4, 0.1, 150, 100, "u", ""], ["ORBITALSTRIKE", "AREA", 0.2, 0.0, 300, 0, "f", ""], - ["UAV", "TARGET", 0.6, 0.4, 0, 80, "", "uavsAttack"] + ["UAV", "TARGET", 0.4, 0.2, 0, 80, "u", "uavsAttack"] ]; // Generate support type hashmap for a faction, suppType -> [baseType, weight, effRadius, strikepower] From 79a3383c2ec5bad2b8b369d4cde1d237717dd6b3 Mon Sep 17 00:00:00 2001 From: wersal454 Date: Mon, 9 Dec 2024 23:50:07 +0300 Subject: [PATCH 4/4] Update A3A/addons/core/functions/Supports/fn_initSupports.sqf Co-authored-by: Silence <78276788+SilenceIsFatto@users.noreply.github.com> --- A3A/addons/core/functions/Supports/fn_initSupports.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/A3A/addons/core/functions/Supports/fn_initSupports.sqf b/A3A/addons/core/functions/Supports/fn_initSupports.sqf index 42dbdccc91..a9523527a6 100644 --- a/A3A/addons/core/functions/Supports/fn_initSupports.sqf +++ b/A3A/addons/core/functions/Supports/fn_initSupports.sqf @@ -48,7 +48,7 @@ private _initData = [ ["CARPETBOMBS", "AREA", 0.5, 0.1, 200, 0, "u", ""], // balanced against airstrikes ["GUNSHIP", "AREA", 0.2, 0.1, 0, 80, "", "vehiclesPlanesGunship"], //u // uh. Does AREA work for this? Only lasts 5 minutes so maybe... ["SAM", "TARGET", 1.0, 1.0, 0, 100, "u", ""], // balanced against ASF - ["CRUISEMISSILE", "AREA", 0.4, 0.1, 150, 100, "u", ""], + ["CRUISEMISSILE", "AREA", 0.3, 0.1, 150, 100, "u", ""], ["ORBITALSTRIKE", "AREA", 0.2, 0.0, 300, 0, "f", ""], ["UAV", "TARGET", 0.4, 0.2, 0, 80, "u", "uavsAttack"] ];