ACE3/addons/captives/CfgMoves.hpp

111 lines
4.8 KiB
C++
Raw Normal View History

2015-02-03 02:04:50 +00:00
class CfgMovesBasic {
2015-02-04 05:56:51 +00:00
class Actions {
class CivilStandActions;
2015-02-06 21:54:26 +00:00
class ACE_CivilStandHandcuffedActions: CivilStandActions {
2015-02-04 05:56:51 +00:00
turnL = "";
turnR = "";
stop = "ACE_AmovPercMstpScapWnonDnon";
StopRelaxed = "ACE_AmovPercMstpScapWnonDnon";
default = "ACE_AmovPercMstpScapWnonDnon";
2015-02-10 05:33:50 +00:00
PutDown = "";
2015-02-04 05:56:51 +00:00
getOver = "";
throwPrepare = "";
throwGrenade[] = {"","Gesture"};
};
2015-02-06 21:54:26 +00:00
class ACE_CivilStandSurrenderActions: ACE_CivilStandHandcuffedActions {
2015-02-10 05:33:50 +00:00
stop = "ACE_AmovPercMstpSsurWnonDnon";
StopRelaxed = "ACE_AmovPercMstpSsurWnonDnon";
default = "ACE_AmovPercMstpSsurWnonDnon";
PutDown = "";
2015-02-06 21:54:26 +00:00
};
2015-08-20 09:20:46 +00:00
class ACE_CivilHandCuffedFFVActions: ACE_CivilStandHandcuffedActions {
stop = "ACE_HandcuffedFFV";
StopRelaxed = "ACE_HandcuffedFFV";
default = "ACE_HandcuffedFFV";
};
2015-02-03 02:04:50 +00:00
};
};
class CfgMovesMaleSdr: CfgMovesBasic {
2015-02-04 05:56:51 +00:00
class StandBase;
class States {
class AmovPercMstpSnonWnonDnon: StandBase {
2015-02-06 21:54:26 +00:00
ConnectTo[] += {"ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpScapWnonDnon",0.1,"ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon",0.1};
2015-02-04 05:56:51 +00:00
};
2015-02-03 02:04:50 +00:00
2015-02-04 05:56:51 +00:00
class CutSceneAnimationBase;
2015-02-06 21:54:26 +00:00
#define MACRO_ANIMATION \
head = "headDefault"; \
aimingBody = "aimingNo"; \
forceAim = 1; \
static = 1;
2015-02-06 21:54:26 +00:00
//Handcuffed Anims:
2015-02-04 05:56:51 +00:00
class ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpScapWnonDnon: CutSceneAnimationBase {
2015-02-06 21:54:26 +00:00
actions = "ACE_CivilStandHandcuffedActions";
2015-02-04 05:56:51 +00:00
file = "\A3\anims_f\Data\Anim\Sdr\mov\erc\stp\non\non\AmovPercMstpSnonWnonDnon_EaseIn";
speed = 1;
looped = 0;
interpolationRestart = 2;
ConnectTo[] = {"ACE_AmovPercMstpScapWnonDnon",0.1};
InterpolateTo[] = {"Unconscious",0.01,"ACE_AmovPercMstpScapWnonDnon_AmovPercMstpSnonWnonDnon",0.1};
2015-03-28 06:46:04 +00:00
canReload = 0;
MACRO_ANIMATION
2015-02-04 05:56:51 +00:00
};
class ACE_AmovPercMstpScapWnonDnon: ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpScapWnonDnon {
file = "\A3\anims_f\Data\Anim\Sdr\mov\erc\stp\non\non\AmovPercMstpSnonWnonDnon_Ease";
speed = 0;
ConnectTo[] = {"ACE_AmovPercMstpScapWnonDnon_AmovPercMstpSnonWnonDnon",0.1};
InterpolateTo[] = {"Unconscious",0.01};
looped = 1;
MACRO_ANIMATION
2015-02-04 05:56:51 +00:00
};
class ACE_AmovPercMstpScapWnonDnon_AmovPercMstpSnonWnonDnon: ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpScapWnonDnon {
actions = "CivilStandActions";
file = "\A3\anims_f\Data\Anim\Sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_easeout";
ConnectTo[] = {"AmovPercMstpSnonWnonDnon",0.1};
InterpolateTo[] = {"Unconscious",0.01,"ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpScapWnonDnon",0.1};
MACRO_ANIMATION
2015-02-04 05:56:51 +00:00
};
2015-02-03 02:04:50 +00:00
2015-08-20 09:20:46 +00:00
//Handcuffed-FFV:
class ACE_HandcuffedFFV: ACE_AmovPercMstpScapWnonDnon {
file = "\A3\cargoposes_F_heli\anim\passenger_flatground_3idleunarmed.rtm";
actions = "ACE_CivilHandCuffedFFVActions";
ConnectTo[] = {};
MACRO_ANIMATION
2015-08-20 09:20:46 +00:00
};
2015-02-06 21:54:26 +00:00
//Surrender Anims:
class ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon: CutSceneAnimationBase {
actions = "ACE_CivilStandSurrenderActions";
file = "\A3\anims_f\Data\Anim\Sdr\mov\erc\stp\non\non\AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon";
speed = 1;
looped = 0;
interpolationRestart = 2;
ConnectTo[] = {"ACE_AmovPercMstpSsurWnonDnon",0.1};
InterpolateTo[] = {"Unconscious",0.01,"ACE_AmovPercMstpSsurWnonDnon_AmovPercMstpSnonWnonDnon",0.1};
2015-03-28 06:46:04 +00:00
canReload = 0;
MACRO_ANIMATION
2015-02-06 21:54:26 +00:00
};
class ACE_AmovPercMstpSsurWnonDnon: ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon {
file = "\A3\anims_f\Data\Anim\Sdr\mov\erc\stp\sur\non\AmovPercMstpSsurWnonDnon";
speed = 0;
looped = 1;
ConnectTo[] = {"ACE_AmovPercMstpSsurWnonDnon_AmovPercMstpSnonWnonDnon",0.1};
InterpolateTo[] = {"Unconscious",0.01};
MACRO_ANIMATION
2015-02-06 21:54:26 +00:00
};
class ACE_AmovPercMstpSsurWnonDnon_AmovPercMstpSnonWnonDnon: ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon {
speed = 0.5; //for gameplay reasons, slow this down
2015-02-06 21:54:26 +00:00
actions = "CivilStandActions";
file = "\A3\anims_f\Data\Anim\Sdr\mov\erc\stp\sur\non\AmovPercMstpSsurWnonDnon_AmovPercMstpSnonWnonDnon";
ConnectTo[] = {"AmovPercMstpSnonWnonDnon",0.1};
InterpolateTo[] = {"Unconscious",0.01,"ACE_AmovPercMstpSnonWnonDnon_AmovPercMstpSsurWnonDnon",0.1};
MACRO_ANIMATION
2015-02-06 21:54:26 +00:00
};
2015-02-03 02:04:50 +00:00
};
2015-02-04 05:56:51 +00:00
};