mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
b58807088a
* Overheating - Add Bolt Type stat to arsenal * Add stat for barrel swapping * Update addons/overheating/ACE_Arsenal_Stats.hpp Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/overheating/functions/fnc_statTextStatement_allowSwapBarrel.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
57 lines
1.4 KiB
C++
57 lines
1.4 KiB
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
name = COMPONENT_NAME;
|
|
units[] = {};
|
|
weapons[] = {"ACE_SpareBarrel_Item"};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ace_interaction"};
|
|
author = ECSTRING(common,ACETeam);
|
|
authors[] = {"commy2", "KoffeinFlummi", "esteldunedain"};
|
|
url = ECSTRING(main,URL);
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
|
|
#include "CfgSounds.hpp"
|
|
|
|
#include "CfgVehicles.hpp"
|
|
|
|
#include "CfgMagazines.hpp"
|
|
|
|
#include "CfgWeapons.hpp"
|
|
|
|
#include "ACE_Settings.hpp"
|
|
|
|
#include "ACE_Arsenal_Stats.hpp"
|
|
|
|
class CfgMovesBasic {
|
|
class ManActions {
|
|
GVAR(GestureMountMuzzle) = QGVAR(GestureMountMuzzle);
|
|
GVAR(GestureDismountMuzzle) = QGVAR(GestureDismountMuzzle);
|
|
};
|
|
|
|
class Actions {
|
|
class NoActions: ManActions {
|
|
GVAR(GestureMountMuzzle)[] = {QGVAR(GestureMountMuzzle), "Gesture"};
|
|
GVAR(GestureDismountMuzzle)[] = {QGVAR(GestureDismountMuzzle), "Gesture"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class CfgGesturesMale {
|
|
class States {
|
|
class GestureMountMuzzle;
|
|
class GVAR(GestureMountMuzzle): GestureMountMuzzle {
|
|
speed = 0.3;
|
|
};
|
|
class GestureDismountMuzzle;
|
|
class GVAR(GestureDismountMuzzle): GestureDismountMuzzle {
|
|
speed = 0.3;
|
|
};
|
|
};
|
|
};
|