diff --git a/addons/common/functions/fnc_loadSettingsLocalizedText.sqf b/addons/common/functions/fnc_loadSettingsLocalizedText.sqf
index f846fa9354..6a2711c2a7 100644
--- a/addons/common/functions/fnc_loadSettingsLocalizedText.sqf
+++ b/addons/common/functions/fnc_loadSettingsLocalizedText.sqf
@@ -39,7 +39,7 @@ private _fnc_parseConfigForDisplayNames = {
} else {
private _value = missionNamespace getVariable [_name, -1];
if ((_value < 0) || {_value >= (count _values)}) then {
- ACE_LOGWARNING_3("Setting [%1] out of bounds %2 (values[] count is %3)(", _name, _value, count _values);
+ ACE_LOGWARNING_3("Setting [%1] out of bounds %2 (values[] count is %3)", _name, _value, count _values);
};
};
};
diff --git a/addons/explosives/XEH_postInit.sqf b/addons/explosives/XEH_postInit.sqf
index 651f704a6a..e8f12ca6e3 100644
--- a/addons/explosives/XEH_postInit.sqf
+++ b/addons/explosives/XEH_postInit.sqf
@@ -36,16 +36,40 @@ GVAR(Setup) = objNull;
GVAR(pfeh_running) = false;
GVAR(CurrentSpeedDial) = 0;
-// Properly angle preplaced bottom-attack SLAMs
-{
- if (local _x) then {
- switch (typeOf _x) do {
- case ("ACE_SLAMDirectionalMine_Magnetic_Ammo"): {
- [_x, getDir _x, 90] call FUNC(setPosition);
- };
+// In case we are a JIP client, ask the server for orientation of any previously
+// placed mine.
+if (isServer) then {
+ ["clientRequestsOrientations", {
+ params ["_logic"];
+ TRACE_1("clientRequestsOrientations received:",_logic);
+ // Filter the array before sending it
+ GVAR(explosivesOrientations) = GVAR(explosivesOrientations) select {
+ _x params ["_explosive"];
+ (!isNull _explosive && {alive _explosive})
};
- };
-} forEach allMines;
+ TRACE_1("serverSendsOrientations sent:",GVAR(explosivesOrientations));
+ ["serverSendsOrientations", _logic, [GVAR(explosivesOrientations)]] call EFUNC(common,targetEvent);
+ }] call EFUNC(common,addEventHandler);
+} else {
+ ["serverSendsOrientations", {
+ params ["_explosivesOrientations"];
+ TRACE_1("serverSendsOrientations received:",_explosivesOrientations);
+ {
+ _x params ["_explosive","_direction","_pitch"];
+ TRACE_3("orientation set:",_explosive,_direction,_pitch);
+ [_explosive, _direction, _pitch] call FUNC(setPosition);
+ } forEach _explosivesOrientations;
+ private _group = group GVAR(localLogic);
+ deleteVehicle GVAR(localLogic);
+ GVAR(localLogic) = nil;
+ deleteGroup _group;
+ }] call EFUNC(common,addEventHandler);
+
+ // Create a logic to get the client ID
+ GVAR(localLogic) = (createGroup sideLogic) createUnit ["Logic", [0,0,0], [], 0, "NONE"];
+ TRACE_1("clientRequestsOrientations sent:",GVAR(localLogic));
+ ["clientRequestsOrientations", [GVAR(localLogic)]] call EFUNC(common,serverEvent);
+};
["interactMenuOpened", {
//Cancel placement if interact menu opened
diff --git a/addons/explosives/XEH_preInit.sqf b/addons/explosives/XEH_preInit.sqf
index 8ec4fa3817..16a9a4124b 100644
--- a/addons/explosives/XEH_preInit.sqf
+++ b/addons/explosives/XEH_preInit.sqf
@@ -19,4 +19,8 @@ ADDON = false;
#include "XEH_PREP.hpp"
+if (isServer) then {
+ GVAR(explosivesOrientations) = []
+};
+
ADDON = true;
diff --git a/addons/explosives/functions/fnc_setPosition.sqf b/addons/explosives/functions/fnc_setPosition.sqf
index b19e63ff5a..430f926138 100644
--- a/addons/explosives/functions/fnc_setPosition.sqf
+++ b/addons/explosives/functions/fnc_setPosition.sqf
@@ -29,3 +29,15 @@ if (isNull (attachedTo _explosive)) then {
//Attaching to a vehicle (dirAndUp based on vehicle)
_explosive setVectorDirAndUp [[0,0,1],[(sin _direction),(cos _direction),0]];
};
+
+if (isServer) then {
+ // Store the orientation to broadcast it later to JIP players
+ GVAR(explosivesOrientations) pushBack [_explosive, _direction, _pitch];
+
+ // This is a good time to filter the array and remove explosives that no longer exist
+ GVAR(explosivesOrientations) = GVAR(explosivesOrientations) select {
+ _x params ["_explosive"];
+ (!isNull _explosive && {alive _explosive})
+ };
+ TRACE_1("setPosition",GVAR(explosivesOrientations));
+};
diff --git a/addons/explosives/stringtable.xml b/addons/explosives/stringtable.xml
index 43ccb48a4c..c63c990a16 100644
--- a/addons/explosives/stringtable.xml
+++ b/addons/explosives/stringtable.xml
@@ -91,6 +91,7 @@
BlokovánoZablokowanyBloccato
+ BlockiertBloqué
@@ -730,4 +731,4 @@
Conectar à %1
-
\ No newline at end of file
+
diff --git a/addons/fastroping/$PBOPREFIX$ b/addons/fastroping/$PBOPREFIX$
new file mode 100644
index 0000000000..352dc2c83a
--- /dev/null
+++ b/addons/fastroping/$PBOPREFIX$
@@ -0,0 +1 @@
+z\ace\addons\fastroping
diff --git a/addons/fastroping/CfgEventHandlers.hpp b/addons/fastroping/CfgEventHandlers.hpp
new file mode 100644
index 0000000000..e75956f440
--- /dev/null
+++ b/addons/fastroping/CfgEventHandlers.hpp
@@ -0,0 +1,11 @@
+class Extended_PreInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_preInit));
+ };
+};
+
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_postInit));
+ };
+};
diff --git a/addons/fastroping/CfgMoves.hpp b/addons/fastroping/CfgMoves.hpp
new file mode 100644
index 0000000000..da2d0f0613
--- /dev/null
+++ b/addons/fastroping/CfgMoves.hpp
@@ -0,0 +1,39 @@
+class CfgMovesBasic {
+ class DefaultDie;
+ class ManActions {
+ ACE_FastRoping = "ACE_FastRoping";
+ };
+};
+
+class CfgMovesMaleSdr: CfgMovesBasic {
+ class States {
+ class Crew;
+ class ACE_freefallLoop: Crew {
+ file = PATHTOF(anim\freefallLoop.rtm);
+ interpolateTo[] = {"Unconscious", 1};
+ disableWeapons = 1;
+ disableWeaponsLong = 1;
+ canReload = 0;
+ looped = 1;
+ speed = 0.204082;
+ };
+ class ACE_freefallStart: Crew {
+ file = PATHTOF(anim\freefallStart.rtm);
+ interpolateTo[] = {"Unconscious", 1};
+ disableWeapons = 1;
+ disableWeaponsLong = 1;
+ canReload = 0;
+ looped = 0;
+ speed = 0.61224502;
+ };
+ class ACE_slidingLoop: Crew {
+ file = PATHTOF(anim\slidingLoop.rtm);
+ interpolateTo[] = {"Unconscious", 1};
+ disableWeapons = 1;
+ disableWeaponsLong = 1;
+ canReload = 0;
+ looped = 1;
+ speed = 0.441176;
+ };
+ };
+};
diff --git a/addons/fastroping/CfgVehicles.hpp b/addons/fastroping/CfgVehicles.hpp
new file mode 100644
index 0000000000..560f60cffc
--- /dev/null
+++ b/addons/fastroping/CfgVehicles.hpp
@@ -0,0 +1,207 @@
+#define EQUIP_FRIES_ATTRIBUTE class Attributes { \
+ class GVAR(equipFRIES) { \
+ property = QGVAR(equipFRIES); \
+ control = "Checkbox"; \
+ displayName = CSTRING(Eden_equipFRIES); \
+ tooltip = CSTRING(Eden_equipFRIES_Tooltip); \
+ expression = [_this] call FUNC(equipFRIES); \
+ typeName = "BOOL"; \
+ condition = "objectVehicle"; \
+ defaultValue = false; \
+ }; \
+}
+
+class CfgVehicles {
+ class Building;
+ class NonStrategic: Building {
+ class AnimationSources;
+ };
+ class ACE_friesBase: NonStrategic {
+ destrType = "";
+ };
+ class ACE_friesAnchorBar: ACE_friesBase {
+ author = "jokoho48";
+ scope = 1;
+ model = PATHTOF(data\friesAnchorBar.p3d);
+ animated = 1;
+ class AnimationSources: AnimationSources {
+ class extendHookRight {
+ source = "user";
+ initPhase = 0;
+ animPeriod = 1.5;
+ };
+ class extendHookLeft {
+ source = "user";
+ initPhase = 0;
+ animPeriod = 1.5;
+ };
+ };
+ };
+ class ACE_friesGantry: ACE_friesBase {
+ author = "jokoho48";
+ scope = 1;
+ model = PATHTOF(data\friesGantry.p3d);
+ animated = 1;
+ class AnimationSources: AnimationSources {
+ class adjustWidth {
+ source = "user";
+ initPhase = 0.211;
+ animPeriod = 0;
+ };
+ class rotateGantryLeft {
+ source = "user";
+ initPhase = 0;
+ animPeriod = 0;
+ };
+ class rotateGantryRight {
+ source = "user";
+ initPhase = 0;
+ animPeriod = 0;
+ };
+ };
+ };
+ class ACE_friesGantryReverse: ACE_friesGantry {
+ class AnimationSources: AnimationSources {
+ class adjustWidth {
+ source = "user";
+ initPhase = 0.213;
+ animPeriod = 0;
+ };
+ class rotateGantryLeft {
+ source = "user";
+ initPhase = 0.5;
+ animPeriod = 0;
+ };
+ class rotateGantryRight {
+ source = "user";
+ initPhase = 0.5;
+ animPeriod = 0;
+ };
+ };
+ };
+
+ class Logic;
+ class Module_F: Logic {
+ class ModuleDescription;
+ };
+ class ACE_Module: Module_F {};
+ class ACE_moduleEquipFRIES: ACE_Module {
+ scope = 2;
+ displayName = CSTRING(Module_FRIES_DisplayName);
+ icon = QUOTE(PATHTOF(UI\Icon_Module_FRIES_ca.paa));
+ category = "ACE";
+ function = QUOTE(FUNC(moduleEquipFRIES));
+ functionPriority = 10;
+ isGlobal = 0;
+ isTriggerActivated = 0;
+ isDisposable = 0;
+ author = "BaerMitUmlaut";
+
+ class ModuleDescription: ModuleDescription {
+ description = CSTRING(Module_FRIES_Description);
+ sync[] = {"AnyVehicle"};
+ };
+ };
+
+ class Air;
+ class Helicopter: Air {
+ class ACE_SelfActions {
+ class ACE_prepareFRIES {
+ displayName = CSTRING(Interaction_prepareFRIES);
+ condition = [vehicle _player] call FUNC(canPrepareFRIES);
+ statement = [vehicle _player] call FUNC(prepareFRIES);
+ showDisabled = 0;
+ priority = 1;
+ };
+ class ACE_deployRopes {
+ displayName = CSTRING(Interaction_deployRopes);
+ condition = [_player, vehicle _player] call FUNC(canDeployRopes);
+ statement = [QGVAR(deployRopes), [vehicle _player]] call EFUNC(common,serverEvent);
+ showDisabled = 0;
+ priority = 1;
+ };
+ class ACE_cutRopes {
+ displayName = CSTRING(Interaction_cutRopes);
+ condition = [vehicle _player] call FUNC(canCutRopes);
+ statement = [vehicle _player] call FUNC(cutRopes);
+ showDisabled = 0;
+ priority = 1;
+ };
+ class ACE_fastRope {
+ displayName = CSTRING(Interaction_fastRope);
+ condition = [_player, vehicle _player] call FUNC(canFastRope);
+ statement = [_player, vehicle _player] call FUNC(fastRope);
+ showDisabled = 0;
+ priority = 1;
+ };
+ };
+ };
+
+ class Helicopter_Base_H;
+ class Helicopter_Base_F;
+
+ class GVAR(helper): Helicopter_Base_F {
+ author = "KoffeinFlummi";
+ scope = 1;
+ model = PATHTOF(data\helper.p3d);
+ class ACE_Actions {
+ class ACE_MainActions {
+ condition = "false";
+ };
+ };
+ class Turrets {};
+ };
+
+ class Heli_Light_02_base_F: Helicopter_Base_H {
+ GVAR(enabled) = 1;
+ GVAR(ropeOrigins[]) = {{1.41, 1.38, 0}, {-1.41, 1.38, 0}};
+ GVAR(onPrepare) = QFUNC(onPrepareCommon);
+ GVAR(onCut) = QFUNC(onCutCommon);
+ };
+ class Heli_Attack_02_base_F: Helicopter_Base_F {
+ GVAR(enabled) = 1;
+ GVAR(ropeOrigins[]) = {{1.25, 1.5, -0.6}, {-1.1, 1.5, -0.6}};
+ GVAR(onPrepare) = QFUNC(onPrepareCommon);
+ GVAR(onCut) = QFUNC(onCutCommon);
+ };
+ class Heli_Transport_01_base_F: Helicopter_Base_H {
+ GVAR(enabled) = 2;
+ GVAR(ropeOrigins[]) = {"ropeOriginRight", "ropeOriginLeft"};
+ GVAR(friesType) = "ACE_friesAnchorBar";
+ GVAR(friesAttachmentPoint[]) = {0.065, 2.2, -0.15};
+ GVAR(onPrepare) = QFUNC(onPrepareCommon);
+ GVAR(onCut) = QFUNC(onCutCommon);
+ EQUIP_FRIES_ATTRIBUTE;
+ };
+ class Heli_Transport_02_base_F: Helicopter_Base_H {
+ GVAR(enabled) = 1;
+ GVAR(ropeOrigins[]) = {{0.94, -4.82, -1.16}, {-0.94, -4.82, -1.16}};
+ };
+ class Heli_Transport_03_base_F: Helicopter_Base_H {
+ GVAR(enabled) = 1;
+ GVAR(ropeOrigins[]) = {{0.75, -5.29, -0.11}, {-0.87, -5.29, -0.11}};
+ };
+ class Heli_light_03_base_F: Helicopter_Base_F {
+ GVAR(enabled) = 2;
+ GVAR(ropeOrigins[]) = {"ropeOriginRight", "ropeOriginLeft"};
+ GVAR(friesType) = "ACE_friesGantryReverse";
+ GVAR(friesAttachmentPoint[]) = {1.04, 2.5, -0.34};
+ EQUIP_FRIES_ATTRIBUTE;
+ };
+ class Heli_light_03_unarmed_base_F: Heli_light_03_base_F {
+ GVAR(enabled) = 2;
+ GVAR(ropeOrigins[]) = {"ropeOriginRight", "ropeOriginLeft"};
+ GVAR(friesType) = "ACE_friesGantry";
+ GVAR(friesAttachmentPoint[]) = {-1.07, 3.26, -0.5};
+ EQUIP_FRIES_ATTRIBUTE;
+ };
+ class Heli_Transport_04_base_F;
+ class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F {
+ GVAR(enabled) = 1;
+ GVAR(ropeOrigins[]) = {{1.03, 1.6, -0.23}, {1.03, -1.36, -0.23}, {-1.23, 1.6, -0.23}, {-1.23, -1.36, -0.23}};
+ };
+ class O_Heli_Transport_04_covered_F: Heli_Transport_04_base_F {
+ GVAR(enabled) = 1;
+ GVAR(ropeOrigins[]) = {{0.83, -4.7, -0.03}, {-1.02, -4.7, -0.03}};
+ };
+};
diff --git a/addons/fastroping/UI/Icon_Module_FRIES_ca.paa b/addons/fastroping/UI/Icon_Module_FRIES_ca.paa
new file mode 100644
index 0000000000..9af930e35e
Binary files /dev/null and b/addons/fastroping/UI/Icon_Module_FRIES_ca.paa differ
diff --git a/addons/fastroping/XEH_postInit.sqf b/addons/fastroping/XEH_postInit.sqf
new file mode 100644
index 0000000000..873d1091e5
--- /dev/null
+++ b/addons/fastroping/XEH_postInit.sqf
@@ -0,0 +1,14 @@
+#include "script_component.hpp"
+
+[QGVAR(deployRopes), {
+ _this call FUNC(deployRopes);
+}] call EFUNC(common,addEventHandler);
+
+[QGVAR(startFastRope), {
+ [FUNC(fastRopeServerPFH), 0, _this] call CBA_fnc_addPerFrameHandler;
+}] call EFUNC(common,addEventHandler);
+
+[QGVAR(ropeDetach), {
+ params ["_object", "_rope"];
+ _object ropeDetach _rope;
+}] call EFUNC(common,addEventHandler);
diff --git a/addons/fastroping/XEH_preInit.sqf b/addons/fastroping/XEH_preInit.sqf
new file mode 100644
index 0000000000..39aeb66a94
--- /dev/null
+++ b/addons/fastroping/XEH_preInit.sqf
@@ -0,0 +1,21 @@
+#include "script_component.hpp"
+
+ADDON = false;
+
+PREP(canCutRopes);
+PREP(canDeployRopes);
+PREP(canFastRope);
+PREP(canPrepareFRIES);
+PREP(cutRopes);
+PREP(deployRopes);
+PREP(equipFRIES);
+PREP(fastRope);
+PREP(fastRopeLocalPFH);
+PREP(fastRopeServerPFH);
+PREP(moduleEquipFRIES);
+PREP(onCutCommon);
+PREP(onPrepareCommon);
+PREP(onRopeBreak);
+PREP(prepareFRIES);
+
+ADDON = true;
diff --git a/addons/fastroping/anim/LICENSE b/addons/fastroping/anim/LICENSE
new file mode 100644
index 0000000000..2274430c9b
--- /dev/null
+++ b/addons/fastroping/anim/LICENSE
@@ -0,0 +1,110 @@
+ARMA PUBLIC LICENSE
+https://www.bistudio.com/community/licenses/arma-public-license
+
+Brief summary of this Licence
+
+PLEASE, NOTE THAT THIS SUMMARY HAS NO LEGAL EFFECT AND IS ONLY OF AN INFORMATORY NATURE DESIGNED FOR YOU TO GET THE BASIC INFORMATION ABOUT THE CONTENT OF THIS LICENCE. THE ONLY LEGALLY BINDING PROVISIONS ARE THOSE IN THE ORIGINAL AND FULL TEXT OF THIS LICENCE.
+
+With this licence you are free to adapt (i.e. modify, rework or update) and share (i.e. copy, distribute or transmit) the material under the following conditions:
+
+ Attribution - You must attribute the material in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the material).
+ Noncommercial - You may not use this material for any commercial purposes.
+ Arma Only - You may not convert or adapt this material to be used in other games than Arma.
+
+By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Arma Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
+
+Section 1 - Definitions
+
+ Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
+ Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
+ ArmaOnly means primarily intended for or directed towards the use in any of existing and future Arma games, including but not limited to Arma: Cold War Assault, Arma, Arma 2 and Arma 3 and its official sequels and expansion packs.
+ Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
+ Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
+ Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
+ Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
+ Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
+ Licensor means the individual(s) or entity(ies) granting rights under this Public License.
+ NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange.
+ Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
+ Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
+ You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
+
+Section 2 – Scope
+
+ License grant
+ Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
+ reproduce and Share the Licensed Material, in whole or in part, for NonCommercial and ArmaOnly purposes only; and
+ produce, reproduce, and Share Adapted Material for NonCommercial and ArmaOnly purposes only.
+ Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
+ Term. The term of this Public License is specified in Section 6(a).
+ Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
+ Downstream recipients.
+ Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
+ No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
+ No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(a)(i).
+ Other rights
+ Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
+ Patent and trademark rights are not licensed under this Public License.
+ To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial and ArmaOnly purposes.
+
+Section 3 – License Conditions
+
+Your exercise of the Licensed Rights is expressly made subject to the following conditions.
+
+ Attribution
+
+ If You Share the Licensed Material (including in modified form), You must:
+ retain the following if it is supplied by the Licensor with the Licensed Material:
+ identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
+ a copyright notice;
+ a notice that refers to this Public License;
+ a notice that refers to the disclaimer of warranties;
+ a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
+ indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
+ indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
+ You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
+ If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(a) to the extent reasonably practicable.
+ If You Share Adapted Material You produce, the Adapter’s License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
+
+Section 4 – Sui Generis Database Rights
+
+Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
+
+ for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial and ArmaOnly purposes only;
+ if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
+ You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
+
+Section 5 – Disclaimer of Warranties and Limitation of Liability
+
+ Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
+ To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
+ The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
+
+Section 6 – Term and Termination
+
+ This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
+
+ Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
+ automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
+ upon express reinstatement by the Licensor.
+
+ For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
+ For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
+ Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
+
+Section 7 – Other Terms and Conditions
+
+ The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
+ Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
+
+Section 8 – Interpretation
+
+ For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
+ To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
+ No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
+ Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
+
+Bohemia Interactive Notices
+
+ Bohemia Interactive a.s. is not a party to this License, and makes no warranty whatsoever in connection with the Licensed Material. Bohemia Interactive a.s. will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, Bohemia Interactive a.s. may elect to apply the Public License to material it publishes and in those instances it becomes the "Licensor".
+ Except for the limited purpose of indicating to the public that the Licensed Material is shared under this Public License, Bohemia Interactive a.s. does not authorize the use by either party of the trademarks "Arma", "Bohemia Interactive" or any related trademark or logo of Arma or Bohemia Interactive without the prior written consent of Bohemia Interactive a.s.
diff --git a/addons/fastroping/anim/freefallLoop.rtm b/addons/fastroping/anim/freefallLoop.rtm
new file mode 100644
index 0000000000..1046bdd4c0
Binary files /dev/null and b/addons/fastroping/anim/freefallLoop.rtm differ
diff --git a/addons/fastroping/anim/freefallStart.rtm b/addons/fastroping/anim/freefallStart.rtm
new file mode 100644
index 0000000000..58aeccc0d9
Binary files /dev/null and b/addons/fastroping/anim/freefallStart.rtm differ
diff --git a/addons/fastroping/anim/slidingLoop.rtm b/addons/fastroping/anim/slidingLoop.rtm
new file mode 100644
index 0000000000..def4133633
Binary files /dev/null and b/addons/fastroping/anim/slidingLoop.rtm differ
diff --git a/addons/fastroping/config.cpp b/addons/fastroping/config.cpp
new file mode 100644
index 0000000000..25ec1876fa
--- /dev/null
+++ b/addons/fastroping/config.cpp
@@ -0,0 +1,17 @@
+#include "script_component.hpp"
+
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = {"ace_interaction"};
+ author[] = {"KoffeinFlummi", "BaerMitUmlaut"};
+ authorUrl = "";
+ VERSION_CONFIG;
+ };
+};
+
+#include "CfgEventHandlers.hpp"
+#include "CfgMoves.hpp"
+#include "CfgVehicles.hpp"
diff --git a/addons/fastroping/data/friesAnchorBar.p3d b/addons/fastroping/data/friesAnchorBar.p3d
new file mode 100644
index 0000000000..2b14bb8010
Binary files /dev/null and b/addons/fastroping/data/friesAnchorBar.p3d differ
diff --git a/addons/fastroping/data/friesAnchorBar.rvmat b/addons/fastroping/data/friesAnchorBar.rvmat
new file mode 100644
index 0000000000..06a8415c04
--- /dev/null
+++ b/addons/fastroping/data/friesAnchorBar.rvmat
@@ -0,0 +1,66 @@
+ambient[] = {1,1,1,1};
+diffuse[] = {1,1,1,1};
+forcedDiffuse[] = {0,0,0,0};
+emmisive[] = {0,0,0,0};
+specular[] = {0.071,0.071,0.071,1};
+specularPower = 110;
+PixelShaderID = "Super";
+VertexShaderID = "Super";
+class Stage1 {
+ texture = "z\ace\addons\fastroping\data\friesAnchorBar_nohq.paa";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,0};
+ pos[] = {0,0,0};
+ };
+};
+class Stage2 {
+ texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {10,0,0};
+ up[] = {0,10,0};
+ dir[] = {0,0,0};
+ pos[] = {0,0,0};
+ };
+};
+class Stage3 {
+ texture = "#(argb,8,8,3)color(0,0,0,0,MC)";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,0};
+ pos[] = {0,0,0};
+ };
+};
+class Stage4 {
+ texture = "z\ace\addons\fastroping\data\friesAnchorBar_as.paa";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,1};
+ pos[] = {0,0,1};
+ };
+};
+class Stage5 {
+ texture = "z\ace\addons\fastroping\data\friesAnchorBar_smdi.paa";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,1};
+ pos[] = {0,0,1};
+ };
+};
+class Stage6 {
+ texture = "#(ai,64,64,1)fresnel(4.5,1.1)";
+ uvSource = "none";
+};
+class Stage7 {
+ texture = "a3\data_f\env_land_ca.paa";
+ uvSource = "none";
+};
diff --git a/addons/fastroping/data/friesAnchorBar_as.paa b/addons/fastroping/data/friesAnchorBar_as.paa
new file mode 100644
index 0000000000..5bfbbdd34e
Binary files /dev/null and b/addons/fastroping/data/friesAnchorBar_as.paa differ
diff --git a/addons/fastroping/data/friesAnchorBar_co.paa b/addons/fastroping/data/friesAnchorBar_co.paa
new file mode 100644
index 0000000000..e816dc89ed
Binary files /dev/null and b/addons/fastroping/data/friesAnchorBar_co.paa differ
diff --git a/addons/fastroping/data/friesAnchorBar_nohq.paa b/addons/fastroping/data/friesAnchorBar_nohq.paa
new file mode 100644
index 0000000000..2d46991424
Binary files /dev/null and b/addons/fastroping/data/friesAnchorBar_nohq.paa differ
diff --git a/addons/fastroping/data/friesAnchorBar_smdi.paa b/addons/fastroping/data/friesAnchorBar_smdi.paa
new file mode 100644
index 0000000000..7f8c450eda
Binary files /dev/null and b/addons/fastroping/data/friesAnchorBar_smdi.paa differ
diff --git a/addons/fastroping/data/friesGantry.p3d b/addons/fastroping/data/friesGantry.p3d
new file mode 100644
index 0000000000..e4b54b0ec1
Binary files /dev/null and b/addons/fastroping/data/friesGantry.p3d differ
diff --git a/addons/fastroping/data/friesGantry.rvmat b/addons/fastroping/data/friesGantry.rvmat
new file mode 100644
index 0000000000..7976eefe42
--- /dev/null
+++ b/addons/fastroping/data/friesGantry.rvmat
@@ -0,0 +1,66 @@
+ambient[] = {1,1,1,1};
+diffuse[] = {1,1,1,1};
+forcedDiffuse[] = {0,0,0,0};
+emmisive[] = {0,0,0,0};
+specular[] = {0.071,0.071,0.071,1};
+specularPower = 110;
+PixelShaderID = "Super";
+VertexShaderID = "Super";
+class Stage1 {
+ texture = "z\ace\addons\fastroping\data\friesGantry_nohq.paa";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,0};
+ pos[] = {0,0,0};
+ };
+};
+class Stage2 {
+ texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {10,0,0};
+ up[] = {0,10,0};
+ dir[] = {0,0,0};
+ pos[] = {0,0,0};
+ };
+};
+class Stage3 {
+ texture = "#(argb,8,8,3)color(0,0,0,0,MC)";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,0};
+ pos[] = {0,0,0};
+ };
+};
+class Stage4 {
+ texture = "z\ace\addons\fastroping\data\friesGantry_as.paa";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,1};
+ pos[] = {0,0,1};
+ };
+};
+class Stage5 {
+ texture = "z\ace\addons\fastroping\data\friesGantry_smdi.paa";
+ uvSource = "tex";
+ class uvTransform {
+ aside[] = {1,0,0};
+ up[] = {0,1,0};
+ dir[] = {0,0,1};
+ pos[] = {0,0,1};
+ };
+};
+class Stage6 {
+ texture = "#(ai,64,64,1)fresnel(4.5,1.1)";
+ uvSource = "none";
+};
+class Stage7 {
+ texture = "a3\data_f\env_land_ca.paa";
+ uvSource = "none";
+};
diff --git a/addons/fastroping/data/friesGantry_as.paa b/addons/fastroping/data/friesGantry_as.paa
new file mode 100644
index 0000000000..2b61d9cceb
Binary files /dev/null and b/addons/fastroping/data/friesGantry_as.paa differ
diff --git a/addons/fastroping/data/friesGantry_co.paa b/addons/fastroping/data/friesGantry_co.paa
new file mode 100644
index 0000000000..af3085a90c
Binary files /dev/null and b/addons/fastroping/data/friesGantry_co.paa differ
diff --git a/addons/fastroping/data/friesGantry_nohq.paa b/addons/fastroping/data/friesGantry_nohq.paa
new file mode 100644
index 0000000000..21419b90ab
Binary files /dev/null and b/addons/fastroping/data/friesGantry_nohq.paa differ
diff --git a/addons/fastroping/data/friesGantry_smdi.paa b/addons/fastroping/data/friesGantry_smdi.paa
new file mode 100644
index 0000000000..a11795fa3c
Binary files /dev/null and b/addons/fastroping/data/friesGantry_smdi.paa differ
diff --git a/addons/fastroping/data/helper.p3d b/addons/fastroping/data/helper.p3d
new file mode 100644
index 0000000000..e8b05a4504
Binary files /dev/null and b/addons/fastroping/data/helper.p3d differ
diff --git a/addons/fastroping/data/model.cfg b/addons/fastroping/data/model.cfg
new file mode 100644
index 0000000000..de8c55b45d
--- /dev/null
+++ b/addons/fastroping/data/model.cfg
@@ -0,0 +1,95 @@
+class CfgSkeletons {
+ class Default {
+ isDiscrete = 1;
+ skeletonInherit = "";
+ skeletonBones[] = {};
+ };
+ class ace_friesAnchorBar_skeleton: Default {
+ isDiscrete = 1;
+ skeletonInherit = "Default";
+ skeletonBones[] = {
+ "barRight", "",
+ "barLeft", ""
+ };
+ };
+ class ace_friesGantry_skeleton: Default {
+ isDiscrete = 1;
+ skeletonInherit = "Default";
+ skeletonBones[] = {
+ "gantryRight", "",
+ "gantryLeft", ""
+ };
+ };
+};
+
+class CfgModels {
+ class Default {
+ sectionsInherit = "";
+ sections[] = {""};
+ skeletonName = "";
+ };
+ class friesAnchorBar: Default {
+ skeletonName = "ace_friesAnchorBar_skeleton";
+ sectionsInherit = "";
+ sections[] = {"ropeOriginRight", "ropeOriginLeft"};
+ class animations {
+ class extendHookRight {
+ type = "translation";
+ source = "";
+ selection = "barRight";
+ axis = "slideAxis";
+ animPeriod = 0;
+ minValue = 0;
+ maxValue = 1;
+ minPhase = 0;
+ maxPhase = 1;
+ offset0 = 0;
+ offset1 = 0.45;
+ };
+ class extendHookLeft: extendHookRight {
+ selection = "barLeft";
+ offset1 = -0.45;
+ };
+ };
+ };
+ class friesGantry: Default {
+ skeletonName = "ace_friesGantry_skeleton";
+ sectionsInherit = "";
+ sections[] = {"ropeOriginRight", "ropeOriginLeft"};
+ class animations {
+ class adjustWidth {
+ type = "translation";
+ source = "";
+ selection = "gantryRight";
+ axis = "axisWidth";
+ animPeriod = 0;
+ minValue = 0;
+ maxValue = 1;
+ offset0 = 0;
+ offset1 = 10;
+ };
+ class rotateGantryLeft {
+ type = "rotation";
+ source = "";
+ selection = "gantryLeft";
+ axis = "axisRotation";
+ animPeriod = 0;
+ minValue = 0;
+ maxValue = 1;
+ angle0 = "rad 0";
+ angle1 = "rad 360";
+ };
+ class rotateGantryRight {
+ type = "rotation";
+ source = "";
+ selection = "gantryRight";
+ axis = "axisRotation";
+ animPeriod = 0;
+ minValue = 0;
+ maxValue = 1;
+ angle0 = "rad 0";
+ angle1 = "rad 360";
+ };
+ };
+ };
+};
diff --git a/addons/fastroping/functions/fnc_canCutRopes.sqf b/addons/fastroping/functions/fnc_canCutRopes.sqf
new file mode 100644
index 0000000000..9775b155bb
--- /dev/null
+++ b/addons/fastroping/functions/fnc_canCutRopes.sqf
@@ -0,0 +1,22 @@
+/*
+ * Author: BaerMitUmlaut
+ * Checks if the unit can cut deployed ropes.
+ *
+ * Arguments:
+ * 0: The helicopter itself