Quellcode durchsuchen

titans removed dagrs added

Sakke vor 3 Jahren
Ursprung
Commit
318e106d95

+ 5 - 1
addons/RD501_Vehicle_Weapons/_mags/config.cpp

@@ -36,6 +36,7 @@ class CfgMagazines
 	class 4Rnd_BombCluster_02_F;
 	class PylonRack_Bomb_SDB_x4;
 	class 2Rnd_GBU12_LGB;
+	class 12Rnd_PG_missiles;
 	class macro_new_mag(cluster_bomb,4) : 4Rnd_BombCluster_02_F
 	{
 		ammo = MACRO_QUOTE(macro_new_ammo(cluster_bomb));
@@ -452,5 +453,8 @@ class CfgMagazines
 		muzzleImpulseFactor = 0;
 		maxLeadSpeed = 600;
 	};
-	
+	class macro_new_mag(mynock_apc_dagr,16) : 12Rnd_PG_missiles//16Rnd_PG_missiles
+	{
+		count = 16;
+	};
 };

+ 9 - 1
addons/RD501_Vehicle_Weapons/land/tank_cannons/config.cpp

@@ -22,7 +22,8 @@ class CfgPatches
 			macro_new_weapon(aat_cannon,king),
 			macro_new_weapon(atte,mbt),
 			macro_new_weapon(mynock_cannon,mbt),
-			macro_new_weapon(mynock_cannon,td)
+			macro_new_weapon(mynock_cannon,td),
+			macro_new_weapon(mynock_Dagr,apc)
 		};
 	};
 };
@@ -30,6 +31,7 @@ class CfgPatches
 class CfgWeapons
 {
 	class 3AS_HeavyGATCannon_Base;
+	class missiles_DAGR; 
 	class 3AS_GATCannon:3AS_HeavyGATCannon_Base
 	{
 		class manual;
@@ -215,5 +217,11 @@ class CfgWeapons
 			aiDispersionCoefY = 2;
 		};
 	};
+	class macro_new_weapon(mynock_Dagr,apc):missiles_DAGR
+	{
+		magazines[] = {
+			macro_new_mag(mynock_apc_dagr,16)	
+		};
+	};
 }; 
 

+ 2 - 2
addons/RD501_Vehicles/land/bantha/config.cpp

@@ -191,8 +191,8 @@ class CfgVehicles
 		{
 			class MainTurret:MainTurret
 			{
-				weapons[] = {"212th_autocannon_Z20_HBB","missiles_DAGR","missiles_titan"};
-				magazines[] = {"212th_500Rnd_Z20_HBB","212th_500Rnd_Z20_HBB","212th_500Rnd_Z20_HBB","212th_500Rnd_Z20_HBB","12Rnd_PG_missiles","2Rnd_GAT_missiles"};
+				weapons[] = {"212th_autocannon_Z20_HBB",macro_new_weapon(mynock_Dagr,apc)};
+				magazines[] = {"212th_500Rnd_Z20_HBB","212th_500Rnd_Z20_HBB","212th_500Rnd_Z20_HBB","212th_500Rnd_Z20_HBB",macro_new_mag(mynock_apc_dagr,16)};
 				class HitPoints:HitPoints
 				{
 					class HitTurret:HitTurret