mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove idle animations for players with lowered weapon
This commit is contained in:
parent
6a1dfe00da
commit
6b9b3bc6bd
1
addons/noidle/$PBOPREFIX$
Normal file
1
addons/noidle/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\noidle
|
35
addons/noidle/CfgMoves.hpp
Normal file
35
addons/noidle/CfgMoves.hpp
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
class CfgMovesBasic {
|
||||||
|
class StandBase;
|
||||||
|
};
|
||||||
|
|
||||||
|
class CfgMovesMaleSdr: CfgMovesBasic {
|
||||||
|
class States {
|
||||||
|
// rifle
|
||||||
|
class AmovPercMstpSlowWrflDnon: StandBase {
|
||||||
|
variantsPlayer[] = {/*"AidlPercMstpSlowWrflDnon_G01",0.5,"AidlPercMstpSlowWrflDnon_G02",0.125,"AidlPercMstpSlowWrflDnon_G03",0.125,"AidlPercMstpSlowWrflDnon_G04",0.125,"AidlPercMstpSlowWrflDnon_G05",0.125*/};
|
||||||
|
};
|
||||||
|
class AmovPknlMstpSlowWrflDnon: AmovPercMstpSlowWrflDnon {
|
||||||
|
variantsPlayer[] = {/*"AidlPknlMstpSlowWrflDnon_G01",0.25,"AidlPknlMstpSlowWrflDnon_G02",0.25,"AidlPknlMstpSlowWrflDnon_G03",0.25*/};
|
||||||
|
};
|
||||||
|
|
||||||
|
// pistol
|
||||||
|
class AmovPercMstpSrasWpstDnon;
|
||||||
|
class AmovPercMstpSlowWpstDnon: AmovPercMstpSrasWpstDnon {
|
||||||
|
variantsPlayer[] = {/*"AidlPercMstpSlowWpstDnon_G01",0.333,"AidlPercMstpSlowWpstDnon_G02",0.333,"AidlPercMstpSlowWpstDnon_G03",0.334*/};
|
||||||
|
};
|
||||||
|
|
||||||
|
class AmovPknlMstpSrasWpstDnon;
|
||||||
|
class AmovPknlMstpSlowWpstDnon: AmovPknlMstpSrasWpstDnon {
|
||||||
|
variantsPlayer[] = {/*"AidlPknlMstpSlowWpstDnon_G03",0.333,"AidlPknlMstpSlowWpstDnon_G02",0.333,"AidlPknlMstpSlowWpstDnon_G01",0.334*/};
|
||||||
|
};
|
||||||
|
|
||||||
|
// none
|
||||||
|
class AmovPercMstpSnonWnonDnon: StandBase {
|
||||||
|
variantsPlayer[] = {/*"AidlPercMstpSnonWnonDnon_G01",0.16,"AidlPercMstpSnonWnonDnon_G02",0.16,"AidlPercMstpSnonWnonDnon_G03",0.16,"AidlPercMstpSnonWnonDnon_G04",0.16,"AidlPercMstpSnonWnonDnon_G05",0.16,"AidlPercMstpSnonWnonDnon_G06",0.16*/};
|
||||||
|
};
|
||||||
|
class AmovPknlMstpSnonWnonDnon: AmovPercMstpSnonWnonDnon {
|
||||||
|
variantsPlayer[] = {/*"AidlPknlMstpSnonWnonDnon_G01",0.33,"AidlPknlMstpSnonWnonDnon_G02",0.33,"AidlPknlMstpSnonWnonDnon_G03",0.33*/};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
15
addons/noidle/config.cpp
Normal file
15
addons/noidle/config.cpp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
class CfgPatches {
|
||||||
|
class ADDON {
|
||||||
|
units[] = {};
|
||||||
|
weapons[] = {};
|
||||||
|
requiredVersion = REQUIRED_VERSION;
|
||||||
|
requiredAddons[] = {"ace_common"};
|
||||||
|
author[] = {"commy2"};
|
||||||
|
authorUrl = "https://github.com/commy2";
|
||||||
|
VERSION_CONFIG;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#include "CfgMoves.hpp"
|
12
addons/noidle/script_component.hpp
Normal file
12
addons/noidle/script_component.hpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#define COMPONENT noidle
|
||||||
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_NOIDLE
|
||||||
|
#define DEBUG_MODE_FULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_NOIDLE
|
||||||
|
#define DEBUG_SETTINGS DEBUG_ENABLED_NOIDLE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user