Browse Source

Westar, DC15SA, PLX

Erliens 4 years ago
parent
commit
3ffeca0dca

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

@@ -1,4 +1,4 @@
-#define COMPONENT DC_15s
+#define COMPONENT DC_15l
 #include "../../../RD501_main/config_macros.hpp"
 #include "../../_common/common.hpp"
 
@@ -38,6 +38,7 @@ class CfgWeapons
 	{
 		displayName="Republic DC-15L";
 		recoil="recoil_mmg_02";
+		deployedPivot="bipod";
 		dispersion=0.00145;
 		magazines[]=
 		{

+ 37 - 0
addons - Copy/RD501_Weapons/DC_Family/DC_15ss/config.cpp

@@ -0,0 +1,37 @@
+#define COMPONENT DC_15ss
+#include "../../../RD501_main/config_macros.hpp"
+#include "../../_common/common.hpp"
+class CfgPatches
+{
+	class macro_patch_name(dc_15ss)
+	{
+		author="RD501";
+		addonRootClass= macro_patch_name(weapons)
+		requiredAddons[]=
+		{
+			macro_patch_name(weapons)
+		};
+		requiredVersion=0.1;
+		units[]={};
+		weapons[]={
+			macro_new_weapon(DC,15ss)
+		};
+	};
+};
+class CfgWeapons
+{
+	class SWOP_DC15SAPistol;
+	class macro_new_weapon(DC,15ss):SWOP_DC15SAPistol
+	{
+		scope=2;
+		author = "RD501";
+		displayname = "Republic DC-15s Sidearm";
+		descriptionShort = "Heavy Caliber Sidearm";
+		reloadTime=0.75;
+		dispersion=0.00145;
+		magazines[]=
+		{
+			macro_new_mag(30mw,7)
+		};
+	};
+};

+ 66 - 0
addons - Copy/RD501_Weapons/Launchers/RPS6/config.cpp

@@ -0,0 +1,66 @@
+#define COMPONENT RPS6
+#include "../../../RD501_main/config_macros.hpp"
+#include "../../_common/common.hpp"
+class CfgPatches
+{
+	class macro_patch_name(RPS6)
+	{
+		author="RD501";
+		addonRootClass= macro_patch_name(weapons)
+		requiredAddons[]=
+		{
+			macro_patch_name(weapons)
+		};
+		requiredVersion=0.1;
+		units[]={};
+		weapons[]={
+			macro_new_weapon(launcher,RPS6)
+		};
+	};
+};
+class CfgWeapons
+{
+	class 3AS_RPS6_HP;
+	class macro_new_weapon(launcher,RPS6):3AS_RPS6_HP
+	{
+		scope=2;
+		displayName="Republic RPS6 Launcher";
+		weaponInfoType="RscOptics_titan";
+		modelOptics="\A3\Weapons_F_Beta\acc\reticle_titan.p3d";
+		magazines[]=
+		{
+			macro_new_mag(RPS_AT,1),
+			macro_new_mag(RPS_AA,1)
+		};
+		class OpticsModes
+		{
+			class StepScope
+			{
+				opticsID=1;
+				useModelOptics=1;
+				opticsPPEffects[]=
+				{
+					"OpticsCHAbera1",
+					"OpticsBlur1"
+				};
+				opticsFlare=0;
+				opticsZoomMin=0.083329998;
+				opticsZoomMax=0.041669998;
+				opticsZoomInit=0.083329998;
+				distanceZoomMin=300;
+				distanceZoomMax=300;
+				memoryPointCamera="eye";
+				cameraDir="look";
+				visionMode[]=
+				{
+					"Normal",
+					"Ti"
+				};
+				thermalMode[]={0,1};
+				opticsDisablePeripherialVision=1;
+				discretefov[]={0.083329998,0.041669998};
+				discreteInitIndex=0;
+			};
+		};
+	};
+};

+ 27 - 2
addons - Copy/RD501_Weapons/Westar/config.cpp

@@ -7,7 +7,7 @@ class CfgPatches
 {
 	class macro_patch_name(Westar)
 	{
-		author=DANKAUTHORS;
+		author=RD501;
 		addonRootClass= macro_patch_name(weapons)
 		requiredAddons[]=
 		{
@@ -18,7 +18,8 @@ class CfgPatches
 		weapons[]={
 			macro_new_weapon(westar,m5),
 			macro_new_weapon(westar,m5_gl),
-			macro_new_weapon(westar,35)
+			macro_new_weapon(westar,35),
+			macro_new_weapon(westar,rm5)
 		};
 	};
 };
@@ -61,5 +62,29 @@ class cfgWeapons
 	};
 
 	#include "westar_pistol.hpp"
+	class 3AS_WestarM5_Base_F;
+	class 3AS_WestarM5_F:3AS_WestarM5_Base_F
+	{
+		class Single;
+		class FullAuto;
+	};
+	class macro_new_weapon(westar,rm5):3AS_WestarM5_F
+	{
+		scope=2;
+		displayName="Republic Westar M5"
+		magazines[]=
+		{
+				macro_new_mag(10mws,30)
+		};
+		modes[] = {"Single","FullAuto"};
+		class Single:Single
+		{
+			reloadTime=0.1;				
+		};
+		class FullAuto:FullAuto
+		{
+			reloadTime=0.1;
+		};
+	};
 };
 

+ 17 - 5
addons - Copy/RD501_Weapons/_ammo/config.cpp

@@ -49,16 +49,28 @@ class CfgAmmo
 		typicalSpeed=450;
 		caliber=1;
 		airFriction=0;
-		explosive = 0.4;
+		explosive = 0;
+	};
+	class macro_new_ammo(10mws) : 3AS_EC40_BluePlasma
+	{
+		hit=9;
+		airLock=1;
+		typicalSpeed=450;
+		caliber=1;
+		visibleFire=1;
+		audibleFire=5;
+		visibleFireTime=3;
+		airFriction=0;
+		explosive = 0;
 	};
 	class macro_new_ammo(20mw) : 3AS_EC50_BluePlasma
 	{
 		hit=12;
 		airLock=1;
 		typicalSpeed=500;
-		caliber=1.6;
+		caliber=2;
 		airFriction=0;
-		explosive = 0.4;
+		explosive = 0;
 	};
 	class macro_new_ammo(20mwup) : 3AS_EC50_BluePlasma
 	{
@@ -75,14 +87,14 @@ class CfgAmmo
 	{
 		hit=17;
 		airLock=1;
-		typicalSpeed=700;
+		typicalSpeed=800;
 		caliber=2.8;
 		airFriction=0;
 		explosive = 0.2;
 	};
 	class macro_new_ammo(30mw) : 3AS_EC60_BluePlasma
 	{
-		hit=25;
+		hit=35;
 		airLock=1;
 		typicalSpeed=800;
 		caliber=2.4;

+ 22 - 5
addons - Copy/RD501_Weapons/_mag/config.cpp

@@ -23,6 +23,7 @@ class CfgMagazines
 	class DCStun_Mag;
 	class 1Rnd_Smoke_Grenade_shell;
 	class UGL_FlareWhite_F;
+	class SWOP_DC15SA_Ammo;
 	///Rifle/Pistol Magazines
 	class macro_new_mag(2mw,30) : 3AS_45Rnd_EC50_Mag
 	{
@@ -56,6 +57,14 @@ class CfgMagazines
 		typicalSpeed=450;
 		descriptionShort="Medium power magazine";
 	};
+	class macro_new_mag(10mws,30) : 3AS_45Rnd_EC50_Mag
+	{
+		displayName="30 Round 10MW Stealth Cell";
+		count = 30;
+		ammo=macro_new_ammo(10mws)
+		typicalSpeed=450;
+		descriptionShort="Medium power magazine";
+	};
 	class macro_new_mag(10mw,400) : 3AS_45Rnd_EC50_Mag
 	{
 		displayName="400 Round 10MW Cell";
@@ -93,7 +102,7 @@ class CfgMagazines
 		displayName="240 Round 20MW Cell";
 		count = 240;
 		ammo=macro_new_ammo(20mw)
-		typicalSpeed=500;
+		typicalSpeed=800;
 		descriptionShort="Medium power box magazine";
 	};
 	class macro_new_mag(30mw,10) : 3AS_45Rnd_EC50_Mag
@@ -104,6 +113,14 @@ class CfgMagazines
 		typicalSpeed=800;
 		descriptionShort="High power magazine";
 	};
+	class macro_new_mag(30mw,7) : 3AS_45Rnd_EC50_Mag
+	{
+		displayName="7 Round 30MW Cell";
+		count = 7;
+		ammo=macro_new_ammo(30mw)
+		typicalSpeed=800;
+		descriptionShort="High power magazine";
+	};
 	class macro_new_mag(40mw,5) : 3AS_45Rnd_EC50_Mag
 	{
 		displayName="5 Round 40MW Cell";
@@ -144,9 +161,9 @@ class CfgMagazines
 		count=5;
 		picture="\MRC\JLTS\weapons\Core\data\ui\stun_mag_ui_ca.paa";
 	};
-	///
-	///Grenade Launcher Magazines
-	///
+	////////////////////////////////////////////////////
+	/////////Grenade Launcher Magazines/////////////////
+	////////////////////////////////////////////////////
 	class macro_new_mag(UGL_HE,3):1Rnd_HE_Grenade_shell
 	{
 		displayName = "3 Rd HE DC-15A Grenades";
@@ -160,7 +177,7 @@ class CfgMagazines
 		displayName = "2 Rd AP DC-15A Grenades";
 		displayNameShort = "2 Rd AP DC-15A";
 		count=2;
-		ammo = macro_new_ammo(UGL_HE)
+		ammo = macro_new_ammo(UGL_AP)
 		descriptionShort = "2Rd AP DC-15A Grenade";
 	}
 	class macro_new_mag(UGL_EMP,1) : 1Rnd_HE_Grenade_shell

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

@@ -946,16 +946,4 @@ class CfgRecoils
 		temporary = "0.01*0.25";
 	};
 
-	class macro_new_recoil(chaingun): Default
-	{
-
-
-		muzzleOuter[] = {"0.03", "0.4", "0.03", ".06"};
-		muzzleInner[] = {0, 0, 0.01, 0.01};
-		kickBack[] = {"0.02", "0.03"};
-		permanent = "0.013";
-		temporary = "0.013";
-	   	prone		= 0.0;	//coefficient of recoil forces while in prone (this is further multiplied by weapon resting coefficients)
-		
-	};
 };