Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spike strip for Police #92

Merged
merged 4 commits into from
Apr 4, 2024
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
7 changes: 7 additions & 0 deletions addons/equipment/CfgSerialKillers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,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 {};
Expand Down Expand Up @@ -759,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 {};
Expand Down
1 change: 1 addition & 0 deletions addons/police/functions/fnc_spawnVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;