mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
This magazine was removed in this commit: https://github.com/Goliath86/CorePatch/commit/fef9bcc The CorePatch data update was pushed to A2OA stable branch on March 27th, 2018. To avoid errors for this before Epoch 1.0.6.3 patch is released remove all instances of it from custom scripts, loot tables and trader files. Run the query below to remove all instances from the database. Fixes #2011
107 lines
2.5 KiB
C++
107 lines
2.5 KiB
C++
class RPK74_Kobra_DZ : RPK_74
|
|
{
|
|
model = "z\addons\dayz_communityweapons\rpk74\rpk74_kobra.p3d";
|
|
picture = "\z\addons\dayz_communityweapons\rpk74\data\w_rpk74_kobra_ca.paa";
|
|
displayName = $STR_DZ_WPN_RPK74_KOBRA_NAME;
|
|
|
|
magazines[] =
|
|
{
|
|
75Rnd_545x39_RPK, //75 was moved to first in array
|
|
30Rnd_545x39_AK,
|
|
30Rnd_545x39_AKSD
|
|
};
|
|
|
|
modes[] = {FullAuto,Single};
|
|
|
|
class ItemActions
|
|
{
|
|
class RemoveKobra
|
|
{
|
|
text = $STR_DZ_ATT_KOBRA_RMVE;
|
|
script = "; ['Attachment_Kobra',_id,'RPK74_DZ'] call player_removeAttachment";
|
|
};
|
|
};
|
|
};
|
|
|
|
class RPK74_DZ : RPK74_Kobra_DZ
|
|
{
|
|
model = "z\addons\dayz_communityweapons\rpk74\rpk74.p3d";
|
|
picture = "\z\addons\dayz_communityweapons\rpk74\data\w_rpk74_ca.paa";
|
|
displayName = $STR_DZ_WPN_RPK74_NAME;
|
|
|
|
//iron sight zeroing
|
|
weaponInfoType = "RscWeaponZeroing";
|
|
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000};
|
|
discreteDistanceInitIndex = 0;
|
|
//iron sight zeroing end
|
|
|
|
class Attachments
|
|
{
|
|
Attachment_Kobra = "RPK74_Kobra_DZ";
|
|
Attachment_PSO1 = "RPK74_PSO1_DZ";
|
|
};
|
|
|
|
class ItemActions {};
|
|
};
|
|
|
|
class RPK74_PSO1_DZ : RPK74_Kobra_DZ
|
|
{
|
|
model = "z\addons\dayz_communityweapons\rpk74\rpk74_pso.p3d";
|
|
picture = "\z\addons\dayz_communityweapons\rpk74\data\w_rpk74_pso_ca.paa";
|
|
displayName = $STR_DZ_WPN_RPK74_PSO1_NAME;
|
|
|
|
//PSO-1
|
|
optics = true;
|
|
opticsDisablePeripherialVision = true;
|
|
modelOptics = "\ca\weapons\optika_snpiere";
|
|
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
|
opticsZoomMin=0.0623; opticsZoomMax=0.0623;
|
|
distanceZoomMin= 200; distanceZoomMax= 200;
|
|
|
|
class OpticsModes
|
|
{
|
|
class Scope
|
|
{
|
|
opticsID = 1;
|
|
useModelOptics = true;
|
|
opticsFlare = true;
|
|
opticsDisablePeripherialVision = true;
|
|
opticsZoomMin = 0.0623;
|
|
opticsZoomMax = 0.0623;
|
|
opticsZoomInit= 0.0623;
|
|
distanceZoomMin= 200;
|
|
distanceZoomMax= 200;
|
|
memoryPointCamera = "opticView";
|
|
visionMode[] = {"Normal"};
|
|
opticsPPEffects[]={"OpticsCHAbera3","OpticsBlur3"};
|
|
cameraDir = "";
|
|
};
|
|
|
|
class Ironsights
|
|
{
|
|
opticsID = 2;
|
|
useModelOptics = false;
|
|
opticsFlare = false;
|
|
opticsDisablePeripherialVision = false;
|
|
opticsZoomMin=0.25;
|
|
opticsZoomMax=1.1;
|
|
opticsZoomInit=0.5;
|
|
distanceZoomMin= 100;
|
|
distanceZoomMax= 100;
|
|
memoryPointCamera = "eye";
|
|
visionMode[] = {};
|
|
opticsPPEffects[]={};
|
|
cameraDir = "";
|
|
};
|
|
};
|
|
//PSO-1 end
|
|
|
|
class ItemActions
|
|
{
|
|
class RemovePSO1
|
|
{
|
|
text = $STR_DZ_ATT_PSO1_RMVE;
|
|
script = "; ['Attachment_PSO1',_id,'RPK74_DZ'] call player_removeAttachment";
|
|
};
|
|
};
|
|
}; |