reindex loot tables for weapons

This commit is contained in:
[VB]AWOL
2013-11-22 09:51:20 -06:00
parent edc90746ee
commit 3c5a1b5087
2 changed files with 422 additions and 418 deletions

View File

@@ -17,14 +17,6 @@ class CfgBuildingLoot {
hangPos[] = {}; hangPos[] = {};
vehPos[] = {}; vehPos[] = {};
}; };
class Master {
weapons[] = {
"SMAW",
"Javelin",
"G36C",
"Stinger"
};
};
class Residential: Default { class Residential: Default {
zombieChance = 0.3; zombieChance = 0.3;
maxRoaming = 2; maxRoaming = 2;
@@ -32,56 +24,44 @@ class CfgBuildingLoot {
lootChance = 0.4; lootChance = 0.4;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "ItemWatch","generic" }, { "ItemWatch","generic" },
{ "ItemCompass","generic" }, { "ItemCompass","generic" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
{ "Makarov","weapon" }, { "pistols","cfglootweapon" },
{ "MakarovSD","weapon" }, { "ItemFlashlight","generic" },
{ "Colt1911","weapon" }, { "ItemKnife","generic" },
{ "ItemFlashlight","generic" }, { "ItemMatchbox_DZE","generic" },
{ "ItemKnife","generic" }, { "","generic" },
{ "ItemMatchbox_DZE","generic" }, { "backpacks","backpack" },
{ "","generic" }, { "tents","single" },
{ "LeeEnfield","weapon" }, { "","military" },
{ "revolver_EP1","weapon" }, { "","trash" },
{ "backpacks","backpack" }, { "Binocular","weapon" },
{ "Winchester1866","weapon" }, { "PartPlywoodPack","magazine" },
{ "tents","single" }, { "clothes","single" },
{ "","military" }, { "specialclothes","single" },
{ "","trash" }, { "WeaponHolder_MeleeCrowbar","object" },
{ "Crossbow_DZ","weapon" }, { "shotgunsingleshot","cfglootweapon" }
{ "Binocular","weapon" },
{ "PartPlywoodPack","magazine" },
{ "clothes","single" },
{ "specialclothes","single" },
{ "WeaponHolder_MeleeCrowbar","object" },
{"MR43","weapon"}
}; };
itemChance[] = { itemChance[] = {
0.04, 0.04,
0.03, 0.03,
0.02, 0.02,
0.05, 0.1,
0.01,
0.02,
0.01, 0.01,
0.04, 0.04,
0.01, 0.01,
0.36, 0.36,
0.03,
0.02,
0.04, 0.04,
0.01, 0.01,
0.01,
0.02, 0.02,
0.17, 0.17,
0.01,
0.02, 0.02,
0.02, 0.02,
0.01, 0.01,
0.01, 0.01,
0.03, 0.03,
0.01 0.06
}; };
itemTypeSmall[] = { itemTypeSmall[] = {
{ "ItemSodaMdew","magazine" }, { "ItemSodaMdew","magazine" },
@@ -90,14 +70,11 @@ class CfgBuildingLoot {
{ "ItemWatch","weapon" }, { "ItemWatch","weapon" },
{ "ItemCompass","weapon" }, { "ItemCompass","weapon" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
{ "Makarov","weapon" }, { "pistols","cfglootweapon" },
{ "MakarovSD","weapon" },
{ "Colt1911","weapon" },
{ "ItemFlashlight","weapon" }, { "ItemFlashlight","weapon" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
{ "ItemMatchbox_DZE","weapon" }, { "ItemMatchbox_DZE","weapon" },
{ "","generic" }, { "","generic" },
{ "revolver_EP1","weapon" },
{ "","military" }, { "","military" },
{ "","trash" }, { "","trash" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
@@ -111,14 +88,11 @@ class CfgBuildingLoot {
0.05, 0.05,
0.04, 0.04,
0.03, 0.03,
0.05, 0.12,
0.02,
0.03,
0.02, 0.02,
0.04, 0.04,
0.03, 0.03,
0.38, 0.38,
0.02,
0.04, 0.04,
0.17, 0.17,
0.02, 0.02,
@@ -136,47 +110,37 @@ class CfgBuildingLoot {
{ "ItemWatch","generic" }, { "ItemWatch","generic" },
{ "ItemCompass","generic" }, { "ItemCompass","generic" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
{ "Makarov","weapon" }, { "pistols","cfglootweapon" },
{ "MakarovSD","weapon" },
{ "Colt1911","weapon" },
{ "ItemFlashlight","generic" }, { "ItemFlashlight","generic" },
{ "ItemKnife","generic" }, { "ItemKnife","generic" },
{ "ItemMatchbox_DZE","generic" }, { "ItemMatchbox_DZE","generic" },
{ "","generic" }, { "","generic" },
{ "LeeEnfield","weapon" }, { "shotgunsingleshot","cfglootweapon" },
{ "revolver_EP1","weapon" },
{ "backpacks","backpack" }, { "backpacks","backpack" },
{ "Winchester1866","weapon" },
{ "tents","single" }, { "tents","single" },
{ "","military" }, { "","military" },
{ "","trash" }, { "","trash" },
{"Crossbow_DZ","weapon"},
{ "Binocular","weapon" }, { "Binocular","weapon" },
{ "PartPlywoodPack","magazine" }, { "PartPlywoodPack","magazine" },
{ "clothes","single" }, { "clothes","single" },
{ "specialclothes","single" }, { "specialclothes","single" },
{ "WeaponHolder_MeleeCrowbar","object" }, { "WeaponHolder_MeleeCrowbar","object" },
{ "ItemBriefcaseEmpty","magazine" } { "ItemBriefcaseEmpty","magazine" }
}; };
itemChance[] = { itemChance[] = {
0.04, 0.04,
0.03, 0.03,
0.02, 0.02,
0.06, 0.11,
0.01,
0.02,
0.01, 0.01,
0.04, 0.04,
0.01, 0.01,
0.31, 0.31,
0.03, 0.05,
0.02,
0.04, 0.04,
0.01, 0.01,
0.01,
0.02, 0.02,
0.21, 0.21,
0.01,
0.02, 0.02,
0.02, 0.02,
0.01, 0.01,
@@ -191,14 +155,11 @@ class CfgBuildingLoot {
{ "ItemWatch","weapon" }, { "ItemWatch","weapon" },
{ "ItemCompass","weapon" }, { "ItemCompass","weapon" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
{ "Makarov","weapon" }, { "pistols","cfglootweapon" },
{ "MakarovSD","weapon" },
{ "Colt1911","weapon" },
{ "ItemFlashlight","weapon" }, { "ItemFlashlight","weapon" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
{ "ItemMatchbox_DZE","weapon" }, { "ItemMatchbox_DZE","weapon" },
{ "","generic" }, { "","generic" },
{ "revolver_EP1","weapon" },
{ "","military" }, { "","military" },
{ "","trash" }, { "","trash" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
@@ -213,14 +174,11 @@ class CfgBuildingLoot {
0.05, 0.05,
0.04, 0.04,
0.03, 0.03,
0.07, 0.15,
0.02,
0.03,
0.02, 0.02,
0.05, 0.05,
0.03, 0.03,
0.31, 0.31,
0.03,
0.04, 0.04,
0.03, 0.03,
0.02, 0.02,
@@ -237,7 +195,7 @@ class CfgBuildingLoot {
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "ItemGenerator","magazine" }, { "ItemGenerator","magazine" },
{"ItemFuelBarrel","magazine"}, { "ItemFuelBarrel","magazine"},
{ "","generic" }, { "","generic" },
{ "","trash" }, { "","trash" },
{ "","military" }, { "","military" },
@@ -252,10 +210,10 @@ class CfgBuildingLoot {
{ "ItemKnife","military" }, { "ItemKnife","military" },
{ "ItemToolbox","weapon" }, { "ItemToolbox","weapon" },
{ "ItemWire","magazine" }, { "ItemWire","magazine" },
{"ItemTankTrap","magazine"}, { "ItemTankTrap","magazine" },
{"ItemKeyKit","weapon"}, { "ItemKeyKit","weapon" },
{"CinderBlocks","magazine"}, { "CinderBlocks","magazine" },
{"MortarBucket","magazine"} { "MortarBucket","magazine" }
}; };
itemChance[] = { itemChance[] = {
0.01, 0.01,
@@ -284,7 +242,7 @@ class CfgBuildingLoot {
{ "","trash" }, { "","trash" },
{ "","military" }, { "","military" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
{"ItemKeyKit","weapon"} { "ItemKeyKit","weapon" }
}; };
itemChanceSmall[] = { itemChanceSmall[] = {
0.5, 0.5,
@@ -345,7 +303,7 @@ class CfgBuildingLoot {
{ "","trash" }, { "","trash" },
{ "","military" }, { "","military" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
{"ItemKeyKit","weapon"} { "ItemKeyKit","weapon" }
}; };
itemChanceSmall[] = { itemChanceSmall[] = {
0.5, 0.5,
@@ -364,14 +322,10 @@ class CfgBuildingLoot {
itemType[] = { itemType[] = {
{ "ItemJerrycan","magazine" }, { "ItemJerrycan","magazine" },
{ "","generic" }, { "","generic" },
{ "huntingrifle","weapon" }, { "farmweapons","cfglootweapon" },
{ "LeeEnfield","weapon" }, { "","trash" },
{ "Winchester1866","weapon" },
{ "","trash" },
{ "Crossbow_DZ","weapon"},
{ "PartPlankPack","magazine" }, { "PartPlankPack","magazine" },
{ "WeaponHolder_ItemHatchet_DZE","object" }, { "WeaponHolder_ItemHatchet_DZE","object" },
{ "MR43","weapon" },
{ "ItemFuelBarrel","magazine"}, { "ItemFuelBarrel","magazine"},
{ "WeaponHolder_ItemMachete", "object"}, { "WeaponHolder_ItemMachete", "object"},
{ "ItemFishingPole","weapon" }, { "ItemFishingPole","weapon" },
@@ -381,14 +335,10 @@ class CfgBuildingLoot {
itemChance[] = { itemChance[] = {
0.05, 0.05,
0.3, 0.3,
0.02, 0.18,
0.04,
0.03,
0.26, 0.26,
0.03,
0.08, 0.08,
0.05, 0.05,
0.06,
0.01, 0.01,
0.03, 0.03,
0.01, 0.01,
@@ -420,45 +370,35 @@ class CfgBuildingLoot {
{ "ItemWatch","generic" }, { "ItemWatch","generic" },
{ "ItemCompass","generic" }, { "ItemCompass","generic" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
{ "Makarov","weapon" }, { "pistols","cfglootweapon" },
{ "Colt1911","weapon" },
{ "ItemFlashlight","generic" }, { "ItemFlashlight","generic" },
{ "ItemKnife","generic" }, { "ItemKnife","generic" },
{ "ItemMatchbox_DZE","generic" }, { "ItemMatchbox_DZE","generic" },
{ "","generic" }, { "","generic" },
{ "LeeEnfield","weapon" }, { "shotgunsingleshot","cfglootweapon" },
{ "revolver_EP1","weapon" },
{ "backpacks","backpack" }, { "backpacks","backpack" },
{ "Winchester1866","weapon" },
{ "tents","single" }, { "tents","single" },
{ "","food" }, { "","food" },
{ "","trash" }, { "","trash" },
{"Crossbow_DZ","weapon"},
{ "Binocular","weapon" }, { "Binocular","weapon" },
{ "PartPlywoodPack","magazine" }, { "PartPlywoodPack","magazine" }
{"MR43","weapon"}
}; };
itemChance[] = { itemChance[] = {
0.07, 0.07,
0.02, 0.02,
0.04, 0.04,
0.02, 0.04,
0.01,
0.01, 0.01,
0.02, 0.02,
0.04, 0.04,
0.04, 0.04,
0.01, 0.04,
0.01,
0.07, 0.07,
0.01, 0.01,
0.01,
0.30, 0.30,
0.23, 0.23,
0.01,
0.05, 0.05,
0.02, 0.02
0.01
}; };
itemTypeSmall[] = { itemTypeSmall[] = {
{ "ItemSodaMdew","magazine" }, { "ItemSodaMdew","magazine" },
@@ -467,13 +407,11 @@ class CfgBuildingLoot {
{ "ItemWatch","weapon" }, { "ItemWatch","weapon" },
{ "ItemCompass","weapon" }, { "ItemCompass","weapon" },
{ "ItemMap","weapon" }, { "ItemMap","weapon" },
{ "Makarov","weapon" }, { "pistols","cfglootweapon" },
{ "Colt1911","weapon" },
{ "ItemFlashlight","weapon" }, { "ItemFlashlight","weapon" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
{ "ItemMatchbox_DZE","weapon" }, { "ItemMatchbox_DZE","weapon" },
{ "","generic" }, { "","generic" },
{ "revolver_EP1","weapon" },
{ "","food" }, { "","food" },
{ "","trash" }, { "","trash" },
{ "Binocular","weapon" } { "Binocular","weapon" }
@@ -485,13 +423,11 @@ class CfgBuildingLoot {
0.07, 0.07,
0.03, 0.03,
0.05, 0.05,
0.04, 0.08,
0.02,
0.01, 0.01,
0.02, 0.02,
0.04, 0.04,
0.21, 0.21,
0.02,
0.24, 0.24,
0.18, 0.18,
0.02 0.02
@@ -504,16 +440,10 @@ class CfgBuildingLoot {
lootChance = 0.5; lootChance = 0.5;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "FN_FAL","weapon" }, { "assaultrifles","cfglootweapon" },
{ "bizon_silenced","weapon" }, { "submachinegun","cfglootweapon" },
{ "M14_EP1","weapon" }, { "sniperrifles","cfglootweapon" },
{ "FN_FAL_ANPVS4","weapon" }, { "machineguns","cfglootweapon" },
{ "BAF_LRR_scoped","weapon" },
{ "AK_107_PSO","weapon" },
{ "Mk_48_DZ","weapon" },
{ "M249_DZ","weapon" },
{"BAF_L85A2_RIS_SUSAT","weapon"},
{ "M4SPR","weapon" },
{ "","military" }, { "","military" },
{ "","medical" }, { "","medical" },
{ "MedBox0","object" }, { "MedBox0","object" },
@@ -521,28 +451,13 @@ class CfgBuildingLoot {
{ "AmmoBoxSmall_556","object" }, { "AmmoBoxSmall_556","object" },
{ "AmmoBoxSmall_762","object" }, { "AmmoBoxSmall_762","object" },
{ "militaryclothes","single" }, { "militaryclothes","single" },
{"G36C","weapon"}, { "militaryammo","single" }
{"G36_C_SD_camo","weapon"},
{"G36A_camo","weapon"},
{ "Pecheneg_DZ","weapon"},
{"100Rnd_762x54_PK","magazine"},
{"2000Rnd_762x51_M134","magazine"},
{"29Rnd_30mm_AGS30","magazine"},
{"50Rnd_127x107_DSHKM","magazine"},
{"48Rnd_40mm_MK19","magazine"},
{"100Rnd_127x99_M2","magazine"}
}; };
itemChance[] = { itemChance[] = {
0.02, 0.1,
0.03, 0.03,
0.02, 0.05,
0.01, 0.05,
0.01,
0.02,
0.02,
0.02,
0.01,
0.02,
0.35, 0.35,
0.19, 0.19,
0.05, 0.05,
@@ -550,16 +465,7 @@ class CfgBuildingLoot {
0.03, 0.03,
0.03, 0.03,
0.05, 0.05,
0.02, 0.06
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01
}; };
}; };
class HeliCrash_No50s: Default { class HeliCrash_No50s: Default {
@@ -568,61 +474,33 @@ class CfgBuildingLoot {
zombieClass[] = {"z_soldier_pilot"}; zombieClass[] = {"z_soldier_pilot"};
lootChance = 0.5; lootChance = 0.5;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{"FN_FAL","weapon"}, { "assaultrifles","cfglootweapon" },
{"bizon_silenced","weapon"}, { "submachinegun","cfglootweapon" },
{"M14_EP1","weapon"}, { "sniperrifles","cfglootweapon" },
{"FN_FAL_ANPVS4","weapon"}, { "machineguns","cfglootweapon" },
{"Mk_48_DZ","weapon"}, { "","military" },
{"M249_DZ","weapon"}, { "","medical" },
{"BAF_L85A2_RIS_SUSAT","weapon"}, { "MedBox0","object" },
{"M4SPR","weapon"}, { "NVGoggles","weapon" },
{"","military"}, { "AmmoBoxSmall_556","object" },
{"","medical"}, { "AmmoBoxSmall_762","object" },
{"MedBox0","object"},
{"NVGoggles","weapon"},
{"AmmoBoxSmall_556","object"},
{"AmmoBoxSmall_762","object"},
{ "militaryclothes","single" }, { "militaryclothes","single" },
{"G36C","weapon"}, { "militaryammo","single" }
{"G36C_camo","weapon"},
//{"G36_C_SD_camo","weapon"},
{"G36A_camo","weapon"},
{"G36K_camo","weapon"},
{"100Rnd_762x54_PK","magazine"},
{"2000Rnd_762x51_M134","magazine"},
{"29Rnd_30mm_AGS30","magazine"},
{"50Rnd_127x107_DSHKM","magazine"},
{"48Rnd_40mm_MK19","magazine"},
{"100Rnd_127x99_M2","magazine"}
}; };
itemChance[] = { itemChance[] = {
0.01, 0.1,
0.02,
0.02,
0.01,
0.01,
0.02,
0.01,
0.02,
0.43,
0.23,
0.04,
0.01,
0.04,
0.04,
0.03, 0.03,
0.05,
0.05,
0.35,
0.19,
0.05,
0.01, 0.01,
0.01, 0.03,
//0.01, 0.03,
0.01, 0.05,
0.01, 0.06
0.01,
0.01,
0.01,
0.01,
0.01,
0.01
}; };
}; };
class Hospital: Default { class Hospital: Default {
@@ -658,26 +536,11 @@ class CfgBuildingLoot {
lootChance = 0.4; lootChance = 0.4;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "M9","weapon" }, { "pistols","cfglootweapon" },
{ "M16A2","weapon" }, { "assaultrifles","cfglootweapon" },
{ "M16A2GL","weapon" }, { "sniperrifles","cfglootweapon" },
{ "M9SD","weapon" }, { "shotgunsingleshot","cfglootweapon" },
{ "AK_74","weapon" }, { "submachinegun","cfglootweapon" },
{ "M4A1_Aim","weapon" },
{ "AKS_74_kobra","weapon" },
{ "AKS_74_U","weapon" },
{ "AK_47_M","weapon" },
{ "M24","weapon" },
{ "M1014","weapon" },
{ "M4SPR","weapon" },
{ "M4A1","weapon" },
{ "M14_EP1","weapon" },
{ "UZI_EP1","weapon" },
{ "Remington870_lamp","weapon" },
{ "glock17_EP1","weapon" },
{ "MP5A5","weapon" },
{ "MP5SD","weapon" },
{ "M4A3_CCO_EP1","weapon" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
{ "ItemFlashlightRed","military" }, { "ItemFlashlightRed","military" },
{ "ItemKnife","military" }, { "ItemKnife","military" },
@@ -687,40 +550,16 @@ class CfgBuildingLoot {
{ "","medical" }, { "","medical" },
{ "","generic" }, { "","generic" },
{ "","military" }, { "","military" },
{ "Sa61_EP1","weapon"},
{ "UZI_SD_EP1","weapon"},
{ "ItemEtool","weapon" }, { "ItemEtool","weapon" },
{"ItemSandbag","magazine"}, { "ItemSandbag","magazine" },
{"Sa58P_EP1","weapon"}, { "machineguns","cfglootweapon" }
{"Sa58V_EP1","weapon"},
{"BAF_L85A2_RIS_Holo","weapon"},
{"Saiga12K","weapon" },
{"Bizon","weapon" },
{"M8_SAW","weapon" },
{"MG36","weapon" },
{"RPK_74","weapon" },
}; };
itemChance[] = { itemChance[] = {
0.01, 0.04,
0.01, 0.13,
0.01, 0.04,
0.01, 0.06,
0.02, 0.07,
0.01,
0.01,
0.01,
0.01,
0.01,
0.02,
0.01,
0.01,
0.01,
0.02,
0.02,
0.02,
0.02,
0.01,
0.01,
0.03, 0.03,
0.04, 0.04,
0.01, 0.01,
@@ -729,24 +568,13 @@ class CfgBuildingLoot {
0.05, 0.05,
0.03, 0.03,
0.1, 0.1,
0.35, 0.3,
0.01,
0.01,
0.02, 0.02,
0.02, 0.02,
0.01, 0.03
0.02,
0.01,
0.02, //saiga
0.02, //bizon
0.01, //m8_saw
0.01, //mg36
0.01 //rpk_74
}; };
itemTypeSmall[] = { itemTypeSmall[] = {
{ "M9","weapon" }, { "pistols","cfglootweapon" },
{ "M9SD","weapon" },
{ "glock17_EP1","weapon" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
{ "ItemFlashlightRed","weapon" }, { "ItemFlashlightRed","weapon" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
@@ -755,13 +583,11 @@ class CfgBuildingLoot {
{ "","medical" }, { "","medical" },
{ "","generic" }, { "","generic" },
{ "","military" }, { "","military" },
{ "UZI_SD_EP1","weapon"}, { "submachinegun","cfglootweapon" },
{ "ItemEtool","weapon" } { "ItemEtool","weapon" }
}; };
itemChanceSmall[] = { itemChanceSmall[] = {
0.05, 0.15,
0.05,
0.05,
0.02, 0.02,
0.03, 0.03,
0.04, 0.04,
@@ -781,26 +607,14 @@ class CfgBuildingLoot {
lootChance = 0.4; lootChance = 0.4;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "M9","weapon" }, { "pistols","cfglootweapon" },
{ "M16A2","weapon" }, { "assaultrifles","cfglootweapon" },
{ "M16A2GL","weapon" },
{ "M9SD","weapon" },
{ "PartGeneric","magazine" }, { "PartGeneric","magazine" },
{ "M4A1_Aim","weapon" }, { "sniperrifles","cfglootweapon" },
{ "AKS_74_kobra","weapon" }, { "shotgunsingleshot","cfglootweapon" },
{ "AKS_74_U","weapon" },
{ "AK_47_M","weapon" },
{ "M24","weapon" },
{ "M1014","weapon" },
{ "ItemGenerator","magazine" }, { "ItemGenerator","magazine" },
{ "M4A1","weapon" }, { "submachinegun","cfglootweapon" },
{ "M14_EP1","weapon" },
{ "UZI_EP1","weapon" },
{ "Remington870_lamp","weapon" },
{ "glock17_EP1","weapon" },
{ "PartWheel","magazine" }, { "PartWheel","magazine" },
{ "MP5SD","weapon" },
{ "M4A3_CCO_EP1","weapon" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
{ "ItemFlashlightRed","military" }, { "ItemFlashlightRed","military" },
{ "ItemKnife","military" }, { "ItemKnife","military" },
@@ -810,38 +624,21 @@ class CfgBuildingLoot {
{ "","medical" }, { "","medical" },
{ "","generic" }, { "","generic" },
{ "","military" }, { "","military" },
{ "Sa61_EP1","weapon"},
{ "UZI_SD_EP1","weapon"},
{ "ItemEtool","weapon" }, { "ItemEtool","weapon" },
{"ItemSandbag","magazine"}, { "ItemSandbag","magazine" },
{"Sa58P_EP1","weapon"}, { "ItemFuelBarrel","magazine" },
{"Sa58V_EP1","weapon"}, { "ItemFuelPump","magazine" },
{"BAF_L85A2_RIS_Holo","weapon"}, { "machineguns","cfglootweapon" }
{"ItemFuelBarrel","magazine"},
{"ItemFuelPump","magazine"},
{"RPK_74","weapon"},
{"Saiga12K","weapon"}
}; };
itemChance[] = { itemChance[] = {
0.01, 0.02,
0.01, 0.1,
0.01,
0.01,
0.03, 0.03,
0.01,
0.01,
0.01,
0.01,
0.01,
0.02, 0.02,
0.05,
0.01, 0.01,
0.01, 0.05,
0.01,
0.02, 0.02,
0.02,
0.02,
0.02,
0.01,
0.01, 0.01,
0.03, 0.03,
0.04, 0.04,
@@ -849,26 +646,16 @@ class CfgBuildingLoot {
0.01, 0.01,
0.03, 0.03,
0.05, 0.05,
0.03,
0.06,
0.35, 0.35,
0.01, 0.07,
0.01, 0.03,
0.02, 0.02,
0.03, 0.03,
0.01, 0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01 0.01
}; };
itemTypeSmall[] = { itemTypeSmall[] = {
{ "M9","weapon" }, { "pistols","cfglootweapon" },
{ "M9SD","weapon" },
{ "UZI_EP1","weapon" },
{ "glock17_EP1","weapon" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
{ "ItemFlashlightRed","weapon" }, { "ItemFlashlightRed","weapon" },
{ "ItemKnife","weapon" }, { "ItemKnife","weapon" },
@@ -876,14 +663,12 @@ class CfgBuildingLoot {
{ "","medical" }, { "","medical" },
{ "","generic" }, { "","generic" },
{ "","military" }, { "","military" },
{ "UZI_SD_EP1","weapon"}, { "submachinegun","cfglootweapon" },
{ "ItemEtool","weapon" } { "ItemEtool","weapon" }
}; };
itemChanceSmall[] = { itemChanceSmall[] = {
0.12,
0.05, 0.05,
0.05,
0.05,
0.02,
0.03, 0.03,
0.04, 0.04,
0.02, 0.02,
@@ -891,8 +676,7 @@ class CfgBuildingLoot {
0.09, 0.09,
0.34, 0.34,
0.26, 0.26,
0.02, 0.03
0.01
}; };
}; };
class MilitarySpecial: Default { class MilitarySpecial: Default {
@@ -903,32 +687,12 @@ class CfgBuildingLoot {
lootChance = 0.4; lootChance = 0.4;
lootPos[] = {}; lootPos[] = {};
itemType[] = { itemType[] = {
{ "M16A2","weapon" }, { "assaultrifles","cfglootweapon" },
{ "M16A2GL","weapon" }, { "machineguns","cfglootweapon" },
{ "M249_DZ","weapon" }, { "pistols","cfglootweapon" },
{ "M9SD","weapon" }, { "sniperrifles","cfglootweapon" },
{ "Pecheneg_DZ","weapon"}, { "shotgunsingleshot","cfglootweapon" },
{ "AK_74","weapon" }, { "submachinegun","cfglootweapon" },
{ "M4A1_Aim","weapon" },
{ "AKS_74_kobra","weapon" },
{ "AKS_74_U","weapon" },
{ "AK_47_M","weapon" },
{ "M24","weapon" },
{ "SVD_CAMO","weapon" },
{ "M1014","weapon" },
{ "BAF_LRR_scoped","weapon" },
{ "M4SPR","weapon" },
{ "M4A1","weapon" },
{ "M14_EP1","weapon" },
{ "UZI_EP1","weapon" },
{ "Remington870_lamp","weapon" },
{ "glock17_EP1","weapon" },
{ "M240_DZ","weapon" },
{ "M4A1_AIM_SD_camo","weapon" },
{ "M16A4_ACG","weapon" },
{ "M4A1_HWS_GL_camo","weapon" },
{ "Mk_48_DZ","weapon" },
{ "M4A3_CCO_EP1","weapon" },
{ "AmmoBoxSmall_556","object" }, { "AmmoBoxSmall_556","object" },
{ "AmmoBoxSmall_762","object" }, { "AmmoBoxSmall_762","object" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
@@ -941,47 +705,18 @@ class CfgBuildingLoot {
{ "","medical" }, { "","medical" },
{ "","generic" }, { "","generic" },
{ "","military" }, { "","military" },
{"Sa58V_RCO_EP1","weapon"}, { "machinegunammo","single" },
{"Sa58V_CCO_EP1","weapon"},
{"G36_C_SD_camo","weapon"},
{"M40A3","weapon"},
{"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.1,
0.01, 0.04,
0.01, 0.08,
0.02, 0.02,
0.01, 0.05,
0.01, 0.06,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.02,
0.01,
0.01,
0.01,
0.01,
0.02,
0.02,
0.03,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01,
0.01, 0.01,
0.02, 0.02,
0.01, 0.01,
@@ -997,18 +732,11 @@ class CfgBuildingLoot {
0.01, 0.01,
0.01, 0.01,
0.01, 0.01,
0.02, 0.05
0.01,
0.01,
0.03,
0.01, //m60
0.01, //m240_scoped
0.01, //m249 scoped
0.01 //mg36 camo
}; };
itemTypeSmall[] = { itemTypeSmall[] = {
{ "M9SD","weapon" }, { "pistols","cfglootweapon" },
{ "glock17_EP1","weapon" },
{ "AmmoBoxSmall_556","object" }, { "AmmoBoxSmall_556","object" },
{ "AmmoBoxSmall_762","object" }, { "AmmoBoxSmall_762","object" },
{ "Binocular","weapon" }, { "Binocular","weapon" },
@@ -1020,18 +748,17 @@ class CfgBuildingLoot {
{ "","medical" }, { "","medical" },
{ "","generic" }, { "","generic" },
{ "","military" }, { "","military" },
{"100Rnd_762x54_PK","magazine"}, { "machinegunammo","single" },
{ "militaryclothes","single" }, { "militaryclothes","single" },
{"NVGoggles","weapon"}, { "NVGoggles","weapon" },
{"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" } { "machinegunammo","single" }
}; };
itemChanceSmall[] = { itemChanceSmall[] = {
0.04, 0.08,
0.04,
0.02, 0.02,
0.02, 0.02,
0.02, 0.02,
@@ -1042,7 +769,7 @@ class CfgBuildingLoot {
0.03, 0.03,
0.06, 0.06,
0.13, 0.13,
0.32, 0.3,
0.05, 0.05,
0.03, 0.03,
0.03, 0.03,
@@ -1065,10 +792,9 @@ class CfgBuildingLoot {
{"ItemFlashlight","generic"}, {"ItemFlashlight","generic"},
{"ItemKnife","generic"}, {"ItemKnife","generic"},
{"ItemMatchbox_DZE","generic"}, {"ItemMatchbox_DZE","generic"},
{"Crossbow_DZ","weapon"}, {"farmweapons","cfglootweapon"},
{"","military"}, {"","military"},
{"WeaponHolder_ItemMachete", "object"}, {"WeaponHolder_ItemMachete", "object"},
{"huntingrifle","weapon"},
{"","hunter"} {"","hunter"}
}; };
itemChance[] = { itemChance[] = {
@@ -1076,10 +802,9 @@ class CfgBuildingLoot {
0.01, 0.01,
0.01, 0.01,
0.03, 0.03,
0.01, 0.03,
0.38, 0.38,
0.02, 0.02,
0.02,
0.5 0.5
}; };
itemTypeSmall[] = { itemTypeSmall[] = {

View File

@@ -749,4 +749,283 @@ class CfgLoot {
0.30 0.30
} }
}; };
pistols[] = {
{
"Makarov",
"Colt1911",
"revolver_EP1",
"glock17_EP1",
"MakarovSD",
"M9",
"M9SD",
"revolver_gold_EP1"
},
{
0.25,
0.23,
0.20,
0.10,
0.10,
0.07,
0.04,
0.01
}
};
shotgunsingleshot[] = {
{
"Winchester1866",
"LeeEnfield",
"MR43",
"Saiga12K",
"Remington870_lamp",
"Crossbow_DZ",
"M1014",
},
{
0.25,
0.20,
0.20,
0.13,
0.10,
0.07,
0.05
}
};
farmweapons[] = {
{
"Winchester1866",
"LeeEnfield",
"MR43",
"Saiga12K",
"Remington870_lamp",
"Crossbow_DZ",
"huntingrifle",
},
{
0.25,
0.20,
0.20,
0.13,
0.10,
0.07,
0.05
}
};
sniperrifles[] = {
{
"AK_107_PSO",
"M4SPR",
"M40A3",
"SVD_CAMO",
"SVD_des_EP1",
"SVD",
"huntingrifle",
"M24_des_EP1",
"M24",
"BAF_LRR_scoped",
"KSVK",
"VSS_vintorez",
"SCAR_H_LNG_Sniper_SD",
"M14_EP1",
"DMR",
},
{
0.1,
0.09,
0.09,
0.09,
0.09,
0.09,
0.09,
0.08,
0.07,
0.06,
0.05,
0.04,
0.03,
0.02,
0.01
}
};
sniperriflesammo[] = {
{
"30Rnd_545x39_AKSD",
"5Rnd_127x108_KSVK",
"5Rnd_86x70_L115A1",
"10Rnd_762x54_SVD",
"20Rnd_762x51_DMR",
"5Rnd_762x51_M24",
"5x_22_LR_17_HMR",
"20Rnd_762x51_SB_SCAR",
"20Rnd_9x39_SP5_VSS"
},
{
0.25,
0.20,
0.20,
0.13,
0.10,
0.07,
0.05
}
};
submachinegun[] = {
{
"UZI_EP1",
"bizon",
"Sa61_EP1",
"MP5A5",
"bizon_silenced",
"UZI_SD_EP1",
"MP5SD",
},
{
0.25,
0.20,
0.20,
0.13,
0.10,
0.07,
0.05
}
};
assaultrifles[] = {
{
"AKS_74_kobra",
"AKS_74_U",
"AKS_GOLD",
"AK_47_M",
"AK_74",
"FN_FAL",
"FN_FAL_ANPVS4",
"G36A_camo",
"G36C",
"G36C_camo",
"G36K_camo",
"G36_C_SD_camo",
"M16A2",
"M16A2GL",
"M16A4_ACG",
"M4A1",
"M4A1_Aim",
"M4A1_AIM_SD_camo",
"M4A1_HWS_GL_camo",
"M4A3_CCO_EP1",
"Sa58P_EP1",
"Sa58V_CCO_EP1",
"Sa58V_EP1",
"Sa58V_RCO_EP1",
"m8_compact",
"m8_sharpshooter",
"m8_holo_sd",
"m8_carbine",
"BAF_L85A2_RIS_SUSAT",
"BAF_L85A2_RIS_Holo"
},
{
0.05,
0.05,
0.01,
0.05,
0.05,
0.03,
0.01,
0.05,
0.05,
0.05,
0.05,
0.03,
0.05,
0.02,
0.01,
0.05,
0.04,
0.01,
0.01,
0.04,
0.02,
0.04,
0.02,
0.04,
0.03,
0.04,
0.02,
0.05,
0.02,
0.01
}
};
assaultrifleammo[] = {
{
"30Rnd_762x39_SA58",
"30Rnd_762x39_AK47",
"30Rnd_556x45_Stanag",
"30Rnd_545x39_AK",
"30Rnd_556x45_StanagSD",
"20Rnd_762x51_FNFAL",
},
{
0.25,
0.20,
0.20,
0.11,
0.12,
0.07,
0.05,
}
};
machineguns[] = {
{
"RPK_74",
"M8_SAW",
"Pecheneg_DZ",
"MG36_camo",
"M60A4_EP1_DZE",
"MG36",
"M249_m145_EP1",
"m240_scoped_EP1_DZE",
"M240_DZ",
"M249_DZ",
"Mk_48_DZ"
},
{
0.11,
0.11,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.08,
0.05,
0.05,
}
};
machinegunammo[] = {
{
"100Rnd_556x45_BetaCMag",
"75Rnd_545x39_RPK",
"100Rnd_556x45",
"100Rnd_762x51_M240",
"100Rnd_762x54_PK",
"200Rnd_556x45_M249"
},
{
0.20,
0.20,
0.15,
0.15,
0.15,
0.15,
}
};
}; };