mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
better animation for spotting scope, fix #1638
This commit is contained in:
parent
2f54cfadbc
commit
610bb7a1df
28
addons/spottingscope/CfgMoves.hpp
Normal file
28
addons/spottingscope/CfgMoves.hpp
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
|
||||||
|
class CfgMovesBasic {
|
||||||
|
class DefaultDie;
|
||||||
|
|
||||||
|
class ManActions {
|
||||||
|
ACE_SpottingScope = "ACE_SpottingScope";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class CfgMovesMaleSdr: CfgMovesBasic {
|
||||||
|
class States {
|
||||||
|
class ACE_KIA_SpottingScope: DefaultDie {
|
||||||
|
actions = "DeadActions";
|
||||||
|
file = "\A3\anims_f\Data\Anim\Sdr\dth\pne\stp\ras\Rfl\AdthPpneMstpSrasWrflDnon_1";
|
||||||
|
speed = 1;
|
||||||
|
looped = "false";
|
||||||
|
terminal = 1;
|
||||||
|
soundEnabled = 0;
|
||||||
|
connectTo[] = {"Unconscious",0.1};
|
||||||
|
};
|
||||||
|
|
||||||
|
class Crew;
|
||||||
|
class ACE_SpottingScope: Crew {
|
||||||
|
file = "\A3\anims_f\Data\Anim\Sdr\Mov\pne\stp\non\non\AmovPpneMstpSnonWnonDnon";
|
||||||
|
interpolateTo[] = {"ACE_KIA_SpottingScope",1};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
@ -77,7 +77,7 @@ class CfgVehicles {
|
|||||||
gunnerOpticsEffect[] = {"OpticsCHAbera1","OpticsBlur2"};
|
gunnerOpticsEffect[] = {"OpticsCHAbera1","OpticsBlur2"};
|
||||||
gunnerOutOpticsShowCursor = 0;
|
gunnerOutOpticsShowCursor = 0;
|
||||||
gunnerOpticsShowCursor = 0;
|
gunnerOpticsShowCursor = 0;
|
||||||
gunnerAction = "gunner_static_low01";
|
gunnerAction = "ACE_SpottingScope";
|
||||||
gunnerGetInAction = "GetInLow";
|
gunnerGetInAction = "GetInLow";
|
||||||
gunnerGetOutAction = "GetOutLow";
|
gunnerGetOutAction = "GetOutLow";
|
||||||
gunnerForceOptics = 0;
|
gunnerForceOptics = 0;
|
||||||
|
@ -6,11 +6,12 @@ class CfgPatches {
|
|||||||
weapons[] = {"ACE_SpottingScope"};
|
weapons[] = {"ACE_SpottingScope"};
|
||||||
requiredVersion = REQUIRED_VERSION;
|
requiredVersion = REQUIRED_VERSION;
|
||||||
requiredAddons[] = {"ace_apl", "ace_interaction"};
|
requiredAddons[] = {"ace_apl", "ace_interaction"};
|
||||||
author[] = {"Rocko", "Scubaman3D", "Ruthberg"};
|
author[] = {"Rocko", "Scubaman3D", "Ruthberg", "commy2"};
|
||||||
VERSION_CONFIG;
|
VERSION_CONFIG;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "CfgEventHandlers.hpp"
|
#include "CfgEventHandlers.hpp"
|
||||||
#include "CfgVehicles.hpp"
|
#include "CfgVehicles.hpp"
|
||||||
#include "CfgWeapons.hpp"
|
#include "CfgWeapons.hpp"
|
||||||
|
#include "CfgMoves.hpp"
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user