From cd93f660221ffd0ebcd7586129af1366384972db Mon Sep 17 00:00:00 2001 From: 3Mydlo3 Date: Thu, 21 Mar 2024 17:25:48 +0100 Subject: [PATCH 1/4] Add spike strip to police arsenal --- addons/equipment/CfgSerialKillers.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/equipment/CfgSerialKillers.hpp b/addons/equipment/CfgSerialKillers.hpp index 710c447..195b69c 100644 --- a/addons/equipment/CfgSerialKillers.hpp +++ b/addons/equipment/CfgSerialKillers.hpp @@ -501,6 +501,9 @@ class CfgSerialKillers class Laserdesignator_02_ghex_F: Laserdesignator {}; class Laserdesignator_03 : Laserdesignator {}; + // Spike strip mine + class TDD_Talon_Mag {}; + class armaforces_inflatable_boat_bag {}; class armaforces_inflatable_boat_engine_bag {}; From a3d7288d9614f82521e1d0fee23f49fd78758d12 Mon Sep 17 00:00:00 2001 From: 3Mydlo3 Date: Thu, 21 Mar 2024 17:26:06 +0100 Subject: [PATCH 2/4] Add a single spike strip to inventory of every spawned police vehicle --- addons/police/functions/fnc_spawnVehicle.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/police/functions/fnc_spawnVehicle.sqf b/addons/police/functions/fnc_spawnVehicle.sqf index 7f8d7f6..ff2d707 100644 --- a/addons/police/functions/fnc_spawnVehicle.sqf +++ b/addons/police/functions/fnc_spawnVehicle.sqf @@ -80,4 +80,5 @@ INFO_2("Creating vehicle %1 at position %2",_vehicleClassname,str _position); [{ private _vehicle = _this call EFUNC(vehicles,createVehicle); _vehicle setVariable [QGVAR(isPoliceVehicle), true, true]; + _vehicle addItemCargoGlobal ["TDD_Talon_Mag", 1]; }, [_vehicleClassname, _position, _direction, true, false, true]] call CBA_fnc_execNextFrame; From de059942818a812ef19a3e21d087ee84892e863c Mon Sep 17 00:00:00 2001 From: 3Mydlo3 Date: Thu, 28 Mar 2024 23:10:26 +0100 Subject: [PATCH 3/4] Add non-DLC backpacks for cops for spike strip carrying --- addons/equipment/CfgSerialKillers.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/equipment/CfgSerialKillers.hpp b/addons/equipment/CfgSerialKillers.hpp index 195b69c..c88b700 100644 --- a/addons/equipment/CfgSerialKillers.hpp +++ b/addons/equipment/CfgSerialKillers.hpp @@ -762,6 +762,10 @@ class CfgSerialKillers class B_Messenger_Coyote_F {}; class B_LegStrapBag_olive_F {}; class B_LegStrapBag_coyote_F {}; + class B_AssaultPack_blk {}; + class B_Carryall_blk : rhs_weap_m4a1_carryhandle_m203 {}; + class B_TacticalPack_blk : rhs_weap_m4a1_carryhandle_m203 {}; + class B_FieldPack_blk : rhs_weap_m4a1_carryhandle_m203 {}; /* Headgear */ class rds_police_cap {}; class H_Cap_police {}; From fdcb6f1335d6f12d85197fb5c1f1692de134b648 Mon Sep 17 00:00:00 2001 From: 3Mydlo3 Date: Thu, 28 Mar 2024 23:12:28 +0100 Subject: [PATCH 4/4] Fix spike strip in terro gear rather than police --- addons/equipment/CfgSerialKillers.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/equipment/CfgSerialKillers.hpp b/addons/equipment/CfgSerialKillers.hpp index c88b700..b106595 100644 --- a/addons/equipment/CfgSerialKillers.hpp +++ b/addons/equipment/CfgSerialKillers.hpp @@ -501,9 +501,6 @@ class CfgSerialKillers class Laserdesignator_02_ghex_F: Laserdesignator {}; class Laserdesignator_03 : Laserdesignator {}; - // Spike strip mine - class TDD_Talon_Mag {}; - class armaforces_inflatable_boat_bag {}; class armaforces_inflatable_boat_engine_bag {}; @@ -723,6 +720,9 @@ class CfgSerialKillers class MineDetector { requiredScore = 30; }; class ACE_HuntIR_monitor : ACE_HuntIR_M203 {}; + // Spike strip mine + class TDD_Talon_Mag {}; + /* Uniforms */ class U_B_GEN_Soldier_F {}; class U_B_GEN_Commander_F {};