better animation for spotting scope, fix #1638

This commit is contained in:
commy2 2015-08-30 13:10:25 +02:00
parent 2f54cfadbc
commit 610bb7a1df
4 changed files with 32 additions and 3 deletions

View 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};
};
};
};

View File

@ -77,7 +77,7 @@ class CfgVehicles {
gunnerOpticsEffect[] = {"OpticsCHAbera1","OpticsBlur2"};
gunnerOutOpticsShowCursor = 0;
gunnerOpticsShowCursor = 0;
gunnerAction = "gunner_static_low01";
gunnerAction = "ACE_SpottingScope";
gunnerGetInAction = "GetInLow";
gunnerGetOutAction = "GetOutLow";
gunnerForceOptics = 0;

View File

@ -6,11 +6,12 @@ class CfgPatches {
weapons[] = {"ACE_SpottingScope"};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_apl", "ace_interaction"};
author[] = {"Rocko", "Scubaman3D", "Ruthberg"};
author[] = {"Rocko", "Scubaman3D", "Ruthberg", "commy2"};
VERSION_CONFIG;
};
};
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"
#include "CfgWeapons.hpp"
#include "CfgMoves.hpp"