From 148f5870450a1c9f21174a270ec4238484d6e68d Mon Sep 17 00:00:00 2001 From: Sequisha Date: Thu, 23 Jan 2014 02:42:36 -0500 Subject: [PATCH] Update CfgBuildingLoot.hpp Balanced distribution of military rarity, removed vehicle ammo from Barracks. Added Launcher to crash sites, and rarity of corresponding ammo in Barracks single piles. --- .../CfgBuildingLoot/CfgBuildingLoot.hpp | 48 +++++++++++-------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgBuildingLoot/CfgBuildingLoot.hpp b/SQF/dayz_code/Configs/CfgBuildingLoot/CfgBuildingLoot.hpp index b07958a5c..2f56edee5 100644 --- a/SQF/dayz_code/Configs/CfgBuildingLoot/CfgBuildingLoot.hpp +++ b/SQF/dayz_code/Configs/CfgBuildingLoot/CfgBuildingLoot.hpp @@ -448,6 +448,7 @@ class CfgBuildingLoot { { "machineguns","cfglootweapon" }, { "","military" }, { "","medical" }, + { "MAAWS", "weapon" }, { "MedBox0","object" }, { "NVGoggles","weapon" }, { "AmmoBoxSmall_556","object" }, @@ -456,12 +457,13 @@ class CfgBuildingLoot { { "militaryammo","single" } }; itemChance[] = { - 0.11, + 0.10, 0.04, 0.07, 0.06, 0.3, - 0.19, + 0.18, + 0.02, 0.05, 0.01, 0.03, @@ -483,6 +485,7 @@ class CfgBuildingLoot { { "machineguns","cfglootweapon" }, { "","military" }, { "","medical" }, + { "MAAWS", "weapon" }, { "MedBox0","object" }, { "NVGoggles","weapon" }, { "AmmoBoxSmall_556","object" }, @@ -491,12 +494,13 @@ class CfgBuildingLoot { { "militaryammo","single" } }; itemChance[] = { - 0.1, + 0.09, 0.03, 0.05, 0.05, 0.35, - 0.19, + 0.18, + 0.02, 0.05, 0.01, 0.03, @@ -694,7 +698,7 @@ class CfgBuildingLoot { { "pistols","cfglootweapon" }, { "sniperrifles","cfglootweapon" }, { "militaryshotguns","cfglootweapon" }, - { "submachinegun","cfglootweapon" }, + { "submachinegun","cfglootweapon" },c { "AmmoBoxSmall_556","object" }, { "AmmoBoxSmall_762","object" }, { "Binocular","weapon" }, @@ -726,13 +730,13 @@ class CfgBuildingLoot { 0.01, 0.01, 0.01, - 0.05, + 0.01, 0.04, 0.08, 0.3, 0.01, - 0.01, - 0.01, + 0.03, + 0.03, 0.01, 0.05 @@ -750,35 +754,39 @@ class CfgBuildingLoot { { "","medical" }, { "","generic" }, { "","military" }, + { "5Rnd_86x70_L115A1","magazine"}, + { "10Rnd_127x99_m107","magazine"}, { "machinegunammo","single" }, { "militaryclothes","single" }, { "NVGoggles","weapon" }, - { "29Rnd_30mm_AGS30","magazine" }, - { "50Rnd_127x107_DSHKM","magazine" }, - { "48Rnd_40mm_MK19","magazine" }, - { "100Rnd_127x99_M2","magazine" }, + { "100Rnd_762x54_PK","magazine" }, + { "MAAWS_HEAT","magazine" }, + { "2000Rnd_762x51_M134","magazine" }, + { "PipeBomb","magazine" }, { "machinegunammo","single" } }; itemChanceSmall[] = { - 0.08, + 0.10, 0.02, 0.02, 0.02, 0.01, + 0.02, + 0.01, 0.03, - 0.04, - 0.03, - 0.03, + 0.01, 0.06, 0.13, 0.3, + 0.02, + 0.02, 0.05, - 0.03, - 0.03, + 0.04, 0.02, + 0.05, + 0.01, 0.03, - 0.03, - 0.02, + 0.01, 0.02 }; };