diff --git a/SQF/dayz_code/Configs/CfgMagazines.hpp b/SQF/dayz_code/Configs/CfgMagazines.hpp index a57780da4..f1075a811 100644 --- a/SQF/dayz_code/Configs/CfgMagazines.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines.hpp @@ -21,7 +21,8 @@ class CfgMagazines { class 29Rnd_30mm_AGS30 : CA_Magazine { scope = 2; displayName = "HE Rounds"; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + model = "\z\addons\dayz_epoch\models\30mm_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_30mm_mag_ca.paa"; ammo = "G_30mm_HE"; count = 29; type = "256"; @@ -34,7 +35,7 @@ class CfgMagazines { class 50Rnd_127x107_DSHKM : CA_Magazine { scope = 2; displayName = "DShKM"; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + picture = "\z\addons\dayz_epoch\pictures\equip_Dshkm_mag_ca.paa"; model = "\z\addons\dayz_epoch\models\dshkm_mag.p3d"; ammo = "B_127x107_Ball"; count = 50; @@ -49,7 +50,8 @@ class CfgMagazines { class 100Rnd_127x99_M2 : CA_Magazine { scope = 2; displayName = "M2 Machine Gun"; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + model = "\z\addons\dayz_epoch\models\50cal_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_50cal_mag_ca.paa"; ammo = "B_127x99_Ball"; count = 100; type = "256"; @@ -64,7 +66,7 @@ class CfgMagazines { count = 2000; scope = 2; displayName = "M134 7.62 Nato"; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + picture = "\z\addons\dayz_epoch\pictures\equip_m136_mag_ca.paa"; model = "\z\addons\dayz_epoch\models\m136_mag.p3d"; ammo = "B_762x51_3RndBurst"; type = "256"; @@ -76,7 +78,8 @@ class CfgMagazines { class 48Rnd_40mm_MK19 : CA_Magazine { scope = 2; displayName = "Mk. 19 40mm"; - picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + model = "\z\addons\dayz_epoch\models\40mm_mag.p3d"; + picture = "\z\addons\dayz_epoch\pictures\equip_40mm_mag_ca.paa"; ammo = "G_40mm_HE"; count = 48; type = "256"; diff --git a/SQF/dayz_epoch/models/30mm_mag.p3d b/SQF/dayz_epoch/models/30mm_mag.p3d new file mode 100644 index 000000000..1b2d9d96d Binary files /dev/null and b/SQF/dayz_epoch/models/30mm_mag.p3d differ diff --git a/SQF/dayz_epoch/models/40mm_mag.p3d b/SQF/dayz_epoch/models/40mm_mag.p3d new file mode 100644 index 000000000..0a23470e1 Binary files /dev/null and b/SQF/dayz_epoch/models/40mm_mag.p3d differ diff --git a/SQF/dayz_epoch/models/50cal_mag.p3d b/SQF/dayz_epoch/models/50cal_mag.p3d new file mode 100644 index 000000000..37e4da199 Binary files /dev/null and b/SQF/dayz_epoch/models/50cal_mag.p3d differ diff --git a/SQF/dayz_epoch/models/m136_mag.p3d b/SQF/dayz_epoch/models/m136_mag.p3d index d4c38dbf0..b318fa352 100644 Binary files a/SQF/dayz_epoch/models/m136_mag.p3d and b/SQF/dayz_epoch/models/m136_mag.p3d differ diff --git a/SQF/dayz_epoch/pictures/equip_30mm_mag_ca.paa b/SQF/dayz_epoch/pictures/equip_30mm_mag_ca.paa new file mode 100644 index 000000000..0734282c9 Binary files /dev/null and b/SQF/dayz_epoch/pictures/equip_30mm_mag_ca.paa differ diff --git a/SQF/dayz_epoch/pictures/equip_40mm_mag_ca.paa b/SQF/dayz_epoch/pictures/equip_40mm_mag_ca.paa new file mode 100644 index 000000000..96a14a7d9 Binary files /dev/null and b/SQF/dayz_epoch/pictures/equip_40mm_mag_ca.paa differ diff --git a/SQF/dayz_epoch/pictures/equip_50cal_mag_ca.paa b/SQF/dayz_epoch/pictures/equip_50cal_mag_ca.paa new file mode 100644 index 000000000..d55e0de16 Binary files /dev/null and b/SQF/dayz_epoch/pictures/equip_50cal_mag_ca.paa differ diff --git a/SQF/dayz_epoch/pictures/equip_Dshkm_mag_ca.paa b/SQF/dayz_epoch/pictures/equip_Dshkm_mag_ca.paa new file mode 100644 index 000000000..b23f698cc Binary files /dev/null and b/SQF/dayz_epoch/pictures/equip_Dshkm_mag_ca.paa differ diff --git a/SQF/dayz_epoch/pictures/equip_m136_mag_ca.paa b/SQF/dayz_epoch/pictures/equip_m136_mag_ca.paa new file mode 100644 index 000000000..d754ace23 Binary files /dev/null and b/SQF/dayz_epoch/pictures/equip_m136_mag_ca.paa differ diff --git a/SQF/dayz_epoch/textures/30mm_mag.rvmat b/SQF/dayz_epoch/textures/30mm_mag.rvmat new file mode 100644 index 000000000..e41758cc7 --- /dev/null +++ b/SQF/dayz_epoch/textures/30mm_mag.rvmat @@ -0,0 +1,92 @@ +ambient[]={0.39607844,0.50980395,0.39215687,1}; +diffuse[]={0.39607844,0.50980395,0.39215687,1}; +forcedDiffuse[]={0,0,0,0}; +emmisive[]={0,0,0,1}; +specular[]={0.56078434,0.56078434,0.56078434,1}; +specularPower=200; +PixelShaderID="Super"; +VertexShaderID="Super"; +class Stage1 +{ + texture="z\addons\dayz_epoch\textures\50cal_mag_nohq.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage2 +{ + texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage3 +{ + texture="#(argb,8,8,3)color(0,0,0,0,MC)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage4 +{ + texture="#(argb,8,8,3)color(1,1,1,1,AS)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage5 +{ + texture="z\addons\dayz_epoch\textures\30mm_mag_smdi.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage6 +{ + texture="#(ai,32,128,1)fresnel(1.7,7.0)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage7 +{ + texture="ca\data\env_land_co.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; diff --git a/SQF/dayz_epoch/textures/30mm_mag_co.paa b/SQF/dayz_epoch/textures/30mm_mag_co.paa new file mode 100644 index 000000000..94a747859 Binary files /dev/null and b/SQF/dayz_epoch/textures/30mm_mag_co.paa differ diff --git a/SQF/dayz_epoch/textures/30mm_mag_smdi.paa b/SQF/dayz_epoch/textures/30mm_mag_smdi.paa new file mode 100644 index 000000000..7269ba889 Binary files /dev/null and b/SQF/dayz_epoch/textures/30mm_mag_smdi.paa differ diff --git a/SQF/dayz_epoch/textures/40mm_mag.rvmat b/SQF/dayz_epoch/textures/40mm_mag.rvmat new file mode 100644 index 000000000..7cb304707 --- /dev/null +++ b/SQF/dayz_epoch/textures/40mm_mag.rvmat @@ -0,0 +1,92 @@ +ambient[]={0.40000001,0.50999999,0.38999999,1}; +diffuse[]={0.40000001,0.50999999,0.38999999,1}; +forcedDiffuse[]={0,0,0,0}; +emmisive[]={0,0,0,1}; +specular[]={0.56,0.56,0.56,1}; +specularPower=200; +PixelShaderID="Super"; +VertexShaderID="Super"; +class Stage1 +{ + texture="z\addons\dayz_epoch\textures\50cal_mag_nohq.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage2 +{ + texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage3 +{ + texture="#(argb,8,8,3)color(0,0,0,0,MC)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage4 +{ + texture="#(argb,8,8,3)color(1,1,1,1,AS)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage5 +{ + texture="z\addons\dayz_epoch\textures\40mm_mag_smdi.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage6 +{ + texture="#(ai,32,128,1)fresnel(1.7,7.0)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage7 +{ + texture="ca\data\env_land_co.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; diff --git a/SQF/dayz_epoch/textures/40mm_mag_co.paa b/SQF/dayz_epoch/textures/40mm_mag_co.paa new file mode 100644 index 000000000..7170be687 Binary files /dev/null and b/SQF/dayz_epoch/textures/40mm_mag_co.paa differ diff --git a/SQF/dayz_epoch/textures/40mm_mag_smdi.paa b/SQF/dayz_epoch/textures/40mm_mag_smdi.paa new file mode 100644 index 000000000..26792e4b5 Binary files /dev/null and b/SQF/dayz_epoch/textures/40mm_mag_smdi.paa differ diff --git a/SQF/dayz_epoch/textures/50cal_mag.rvmat b/SQF/dayz_epoch/textures/50cal_mag.rvmat new file mode 100644 index 000000000..806e34423 --- /dev/null +++ b/SQF/dayz_epoch/textures/50cal_mag.rvmat @@ -0,0 +1,92 @@ +ambient[]={0.39607844,0.50980395,0.39215687,1}; +diffuse[]={0.39607844,0.50980395,0.39215687,1}; +forcedDiffuse[]={0,0,0,0}; +emmisive[]={0,0,0,1}; +specular[]={0.56078434,0.56078434,0.56078434,1}; +specularPower=200; +PixelShaderID="Super"; +VertexShaderID="Super"; +class Stage1 +{ + texture="z\addons\dayz_epoch\textures\50cal_mag_nohq.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage2 +{ + texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage3 +{ + texture="#(argb,8,8,3)color(0,0,0,0,MC)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage4 +{ + texture="#(argb,8,8,3)color(1,1,1,1,AS)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage5 +{ + texture="z\addons\dayz_epoch\textures\50cal_mag_smdi.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage6 +{ + texture="#(ai,32,128,1)fresnel(1.7,7.0)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage7 +{ + texture="ca\data\env_land_co.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; diff --git a/SQF/dayz_epoch/textures/50cal_mag_co.paa b/SQF/dayz_epoch/textures/50cal_mag_co.paa new file mode 100644 index 000000000..48c003307 Binary files /dev/null and b/SQF/dayz_epoch/textures/50cal_mag_co.paa differ diff --git a/SQF/dayz_epoch/textures/50cal_mag_nohq.paa b/SQF/dayz_epoch/textures/50cal_mag_nohq.paa new file mode 100644 index 000000000..a5e8bdf36 Binary files /dev/null and b/SQF/dayz_epoch/textures/50cal_mag_nohq.paa differ diff --git a/SQF/dayz_epoch/textures/50cal_mag_smdi.paa b/SQF/dayz_epoch/textures/50cal_mag_smdi.paa new file mode 100644 index 000000000..e0a484e1a Binary files /dev/null and b/SQF/dayz_epoch/textures/50cal_mag_smdi.paa differ