Browse Source

Looks pretty good. Needs limited mags and slow move speed applied.

Erliens 4 years ago
parent
commit
175633761d
2 changed files with 30 additions and 21 deletions
  1. 16 21
      addons - Copy/RD501_Weapons/Z6/config.cpp
  2. 14 0
      addons - Copy/RD501_Weapons/config.cpp

+ 16 - 21
addons - Copy/RD501_Weapons/Z6/config.cpp

@@ -19,8 +19,7 @@ class CfgPatches
 		weapons[]={
 			macro_new_weapon_nofam(Z6),
 			"SWOP_Valken38XAuto_XD",
-			macro_new_weapon(chaingun,z6x),
-			macro_new_weapon(Z1000)
+			macro_new_weapon_nofam(Z1000)
 		};
 	};
 };
@@ -29,6 +28,7 @@ class Mode_SemiAuto;
 class cfgWeapons 
 {	
 	class Rifle_Base_F;
+	class Mode_FullAuto;
 	class SW_Z6_base_F:Rifle_Base_F
 	{
 		class WeaponSlotsInfo;
@@ -103,23 +103,18 @@ class cfgWeapons
 		};
 
 	};
-	class Launcher;
-	class Launcher_Base_F: Launcher
-	{
-		
-	};
-	class 3AS_Chaingun: Launcher_Base_F
-	{
-		class WeaponSlotsInfo;
-	};
-	class macro_new_weapon(z1000): 3AS_Chaingun
-	{
-		scope=2;
-		scopeArsenal=2;
-		displayName="Z1000 Chaingun";
-		_generalMacro="launch_RPG32_F";
-		
-	};
+	class 3AS_Chaingun;
+    class macro_new_weapon_nofam(z1000): 3AS_Chaingun
+    {
+        scope=2;
+        scopeArsenal=2;
+        displayName="Z1000 Chaingun";
+        _generalMacro="launch_RPG32_F";
+		magazines[]=
+		{
+			macro_new_mag(z1000,3000)
+		};
+    };
 	class SWOP_BlasterRifle_Base;
 	class SWOP_Valken38XAuto:SWOP_BlasterRifle_Base
 	{
@@ -328,7 +323,7 @@ class cfgWeapons
 
 	};
 
-	class OPTRE_UnguidedLauncher_Base;
+	/*class OPTRE_UnguidedLauncher_Base;
 	class OPTRE_M41_SSR:OPTRE_UnguidedLauncher_Base
 	{
 		class Single;
@@ -420,7 +415,7 @@ class cfgWeapons
 			maxRange = 600;
 			maxRangeProbab = 0.1;
 		};
-	};
+	};*/
 
 };
 

+ 14 - 0
addons - Copy/RD501_Weapons/config.cpp

@@ -509,6 +509,14 @@ class CfgMagazines
 		tracersEvery = 100;
 		ACE_isBelt = 1;
 	};
+	class 3AS_Chaingun_Drum_Mag;
+	class macro_new_mag(z1000,3000) : 3AS_Chaingun_Drum_Mag
+	{
+		count = 3000;
+		ammo = macro_new_ammo(z1000)
+		displayName="3000Rnd Z1000 Chaingun Drum";
+		initSpeed=400;
+	};
 	
 };
 
@@ -534,6 +542,7 @@ class CfgAmmo
 	class A_RocketHH15Clone_HEAT_FireForget;
 	class M_Titan_AA;
 	class DH17_Blaster_Ammo;
+	class 3AS_Chaingun_Ammo;
 
 	class macro_new_ammo(westar_35):SWOP_DC17_Ammo
 	{
@@ -1006,6 +1015,11 @@ class CfgAmmo
 			distance = 1;
 		};
 	};
+	class macro_new_ammo(z1000) : 3AS_Chaingun_Ammo
+	{
+		hit=57.45;
+		caliber=8;
+	};
 	
 
 };