Explorar el Código

IT'S HERE BOYOS THE MOTHER****** FULLAUTO DC15A

Kestrel hace 3 años
padre
commit
e6f05c9f73
Se han modificado 1 ficheros con 19 adiciones y 1 borrados
  1. 19 1
      addons/RD501_Weapons/DC_Family/DC_15a/config.cpp

+ 19 - 1
addons/RD501_Weapons/DC_Family/DC_15a/config.cpp

@@ -26,7 +26,7 @@ class CfgPatches
 		};
 	};
 };
-
+class mode_FullAuto;
 class cfgWeapons 
 {
 	class 3AS_DC15A_Base_F;
@@ -54,6 +54,7 @@ class cfgWeapons
 			"this",
 			"Stun"
 		};
+		modes[] = {"Single","Burst","FullAuto"};
 		class Stun: RD501_stun_muzzle
 		{
 			displayName="High Energy StunMode";
@@ -68,6 +69,23 @@ class cfgWeapons
 			reloadTime=0.1;
 			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
 		{
 			mass = 30;