Cleanup config & allow LIM-85 to swap barrel (#8409)

This commit is contained in:
Salluci 2021-09-01 14:11:02 -03:00 committed by GitHub
parent 0c1d7177c0
commit 10e56c090d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,16 +10,16 @@ class CfgWeapons {
//Slowdown Factor (this will be scaled based on the barrel temp)
GVAR(slowdownFactor) = 1;
};
class Rifle_Base_F : Rifle {};
class Rifle_Long_Base_F : Rifle_Base_F {
class Rifle_Base_F;
class Rifle_Long_Base_F: Rifle_Base_F {
GVAR(dispersion) = 0.75;
};
class arifle_MX_Base_F : Rifle_Base_F {
class arifle_MX_Base_F: Rifle_Base_F {
// Custom jam clearing action. Default uses reload animation.
ACE_clearJamAction = "GestureReloadMX";
};
class arifle_MX_SW_F : arifle_MX_Base_F {
class arifle_MX_SW_F: arifle_MX_Base_F {
// Custom jam clearing action. Use empty string to undefine.
ACE_clearJamAction = "";
// 1 to enable barrel swap. 0 to disable. Meant for machine guns where you can easily swap the barrel without dismantling the whole weapon.
@ -32,10 +32,13 @@ class CfgWeapons {
class MMG_02_base_F: Rifle_Long_Base_F {
GVAR(allowSwapBarrel) = 1;
};
class LMG_Zafir_F : Rifle_Long_Base_F {
class LMG_Zafir_F: Rifle_Long_Base_F {
GVAR(allowSwapBarrel) = 1;
};
class LMG_Mk200_F : Rifle_Long_Base_F {
class LMG_Mk200_F: Rifle_Long_Base_F {
GVAR(allowSwapBarrel) = 1;
};
class LMG_03_Base_F: Rifle_Long_Base_F {
GVAR(allowSwapBarrel) = 1;
};
class ACE_ItemCore;