Browse Source

Merge branch 'How_many_pews' of 501st-Aux-Team/501st-Aux-Mod into master

mark 3 years ago
parent
commit
a05bf5bae4

+ 22 - 2
addons/RD501_Weapons/DC_Family/DC_15a/config.cpp

@@ -26,7 +26,7 @@ class CfgPatches
 		};
 		};
 	};
 	};
 };
 };
-
+class mode_FullAuto;
 class cfgWeapons 
 class cfgWeapons 
 {
 {
 	class 3AS_DC15A_Base_F;
 	class 3AS_DC15A_Base_F;
@@ -54,6 +54,7 @@ class cfgWeapons
 			"this",
 			"this",
 			"Stun"
 			"Stun"
 		};
 		};
+		modes[] = {"Single","Burst","FullAuto"};
 		class Stun: RD501_stun_muzzle
 		class Stun: RD501_stun_muzzle
 		{
 		{
 			displayName="High Energy StunMode";
 			displayName="High Energy StunMode";
@@ -68,6 +69,23 @@ class cfgWeapons
 			reloadTime=0.1;
 			reloadTime=0.1;
 			dispersion=0.0006;
 			dispersion=0.0006;
 		};
 		};
+		class FullAuto: Mode_FullAuto
+		{
+			reloadTime = 0.125;
+			dispersion = 0.0006;
+			soundContinuous = 0;
+			soundBurst = 0;
+			sounds[] = {"StandardSound","SilencedSound"};
+			class BaseSoundModeType;
+			class StandardSound: BaseSoundModeType
+			{
+				soundSetShot[] = {"3AS_DC15A_Shot_SoundSet"};
+			};
+			class SilencedSound: BaseSoundModeType
+			{
+				soundSetShot[] = {""};
+			};
+		};
 		class WeaponSlotsInfo: WeaponSlotsInfo
 		class WeaponSlotsInfo: WeaponSlotsInfo
 		{
 		{
 			mass = 30;
 			mass = 30;
@@ -94,7 +112,9 @@ class cfgWeapons
 					"RD501_DMS_4",
 					"RD501_DMS_4",
 					"RD501_MRCO",
 					"RD501_MRCO",
 					"RD501_MRCO_2",
 					"RD501_MRCO_2",
-					"RD501_MRCO_3"
+					"RD501_MRCO_3",
+					"3AS_Optic_Red_DC15A",
+					"3AS_Optic_LEScope_DC15A"
 				};
 				};
 
 
 			};
 			};

+ 3 - 1
addons/RD501_Weapons/DC_Family/DC_15c/config.cpp

@@ -86,7 +86,9 @@ class CfgWeapons
 					"RD501_DMS_4",
 					"RD501_DMS_4",
 					"RD501_MRCO",
 					"RD501_MRCO",
 					"RD501_MRCO_2",
 					"RD501_MRCO_2",
-					"RD501_MRCO_3"
+					"RD501_MRCO_3",
+					"3AS_optic_acog_DC15C",
+					"3AS_optic_reflex_DC15C"
 				};
 				};
 			};
 			};
 			class MuzzleSlot
 			class MuzzleSlot

+ 3 - 1
addons/RD501_Weapons/DC_Family/DC_15gl/config.cpp

@@ -95,7 +95,9 @@ class CfgWeapons
 					"RD501_DMS_4",
 					"RD501_DMS_4",
 					"RD501_MRCO",
 					"RD501_MRCO",
 					"RD501_MRCO_2",
 					"RD501_MRCO_2",
-					"RD501_MRCO_3"
+					"RD501_MRCO_3",
+					"3AS_Optic_Red_DC15A",
+					"3AS_Optic_LEScope_DC15A"
 				};
 				};
 			};
 			};
 			class MuzzleSlot
 			class MuzzleSlot

+ 2 - 1
addons/RD501_Weapons/DC_Family/DC_15l/config.cpp

@@ -78,7 +78,8 @@ class CfgWeapons
 					"RD501_DMS_4",
 					"RD501_DMS_4",
 					"RD501_MRCO",
 					"RD501_MRCO",
 					"RD501_MRCO_2",
 					"RD501_MRCO_2",
-					"RD501_MRCO_3"
+					"RD501_MRCO_3",
+					"3AS_Optic_DC15L"
 				};
 				};
 
 
 			};
 			};

+ 2 - 1
addons/RD501_Weapons/DC_Family/DC_15s/config.cpp

@@ -94,7 +94,8 @@ class cfgWeapons
 					"RD501_DMS_4",
 					"RD501_DMS_4",
 					"RD501_MRCO",
 					"RD501_MRCO",
 					"RD501_MRCO_2",
 					"RD501_MRCO_2",
-					"RD501_MRCO_3"
+					"RD501_MRCO_3",
+					"3AS_optic_reflex_DC15C"
 				};
 				};
 			};
 			};
 			class MuzzleSlot
 			class MuzzleSlot

+ 2 - 1
addons/RD501_Weapons/Westar/config.cpp

@@ -77,7 +77,8 @@ class cfgWeapons
 					"RD501_DMS_4",
 					"RD501_DMS_4",
 					"RD501_MRCO",
 					"RD501_MRCO",
 					"RD501_MRCO_2",
 					"RD501_MRCO_2",
-					"RD501_MRCO_3"
+					"RD501_MRCO_3",
+					"3AS_Optic_Scope_WestarM5"
 				};
 				};
 			};
 			};
 			class MuzzleSlot
 			class MuzzleSlot