Fixed ACE POW/handcuffing
This commit is contained in:
parent
e0a396d984
commit
38ee3fdb30
|
@ -346,7 +346,10 @@ box_transport_config = [
|
|||
["rhsusf_M1083A1P2_D_flatbed_fmtv_usarmy", -5.0, [0,-0.2,0.45], [0,-1.9,0.45]],
|
||||
["rhsusf_M1083A1P2_B_D_flatbed_fmtv_usarmy", -5.0, [0,-0.2,0.45], [0,-1.9,0.45]],
|
||||
["rhsusf_M1083A1P2_B_M2_D_flatbed_fmtv_usarmy", -5.0, [0,-0.2,0.45], [0,-1.9,0.45]],
|
||||
["rhsusf_M1083A1P2_B_M2_WD_flatbed_fmtv_usarmy", -5.0, [0,-0.2,0.45], [0,-1.9,0.45]]
|
||||
["rhsusf_M1083A1P2_B_M2_WD_flatbed_fmtv_usarmy", -5.0, [0,-0.2,0.45], [0,-1.9,0.45]],
|
||||
["rhsusf_CH53E_USMC", -11.0, [0,2.5,1.4], [0,2.5,2.6], [0,1.0,1.4], [0,1.0,2.6], [0,-0.5,1.4], [0,-0.5,2.6], [0,-0.5,1.4], [0,-0.5,2.6], [0,-2.0,1.4], [0,-2.5,2.6], [0,-3.5,1.4], [0,-3.5,2.6]],
|
||||
["rhsusf_CH53E_USMC_D", -11.0, [0,2.5,1.4], [0,2.5,2.6], [0,1.0,1.4], [0,1.0,2.6], [0,-0.5,1.4], [0,-0.5,2.6], [0,-0.5,1.4], [0,-0.5,2.6], [0,-2.0,1.4], [0,-2.5,2.6], [0,-3.5,1.4], [0,-3.5,2.6]],
|
||||
["RHS_C130J", -9.5, [-0.8,4.5,1.9], [0.8,4.5,1.9], [-0.8,4.5,3.1], [0.8,4.5,3.1], [-0.8,3.0,1.9], [0.8,3.0,1.9], [-0.8,3.0,3.1], [0.8,3.0,3.1], [-0.8,2.0,1.9], [0.8,2.0,1.9], [-0.8,2.0,3.1], [0.8,2.0,3.1], [-0.8,1.0,1.9], [0.8,1.0,1.9], [-0.8,1.0,3.1], [0.8,1.0,3.1], [-0.8,0.0,1.9], [0.8,0.0,1.9], [-0.8,0.0,3.1], [0.8,0.0,3.1], [-0.8,-1.0,1.9], [0.8,-1.0,1.9], [-0.8,-1.0,3.1], [0.8,-1.0,3.1]]
|
||||
];
|
||||
|
||||
/* Various other settings.
|
||||
|
|
|
@ -9,7 +9,7 @@ while { true } do {
|
|||
_near_people = (getPosATL player) nearEntities [["Man"], 5];
|
||||
_near_intel = (getPosATL player) nearEntities [[GRLIB_intel_laptop, GRLIB_intel_file], 5];
|
||||
{
|
||||
if ( (captive _x) && !(_x in _actionned_captive_units) && !((side group _x) == GRLIB_side_friendly) ) then {
|
||||
if ((captive _x) && !(_x in _actionned_captive_units) && !((side group _x) == GRLIB_side_friendly) && !(_x getVariable ["ACE_isUnconscious", false])) then {
|
||||
_x addAction ["<t color='#FFFF00'>" + localize "STR_SECONDARY_CAPTURE" + "</t>","scripts\client\actions\do_capture.sqf","",-850,true,true,"","(vehicle player == player) && (side group _target != GRLIB_side_friendly) && (captive _target)"];
|
||||
_actionned_captive_units pushback _x;
|
||||
};
|
||||
|
|
|
@ -24,10 +24,13 @@ if ((_unit isKindOf "Man") && (alive _unit) && (side group _unit == GRLIB_side_e
|
|||
sleep 1;
|
||||
_unit disableAI "ANIM";
|
||||
_unit disableAI "MOVE";
|
||||
_unit playmove "AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon";
|
||||
sleep 2;
|
||||
_unit setCaptive true;
|
||||
|
||||
if (KP_liberation_ace) then {
|
||||
[_unit, true] call ACE_captives_fnc_setSurrendered;
|
||||
} else {
|
||||
_unit playmove "AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon";
|
||||
sleep 2;
|
||||
_unit setCaptive true;
|
||||
};
|
||||
waitUntil {sleep 1;
|
||||
!alive _unit || side group _unit == GRLIB_side_friendly
|
||||
};
|
||||
|
|
|
@ -170,6 +170,8 @@ class Missions
|
|||
* Tweaked: Enemy vehicle crew spawning. Ensure that they'll be on the right side (important for red vs blue). Thanks to [veteran29](https://github.com/veteran29)
|
||||
* Tweaked: If you enter the arsenal with a packed weapon or UAV backpack, it won't be identified as blacklisted anymore.
|
||||
* Fixed: Wounded civilian animation in dedicated server environment. Thanks to [veteran29](https://github.com/veteran29)
|
||||
* Fixed: With ACE you could take unconscious AI as POW.
|
||||
* Fixed: You couldn't handcuff surrendered AI with ACE zipties.
|
||||
|
||||
### 0.961 (6th November 2017)
|
||||
* Added: ACE auto detection. (BI Revive still has to be disabled manually)
|
||||
|
|
Loading…
Reference in New Issue