mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Merge pull request #725 from dayz10k/master
Add more weapons, their loot table, etc #696
This commit is contained in:
@@ -693,7 +693,12 @@ class CfgBuildingLoot {
|
|||||||
{"ItemSandbag","magazine"},
|
{"ItemSandbag","magazine"},
|
||||||
{"Sa58P_EP1","weapon"},
|
{"Sa58P_EP1","weapon"},
|
||||||
{"Sa58V_EP1","weapon"},
|
{"Sa58V_EP1","weapon"},
|
||||||
{"BAF_L85A2_RIS_Holo","weapon"}
|
{"BAF_L85A2_RIS_Holo","weapon"},
|
||||||
|
{"Saiga12K","weapon" },
|
||||||
|
{"Bizon","weapon" },
|
||||||
|
{"M8_SAW","weapon" },
|
||||||
|
{"MG36","weapon" },
|
||||||
|
{"RPK_74","weapon" },
|
||||||
};
|
};
|
||||||
itemChance[] = {
|
itemChance[] = {
|
||||||
0.01,
|
0.01,
|
||||||
@@ -731,7 +736,12 @@ class CfgBuildingLoot {
|
|||||||
0.02,
|
0.02,
|
||||||
0.01,
|
0.01,
|
||||||
0.02,
|
0.02,
|
||||||
0.01
|
0.01,
|
||||||
|
0.02, //saiga
|
||||||
|
0.02, //bizon
|
||||||
|
0.01, //m8_saw
|
||||||
|
0.01, //mg36
|
||||||
|
0.01 //rpk_74
|
||||||
};
|
};
|
||||||
itemTypeSmall[] = {
|
itemTypeSmall[] = {
|
||||||
{ "M9","weapon" },
|
{ "M9","weapon" },
|
||||||
@@ -808,7 +818,9 @@ class CfgBuildingLoot {
|
|||||||
{"Sa58V_EP1","weapon"},
|
{"Sa58V_EP1","weapon"},
|
||||||
{"BAF_L85A2_RIS_Holo","weapon"},
|
{"BAF_L85A2_RIS_Holo","weapon"},
|
||||||
{"ItemFuelBarrel","magazine"},
|
{"ItemFuelBarrel","magazine"},
|
||||||
{"ItemFuelPump","magazine"}
|
{"ItemFuelPump","magazine"},
|
||||||
|
{"RPK_74","weapon"},
|
||||||
|
{"Saiga12K","weapon"}
|
||||||
};
|
};
|
||||||
itemChance[] = {
|
itemChance[] = {
|
||||||
0.01,
|
0.01,
|
||||||
@@ -848,6 +860,8 @@ class CfgBuildingLoot {
|
|||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
|
0.01,
|
||||||
|
0.01,
|
||||||
0.01
|
0.01
|
||||||
};
|
};
|
||||||
itemTypeSmall[] = {
|
itemTypeSmall[] = {
|
||||||
@@ -934,7 +948,11 @@ class CfgBuildingLoot {
|
|||||||
{"100Rnd_762x54_PK","magazine"},
|
{"100Rnd_762x54_PK","magazine"},
|
||||||
{ "militaryclothes","single" },
|
{ "militaryclothes","single" },
|
||||||
{"NVGoggles","weapon"},
|
{"NVGoggles","weapon"},
|
||||||
{ "militaryammo","single" }
|
{ "militaryammo","single" },
|
||||||
|
{"M60A4_EP1_DZE","weapon" },
|
||||||
|
{"m240_scoped_EP1_DZE","weapon" },
|
||||||
|
{"M249_m145_EP1_DZE","weapon" },
|
||||||
|
{"MG36_camo","weapon" },
|
||||||
};
|
};
|
||||||
itemChance[] = {
|
itemChance[] = {
|
||||||
0.01,
|
0.01,
|
||||||
@@ -982,7 +1000,11 @@ class CfgBuildingLoot {
|
|||||||
0.02,
|
0.02,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.03
|
0.03,
|
||||||
|
0.01, //m60
|
||||||
|
0.01, //m240_scoped
|
||||||
|
0.01, //m249 scoped
|
||||||
|
0.01 //mg36 camo
|
||||||
};
|
};
|
||||||
itemTypeSmall[] = {
|
itemTypeSmall[] = {
|
||||||
{ "M9SD","weapon" },
|
{ "M9SD","weapon" },
|
||||||
@@ -1004,7 +1026,8 @@ class CfgBuildingLoot {
|
|||||||
{"29Rnd_30mm_AGS30","magazine"},
|
{"29Rnd_30mm_AGS30","magazine"},
|
||||||
{"50Rnd_127x107_DSHKM","magazine"},
|
{"50Rnd_127x107_DSHKM","magazine"},
|
||||||
{"48Rnd_40mm_MK19","magazine"},
|
{"48Rnd_40mm_MK19","magazine"},
|
||||||
{"100Rnd_127x99_M2","magazine"}
|
{"100Rnd_127x99_M2","magazine"},
|
||||||
|
{"100Rnd_556x45_BetaCMag","magazine" }
|
||||||
};
|
};
|
||||||
itemChanceSmall[] = {
|
itemChanceSmall[] = {
|
||||||
0.04,
|
0.04,
|
||||||
@@ -1027,6 +1050,7 @@ class CfgBuildingLoot {
|
|||||||
0.03,
|
0.03,
|
||||||
0.03,
|
0.03,
|
||||||
0.02
|
0.02
|
||||||
|
0.02
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class Hunting: Default {
|
class Hunting: Default {
|
||||||
@@ -2016,6 +2040,8 @@ class CfgBuildingLoot {
|
|||||||
{"WeaponHolder_ItemMachete", "object"},
|
{"WeaponHolder_ItemMachete", "object"},
|
||||||
{ "SCAR_H_LNG_Sniper_SD","weapon" },
|
{ "SCAR_H_LNG_Sniper_SD","weapon" },
|
||||||
{"2000Rnd_762x51_M134","magazine"},
|
{"2000Rnd_762x51_M134","magazine"},
|
||||||
|
{"KSVK","weapon" },
|
||||||
|
{"m240_scoped_EP1_DZE","weapon" }
|
||||||
};
|
};
|
||||||
itemChance[] = {
|
itemChance[] = {
|
||||||
0.03,
|
0.03,
|
||||||
@@ -2070,7 +2096,9 @@ class CfgBuildingLoot {
|
|||||||
0.05,
|
0.05,
|
||||||
0.02,
|
0.02,
|
||||||
0.01,
|
0.01,
|
||||||
0.01
|
0.01,
|
||||||
|
0.01, //ksvk
|
||||||
|
0.01 //m240 scoped
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class Land_House_C_1_EP1: Residential
|
class Land_House_C_1_EP1: Residential
|
||||||
|
|||||||
@@ -84,4 +84,7 @@ class CfgWeapons {
|
|||||||
// #include "CfgWeapons\Weapon\Sniper\DMR_DZ2.hpp"
|
// #include "CfgWeapons\Weapon\Sniper\DMR_DZ2.hpp"
|
||||||
// #include "CfgWeapons\Weapon\Sniper\DMR_DZ3.hpp"
|
// #include "CfgWeapons\Weapon\Sniper\DMR_DZ3.hpp"
|
||||||
#include "CfgWeapons\Weapon\Pistol\MakerovSD.hpp"
|
#include "CfgWeapons\Weapon\Pistol\MakerovSD.hpp"
|
||||||
|
#include "CfgWeapons\Weapon\LMG\m240_scoped.hpp"
|
||||||
|
#include "CfgWeapons\Weapon\LMG\m249_scoped.hpp"
|
||||||
|
#include "CfgWeapons\Weapon\LMG\M60A4.hpp"
|
||||||
};
|
};
|
||||||
4
SQF/dayz_code/Configs/CfgWeapons/Weapon/LMG/M60A4.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Weapon/LMG/M60A4.hpp
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
class M60A4_EP1;
|
||||||
|
class M60A4_EP1_DZE : M60A4_EP1 {
|
||||||
|
type = "1";
|
||||||
|
};
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
class m240_scoped_EP1;
|
||||||
|
class m240_scoped_EP1_DZE:m240_scoped_EP1 {
|
||||||
|
type = "1";
|
||||||
|
};
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
class M249_m145_EP1;
|
||||||
|
class M249_m145_EP1_DZE:M249_m145_EP1 {
|
||||||
|
type = "1";
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user