ACE3/addons/dragging/CfgMovesBasic.hpp
Dániel Boros af54808f67
Dragging - Add new dragging animations (#7950)
* New custom animation added

* Adjusted CfgMoves and the script components

* New drop animation and key handler

* CBA settings and new ManActions added

* Adjustments to the drop animation

* Added translations and fixed some stuff

* Update CfgMovesBasic.hpp

* Fix translations

Co-authored-by: Elgin675 <elgin675@hotmail.com>
Co-authored-by: Blutze <37950828+Blutze@users.noreply.github.com>

* Use the same key to drop object

* Update addons/dragging/stringtable.xml

Co-authored-by: Jo David <github@jonathandavid.de>

* Fix French translation

Co-authored-by: Elgin675 <elgin675@hotmail.com>

* Lower the weapon accuracy of the drag animations

* Removed auto-switch to handgun

* Update fnc_startDrag.sqf

 - Holding a launcher breaks the firing animation.
 - Now the unit has to hold either a primary weapon or handgun.

* Handle the unit's current weapon

Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com>

* Update addons/dragging/functions/fnc_handlePlayerWeaponChanged.sqf

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>

* Update addons/dragging/initSettings.sqf

Co-authored-by: Elgin675 <elgin675@hotmail.com>
Co-authored-by: Blutze <37950828+Blutze@users.noreply.github.com>
Co-authored-by: Jo David <github@jonathandavid.de>
Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com>
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: jonpas <jonpas33@gmail.com>
2021-04-20 13:33:58 +02:00

57 lines
2.2 KiB
C++

class CfgMovesBasic {
class ManActions {
ACE_dragWithPistol = "ace_dragging";
ACE_dragWithRifle = "AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_2";
};
class Actions {
class MoveWithInjuredManDragger;
class MoveWithInjuredManDraggerRfl: MoveWithInjuredManDragger {
Up = "amovpercmstpsraswrfldnon";
};
class MoveWithInjuredManDraggerPst;
class ACE_MoveWithInjuredManDraggerPst: MoveWithInjuredManDraggerPst {
Default = "ace_dragging_static";
FastB = "ace_dragging";
FastLB = "ace_dragging";
FastRB = "ace_dragging";
grabDrag = "ace_dragging_static";
grabCarry = "Helper_SwitchToCarrynon_pst";
HandGunOn = "ace_dragging_static";
PlayerSlowB = "ace_dragging";
PlayerSlowLB = "ace_dragging";
PlayerSlowRB = "ace_dragging";
PlayerTactB = "AmovPknlMtacSrasWpstDb";
PlayerTactF = "AmovPknlMtacSrasWpstDf";
PlayerTactL = "AmovPknlMtacSrasWpstDl";
PlayerTactLB = "AmovPknlMtacSrasWpstDbl";
PlayerTactLF = "AmovPknlMtacSrasWpstDfl";
PlayerTactR = "AmovPknlMtacSrasWpstDr";
PlayerTactRB = "AmovPknlMtacSrasWpstDbr";
PlayerTactRF = "AmovPknlMtacSrasWpstDfr";
PlayerWalkB = "ace_dragging";
PlayerWalkLB = "ace_dragging";
PlayerWalkRB = "ace_dragging";
released = "ace_dragging_drop";
SlowB = "ace_dragging";
SlowLB = "ace_dragging";
SlowRB = "ace_dragging";
Stop = "ace_dragging_static";
StopRelaxed = "ace_dragging_static";
TactB = "AmovPknlMtacSrasWpstDb";
TactF = "AmovPknlMtacSrasWpstDf";
TactL = "AmovPknlMtacSrasWpstDl";
TactLB = "AmovPknlMtacSrasWpstDbl";
TactLF = "AmovPknlMtacSrasWpstDfl";
TactR = "AmovPknlMtacSrasWpstDr";
TactRB = "AmovPknlMtacSrasWpstDbr";
TactRF = "AmovPknlMtacSrasWpstDfr";
Up = "ace_dragging_static";
WalkB = "ace_dragging";
WalkLB = "ace_dragging";
WalkRB = "ace_dragging";
};
};
};