ACE3/addons/dragging/CfgMovesMaleSdr.hpp

139 lines
3.9 KiB
C++
Raw Normal View History

2019-10-05 20:32:38 +00:00
class CfgMovesMaleSdr: CfgMovesBasic {
2021-04-20 15:37:22 +00:00
class InjuredMovedBase;
class AgonyBaseRfl;
class StandBase;
2019-10-05 20:32:38 +00:00
class States {
class AcinPknlMstpSnonWnonDnon_AcinPercMrunSnonWnonDnon: InjuredMovedBase {
speed = -10; // 1/10
};
2021-04-20 11:33:58 +00:00
2019-10-05 20:32:38 +00:00
class AinjPfalMstpSnonWrflDnon_carried_Up: AgonyBaseRfl {
speed = -10; // 1/10
};
2021-04-20 11:33:58 +00:00
// For dragging with rifles
class AmovPercMstpSlowWrflDnon;
class AmovPercMstpSrasWrflDnon: AmovPercMstpSlowWrflDnon {
ConnectTo[] += {
"ace_dragging_rifle_limpB",
2021-04-20 11:33:58 +00:00
0.1
};
};
class AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_1;
2021-04-20 11:33:58 +00:00
class AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_2: AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_1 {
aiming = "aimingDefault";
aimingBody = "aimingUpDefault";
aimPrecision = 5; // default: 1
ConnectTo[] += {
"ace_dragging_rifle_limpB",
0.1
};
InterpolateTo[] += {
"ace_dragging_rifle_limpB",
0.1
};
};
class AcinPknlMstpSrasWrflDnon: AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_1 {
ConnectTo[] += {
"ace_dragging_rifle_limpB",
0.1
};
InterpolateTo[] += {
"ace_dragging_rifle_limpB",
0.1
};
};
class AcinPknlMwlkSrasWrflDb: AmovPercMstpSlowWrflDnon_AcinPknlMwlkSlowWrflDb_1 {
ConnectTo[] += {
"ace_dragging_rifle_limpB",
0.1
};
InterpolateTo[] += {
"ace_dragging_rifle_limpB",
0.1
};
};
class ace_dragging_rifle_limpB: AcinPknlMwlkSrasWrflDb {
speed = 0.5;
};
// For dragging with pistols
class AmovPercMstpSrasWpstDnon: StandBase {
ConnectTo[] += {
"ace_dragging",
0.1,
"ace_dragging_limpB",
0.1,
"ace_dragging_static",
0.1
};
2021-04-20 11:33:58 +00:00
};
class DraggerBase;
2021-04-20 11:33:58 +00:00
class ace_dragging: DraggerBase {
actions = "ACE_MoveWithInjuredManDraggerPst";
2021-04-20 11:33:58 +00:00
aiming = "aimingPistol";
aimingBody = "aimingPistol";
aimPrecision = 2; // default: 1
canPullTrigger = 1;
canReload = 0;
ConnectTo[] = {
"ace_dragging",
0.1,
"ace_dragging_limpB",
0.1,
2021-04-20 11:33:58 +00:00
"ace_dragging_drop",
0.2,
"ace_dragging_static",
0.1
2021-04-20 11:33:58 +00:00
};
disableWeapons = 0;
duty = 0.6;
enableBinocular = 0;
file = QPATHTO_T(anim\ace_dragging.rtm);
InterpolateTo[] = {
"ace_dragging",
0.1,
"ace_dragging_limpB",
0.1,
"ace_dragging_drop",
0.2,
2021-04-20 11:33:58 +00:00
"ace_dragging_static",
0.1
};
interpolationSpeed = 5;
limitGunMovement = 0.2;
looped = 1;
showHandGun = 1;
turnSpeed = 0.5;
};
class ace_dragging_limpB: ace_dragging {
speed = 0.5;
};
2021-04-20 11:33:58 +00:00
class ace_dragging_static: ace_dragging {
speed = 0;
};
2021-04-20 15:37:22 +00:00
2021-04-20 11:33:58 +00:00
class ace_dragging_drop: ace_dragging {
ConnectTo[] = {
"AmovPknlMstpSrasWpstDnon",
0.1
};
file = QPATHTO_T(anim\ace_dragging_drop.rtm);
InterpolateTo[] = {
"Unconscious",
0.02
};
interpolationSpeed = 5;
looped = 0;
};
2019-10-05 20:32:38 +00:00
};
};