Update weight configs

Big thanks @Damian6666 for helping out.

Still work in progress
This commit is contained in:
A Man
2020-04-27 18:43:18 +02:00
parent 3895cf9c7f
commit 4944612222
65 changed files with 2781 additions and 958 deletions

View File

@@ -5,6 +5,7 @@ class ItemKey: ItemCore {
displayname = "Black Key";
keyid = 0;
scope = 2;
weight = 0.01;
class ItemActions
{
class Toolbelt

View File

@@ -0,0 +1,118 @@
class HandGrenade_east
{
weight = 0.5;
};
class HandGrenade_west
{
weight = 0.5;
};
class 1Rnd_HE_M203
{
weight = 0.5;
};
class 6Rnd_HE_M203
{
weight = 3;
};
class FlareWhite_M203
{
weight = 0.5;
};
class 6Rnd_FlareWhite_M203
{
weight = 3;
};
class FlareGreen_M203
{
weight = 0.5;
};
class 6Rnd_FlareGreen_M203
{
weight = 3;
};
class FlareRed_M203
{
weight = 0.5;
};
class 6Rnd_FlareRed_M203
{
weight = 3;
};
class FlareYellow_M203
{
weight = 0.5;
};
class 6Rnd_FlareYellow_M203
{
weight = 3;
};
class 1Rnd_Smoke_M203
{
weight = 0.5;
};
class 6Rnd_Smoke_M203
{
weight = 3;
};
class 1Rnd_SmokeRed_M203
{
weight = 0.5;
};
class 6Rnd_SmokeRed_M203
{
weight = 3;
};
class 1Rnd_SmokeGreen_M203
{
weight = 0.5;
};
class 6Rnd_SmokeGreen_M203
{
weight = 3;
};
class 1Rnd_SmokeYellow_M203
{
weight = 0.5;
};
class 6Rnd_SmokeYellow_M203
{
weight = 3;
};
class 1Rnd_HE_GP25
{
weight = 0.5;
};
class FlareWhite_GP25
{
weight = 0.5;
};
class FlareGreen_GP25
{
weight = 0.5;
};
class FlareRed_GP25
{
weight = 0.5;
};
class FlareYellow_GP25
{
weight = 0.5;
};
class 1Rnd_SMOKE_GP25
{
weight = 0.5;
};
class 1Rnd_SmokeRed_GP25
{
weight = 0.5;
};
class 1Rnd_SmokeYellow_GP25
{
weight = 0.5;
};
class 1Rnd_SmokeGreen_GP25
{
weight = 0.5;
};

View File

@@ -8,63 +8,83 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@date 20101006
*****************************************************************************/
class PartWheel
class PG7V
{
weight = 10;
weight = 2.2;
};
class PartFueltank
class PG7VL
{
weight = 10;
weight = 2.6;
};
class PartGlass
class PG7VR
{
weight = 5;
weight = 4.5;
};
class PartEngine
class PG9_AT
{
weight = 15;
weight = 4.5;
};
class PartGeneric
{
weight = 5;
};
class PartVRotor
{
weight = 15;
};
class ItemJerrycan
{
weight = 10;
};
class ItemJerryMixed
{
weight = 10;
};
class ItemJerryMixed4
{
weight = 8;
};
class ItemJerryMixed3
{
weight = 6;
};
class ItemJerryMixed2
{
weight = 4;
};
class ItemJerryMixed1
class OG7
{
weight = 2;
};
class ItemJerrycanEmpty
class OG9_HE
{
weight = 1;
weight = 2;
};
class ItemFuelcan
class RPG18
{
weight = 5;
weight = 1.2;
};
class ItemFuelcanEmpty
class AT13
{
weight = 0.5;
};
weight = 14;
};
class Igla
{
weight = 11;
};
class 2Rnd_Igla
{
weight = 22;
};
class Strela
{
weight = 10;
};
class Javelin
{
weight = 12;
};
class M136
{
weight = 6;
};
class Stinger
{
weight = 6;
};
class SMAW_HEAA
{
weight = 6;
};
class SMAW_HEDP
{
weight = 6;
};
class MAAWS_HEDP
{
weight = 6;
};
class MAAWS_HEAT
{
weight = 6;
};
class NLAW
{
weight = 6;
};
class Dragon_EP1
{
weight = 11;
};

View File

@@ -0,0 +1,74 @@
class 29Rnd_30mm_AGS30
{
weight = 16;
};
class 48Rnd_40mm_MK19
{
weight = 25;
};
class 2000Rnd_762x51_M134
{
weight = 50;
};
class 4000Rnd_762x51_M134
{
weight = 100;
};
class 100Rnd_127x99_M2
{
weight = 30;
};
class 50Rnd_127x107_DSHKM
{
weight = 15;
};
class 150Rnd_127x107_DSHKM
{
weight = 45;
};
class 50Rnd_127x108_KORD
{
weight = 15;
};
class 150Rnd_127x108_KORD
{
weight = 45;
};
class pook_1300Rnd_762x51_M60
{
weight = 40;
};
class pook_250Rnd_762x51
{
weight = 8;
};
class 6Rnd_Grenade_Camel
{
weight = 6;
};
class pook_12Rnd_Grenade_Camel
{
weight = 12;
};
class 3Rnd_GyroGrenade
{
weight = 3;
};
class 500Rnd_TwinVickers
{
weight = 10;
};

View File

@@ -77,6 +77,67 @@ class Attachment_Sup545
weight = 0.08;
};
class Attachment_Sup556
{
weight = 0.1;
};
//New
class Attachment_ANPVS4
{
weight = 0.1;
};
class Attachment_Laser
{
weight = 0.1;
};
class Attachment_NSPU
{
weight = 0.1;
};
class Attachment_NV
{
weight = 0.1;
};
class Attachment_Sup45
{
weight = 0.1;
};
class Attachment_Sup762
{
weight = 0.1;
};
class Attachment_SupBizon
{
weight = 0.1;
};
class Attachment_SupMakarov
{
weight = 0.1;
};
class Attachment_Tws
{
weight = 0.1;
};
class Attachment_Sup10
{
weight = 0.1;
};
class Attachment_Sup68
{
weight = 0.1;
};
class Attachment_Ghillie_Desert
{
weight = 0.1;
};

View File

@@ -0,0 +1,12 @@
class TrapBear
{
weight = 1;
};
class ItemTrapBearTrapFlare
{
weight = 1;
};
class ItemTrapBearTrapSmoke
{
weight = 1;
};

View File

@@ -0,0 +1,16 @@
class desert_large_net_kit
{
weight = 50;
};
class forest_large_net_kit
{
weight = 50;
};
class desert_net_kit
{
weight = 25;
};
class forest_net_kit
{
weight = 25;
};

View File

@@ -0,0 +1,95 @@
class ItemFireBarrel_kit
{
weight = 45;
};
class workbench_kit
{
weight = 10;
};
// DayZ Mod workbench
class ItemWorkBench
{
weight = 10;
};
class wood_ramp_kit
{
weight = 70;
};
class plot_pole_kit
{
weight = 0.02;
};
class metal_panel_kit
{
weight = 50;
};
class ItemCorrugated
{
weight = 29;
};
class ItemWire
{
weight = 2.5;
};
class ItemTankTrap
{
weight = 5;
};
class ItemGenerator
{
weight = 30;
};
class fuel_pump_kit
{
weight = 50;
};
class light_pole_kit
{
weight = 10;
};
class deer_stand_kit
{
weight = 25;
};
class m240_nest_kit
{
weight = 125;
};
class rusty_gate_kit
{
weight = 80;
};
class stick_fence_kit
{
weight = 6;
};
class sun_shade_kit
{
weight = 50;
};
class park_bench_kit
{
weight = 50;
};
class ItemScaffoldingKit
{
weight = 80;
};

View File

@@ -0,0 +1,129 @@
class metal_floor_kit
{
weight = 325;
};
class half_cinder_wall_kit
{
weight = 325;
};
class full_cinder_wall_kit
{
weight = 600;
};
class cinder_door_kit
{
weight = 325;
};
class cinder_door_kit_locked
{
weight = 340;
};
class cinder_garage_kit
{
weight = 325;
};
class cinder_garage_kit_locked
{
weight = 340;
};
class ItemWoodFloor
{
weight = 25;
};
class ItemWoodFloorHalf
{
weight = 15;
};
class ItemWoodFloorQuarter
{
weight = 10;
};
class ItemWoodStairs
{
weight = 25;
};
class ItemWoodStairsSupport
{
weight = 30;
};
class ItemWoodLadder
{
weight = 25;
};
class ItemWoodWall
{
weight = 25;
};
class ItemWoodWallThird
{
weight = 7;
};
class ItemWoodWallWindow
{
weight = 25;
};
class ItemWoodWallDoor
{
weight = 25;
};
class ItemWoodWallWithDoor
{
weight = 25;
};
class ItemWoodWallWithDoorLocked
{
weight = 30;
};
class ItemWoodWallGarageDoor
{
weight = 25;
};
class ItemWoodWallGarageDoorLocked
{
weight = 25;
};
class ItemWoodWallLg
{
weight = 25;
};
class ItemWoodWallWindowLg
{
weight = 30;
};
class ItemWoodWallDoorLg
{
weight = 30;
};
class ItemWoodWallWithDoorLg
{
weight = 30;
};
class ItemWoodWallWithDoorLgLocked
{
weight = 35;
};

View File

@@ -0,0 +1,29 @@
class ItemSandbag
{
weight = 10;
};
class BagFenceRound_DZ_kit
{
weight = 10;
};
class ItemSandbagLarge
{
weight = 50;
};
class ItemSandbagExLarge
{
weight = 150;
};
class ItemSandbagExLarge5x
{
weight = 200;
};
class sandbag_nest_kit
{
weight = 50;
};

View File

@@ -0,0 +1,39 @@
class outhouse_kit
{
weight = 50;
};
class wooden_shed_kit
{
weight = 75;
};
class wood_shack_kit
{
weight = 50;
};
class storage_shed_kit
{
weight = 100;
};
class ItemGunRackKit
{
weight = 20;
};
class ItemWoodCrateKit
{
weight = 20;
};
class ItemVault
{
weight = 50;
};
class ItemLockbox
{
weight = 15;
};

View File

@@ -0,0 +1,12 @@
class ItemTent
{
weight = 4;
};
class ItemDomeTent
{
weight = 5;
};
class ItemDesertTent
{
weight = 5;
};

View File

@@ -0,0 +1,16 @@
class ItemTrapTripwireCans
{
weight = 0.2;
};
class ItemTrapTripwireFlare
{
weight = 0.2;
};
class ItemTrapTripwireGrenade
{
weight = 0.2;
};
class ItemTrapTripwireSmoke
{
weight = 0.2;
};

View File

@@ -1 +0,0 @@
/* Bulk weights are included in CfgMagazines */

View File

@@ -0,0 +1,24 @@
class FishRawTrout
{
weight = 1;
};
class FishCookedTrout
{
weight = 1;
};
class FishRawSeaBass
{
weight = 6;
};
class FishCookedSeaBass
{
weight = 5;
};
class FishRawTuna
{
weight = 27;
};
class FishCookedTuna
{
weight = 25;
};

View File

@@ -0,0 +1,56 @@
class FoodbeefCooked
{
weight = 0.25;
};
class FoodmuttonCooked
{
weight = 0.25;
};
class FoodchickenCooked
{
weight = 0.25;
};
class FoodrabbitCooked
{
weight = 0.25;
};
class FoodbaconCooked
{
weight = 0.25;
};
class FoodGoatCooked
{
weight = 0.25;
};
class FoodGoatRaw
{
weight = 0.25;
};
class FoodmuttonRaw
{
weight = 0.25;
};
class FoodchickenRaw
{
weight = 0.25;
};
class FoodBaconRaw
{
weight = 0.25;
};
class FoodRabbitRaw
{
weight = 0.25;
};
class FoodbeefRaw
{
weight = 0.25;
};
class FoodDogRaw
{
weight = 0.25;
};
class FoodDogCooked
{
weight = 0.25;
};

View File

@@ -1,85 +1,3 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class FishRawTrout
{
weight = 1;
};
class FishCookedTrout
{
weight = 1;
};
class FishRawSeaBass
{
weight = 6;
};
class FishCookedSeaBass
{
weight = 5;
};
class FishRawTuna
{
weight = 27;
};
class FishCookedTuna
{
weight = 25;
};
class FoodbeefCooked
{
weight = 0.25;
};
class FoodmuttonCooked
{
weight = 0.25;
};
class FoodchickenCooked
{
weight = 0.25;
};
class FoodrabbitCooked
{
weight = 0.25;
};
class FoodbaconCooked
{
weight = 0.25;
};
class FoodGoatCooked
{
weight = 0.25;
};
class FoodGoatRaw
{
weight = 0.25;
};
class FoodmuttonRaw
{
weight = 0.25;
};
class FoodchickenRaw
{
weight = 0.25;
};
class FoodBaconRaw
{
weight = 0.25;
};
class FoodRabbitRaw
{
weight = 0.25;
};
class FoodbeefRaw
{
weight = 0.25;
};
class FoodBioMeat
{
weight = 0.2;

View File

@@ -0,0 +1,100 @@
class ItemPlasticWaterBottle
{
weight = 0.22;
};
class ItemPlasticWaterBottleBoiled
{
weight = 0.22;
};
class ItemPlasticWaterBottleInfected
{
weight = 0.22;
};
class ItemPlasticWaterBottleSafe
{
weight = 0.22;
};
class ItemPlasticWaterBottleHerbal
{
weight = 0.22;
};
class ItemPlasticWaterbottleUnfilled
{
weight = 0.02;
};
class ItemPlasticWaterbottleDmg
{
weight = 0.02;
};
class ItemPlasticWaterbottle1oz
{
weight = 0.04;
};
class ItemPlasticWaterbottle2oz
{
weight = 0.06;
};
class ItemPlasticWaterbottle3oz
{
weight = 0.08;
};
class ItemPlasticWaterbottle4oz
{
weight = 0.1;
};
class ItemPlasticWaterbottle5oz
{
weight = 0.12;
};
class ItemPlasticWaterbottle6oz
{
weight = 0.14;
};
class ItemPlasticWaterbottle7oz
{
weight = 0.16;
};
class ItemPlasticWaterbottle8oz
{
weight = 0.17;
};
class ItemPlasticWaterbottle9oz
{
weight = 0.2;
};
class ItemPlasticWaterbottle1ozBoiled
{
weight = 0.04;
};
class ItemPlasticWaterbottle2ozBoiled
{
weight = 0.06;
};
class ItemPlasticWaterbottle3ozBoiled
{
weight = 0.08;
};
class ItemPlasticWaterbottle4ozBoiled
{
weight = 0.1;
};
class ItemPlasticWaterbottle5ozBoiled
{
weight = 0.12;
};
class ItemPlasticWaterbottle6ozBoiled
{
weight = 0.14;
};
class ItemPlasticWaterbottle7ozBoiled
{
weight = 0.16;
};
class ItemPlasticWaterbottle8ozBoiled
{
weight = 0.17;
};
class ItemPlasticWaterbottle9ozBoiled
{
weight = 0.2;
};

View File

@@ -0,0 +1,84 @@
class ItemSodaMdew
{
weight = 0.2;
};
class ItemSodaPepsi
{
weight = 0.2;
};
class ItemSodaCoke
{
weight = 0.2;
};
class ItemSodaMtngreen
{
weight = 0.2;
};
class ItemSodaR4z0r
{
weight = 0.2;
};
class ItemSodaClays
{
weight = 0.2;
};
class ItemSodaSmasht
{
weight = 0.2;
};
class ItemSodaDrwaste
{
weight = 0.2;
};
class ItemSodaFranka
{
weight = 0.2;
};
class ItemSodaLemonade
{
weight = 0.2;
};
class ItemSodaLirik
{
weight = 0.2;
};
class ItemSodaLvg
{
weight = 0.2;
};
class ItemSodaMzly
{
weight = 0.2;
};
class ItemSodaPeppsy
{
weight = 0.2;
};
class ItemSodaRabbit
{
weight = 0.2;
};
class ItemSodaSacrite
{
weight = 0.2;
};
class ItemSodaRocketFuel
{
weight = 0.2;
};
class ItemSodaGrapeDrink
{
weight = 0.2;
};
class ItemSherbet
{
weight = 0.2;
};
class ItemSodaRbull
{
weight = 0.2;
};
class ItemSodaOrangeSherbet
{
weight = 0.2;
};

View File

@@ -0,0 +1,100 @@
class ItemWaterbottle
{
weight = 0.22;
};
class ItemWaterbottleBoiled
{
weight = 0.22;
};
class ItemWaterBottleInfected
{
weight = 0.22;
};
class ItemWaterBottleSafe
{
weight = 0.22;
};
class ItemWaterBottleHerbal
{
weight = 0.22;
};
class ItemWaterBottleUnfilled
{
weight = 0.02;
};
class ItemWaterBottleDmg
{
weight = 0.02;
};
class ItemWaterbottle1oz
{
weight = 0.04;
};
class ItemWaterbottle2oz
{
weight = 0.06;
};
class ItemWaterbottle3oz
{
weight = 0.08;
};
class ItemWaterbottle4oz
{
weight = 0.1;
};
class ItemWaterbottle5oz
{
weight = 0.12;
};
class ItemWaterbottle6oz
{
weight = 0.14;
};
class ItemWaterbottle7oz
{
weight = 0.16;
};
class ItemWaterbottle8oz
{
weight = 0.17;
};
class ItemWaterbottle9oz
{
weight = 0.2;
};
class ItemWaterbottle1ozBoiled
{
weight = 0.04;
};
class ItemWaterbottle2ozBoiled
{
weight = 0.06;
};
class ItemWaterbottle3ozBoiled
{
weight = 0.08;
};
class ItemWaterbottle4ozBoiled
{
weight = 0.1;
};
class ItemWaterbottle5ozBoiled
{
weight = 0.12;
};
class ItemWaterbottle6ozBoiled
{
weight = 0.14;
};
class ItemWaterbottle7ozBoiled
{
weight = 0.16;
};
class ItemWaterbottle8ozBoiled
{
weight = 0.17;
};
class ItemWaterbottle9ozBoiled
{
weight = 0.2;
};

View File

@@ -1,18 +0,0 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class IR_Strobe_Target
{
weight = 0.4;
};
class Laserbatteries
{
weight = 0.005;
};

View File

@@ -1,119 +0,0 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class ItemBronzeBar
{
weight = 0.01;
};
class ItemCopperBar
{
weight = 0.01;
};
class ItemCopperBar10oz
{
weight = 0.1;
};
class ItemAluminumBar
{
weight = 0.01;
};
class ItemAluminumBar10oz
{
weight = 0.1;
};
class ItemTinBar
{
weight = 0.01;
};
class ItemTinBar10oz
{
weight = 0.1;
};
class ItemGoldBar
{
weight = 0.01;
};
class ItemGoldBar2oz
{
weight = 0.02;
};
class ItemGoldBar3oz
{
weight = 0.03;
};
class ItemGoldBar4oz
{
weight = 0.04;
};
class ItemGoldBar5oz
{
weight = 0.05;
};
class ItemGoldBar6oz
{
weight = 0.06;
};
class ItemGoldBar7oz
{
weight = 0.07;
};
class ItemGoldBar8oz
{
weight = 0.08;
};
class ItemGoldBar9oz
{
weight = 0.09;
};
class ItemGoldBar10oz
{
weight = 0.1;
};
class ItemSilverBar
{
weight = 0.01;
};
class ItemSilverBar2oz
{
weight = 0.02;
};
class ItemSilverBar3oz
{
weight = 0.03;
};
class ItemSilverBar4oz
{
weight = 0.04;
};
class ItemSilverBar5oz
{
weight = 0.05;
};
class ItemSilverBar6oz
{
weight = 0.06;
};
class ItemSilverBar7oz
{
weight = 0.07;
};
class ItemSilverBar8oz
{
weight = 0.08;
};
class ItemSilverBar9oz
{
weight = 0.09;
};
class ItemSilverBar10oz
{
weight = 0.1;
};
/* Briefcase weights are included in CfgMagazines */

View File

@@ -1,293 +0,0 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class ItemWaterbottle
{
weight = 0.22;
};
class ItemWaterbottleBoiled
{
weight = 0.22;
};
class ItemWaterBottleInfected
{
weight = 0.22;
};
class ItemWaterBottleSafe
{
weight = 0.22;
};
class ItemWaterBottleHerbal
{
weight = 0.22;
};
class ItemWaterBottleUnfilled
{
weight = 0.02;
};
class ItemWaterBottleDmg
{
weight = 0.02;
};
class ItemWaterbottle1oz
{
weight = 0.04;
};
class ItemWaterbottle2oz
{
weight = 0.06;
};
class ItemWaterbottle3oz
{
weight = 0.08;
};
class ItemWaterbottle4oz
{
weight = 0.1;
};
class ItemWaterbottle5oz
{
weight = 0.12;
};
class ItemWaterbottle6oz
{
weight = 0.14;
};
class ItemWaterbottle7oz
{
weight = 0.16;
};
class ItemWaterbottle8oz
{
weight = 0.17;
};
class ItemWaterbottle9oz
{
weight = 0.2;
};
class ItemWaterbottle1ozBoiled
{
weight = 0.04;
};
class ItemWaterbottle2ozBoiled
{
weight = 0.06;
};
class ItemWaterbottle3ozBoiled
{
weight = 0.08;
};
class ItemWaterbottle4ozBoiled
{
weight = 0.1;
};
class ItemWaterbottle5ozBoiled
{
weight = 0.12;
};
class ItemWaterbottle6ozBoiled
{
weight = 0.14;
};
class ItemWaterbottle7ozBoiled
{
weight = 0.16;
};
class ItemWaterbottle8ozBoiled
{
weight = 0.17;
};
class ItemWaterbottle9ozBoiled
{
weight = 0.2;
};
class ItemPlasticWaterBottle
{
weight = 0.22;
};
class ItemPlasticWaterBottleBoiled
{
weight = 0.22;
};
class ItemPlasticWaterBottleInfected
{
weight = 0.22;
};
class ItemPlasticWaterBottleSafe
{
weight = 0.22;
};
class ItemPlasticWaterBottleHerbal
{
weight = 0.22;
};
class ItemPlasticWaterbottleUnfilled
{
weight = 0.02;
};
class ItemPlasticWaterbottleDmg
{
weight = 0.02;
};
class ItemPlasticWaterbottle1oz
{
weight = 0.04;
};
class ItemPlasticWaterbottle2oz
{
weight = 0.06;
};
class ItemPlasticWaterbottle3oz
{
weight = 0.08;
};
class ItemPlasticWaterbottle4oz
{
weight = 0.1;
};
class ItemPlasticWaterbottle5oz
{
weight = 0.12;
};
class ItemPlasticWaterbottle6oz
{
weight = 0.14;
};
class ItemPlasticWaterbottle7oz
{
weight = 0.16;
};
class ItemPlasticWaterbottle8oz
{
weight = 0.17;
};
class ItemPlasticWaterbottle9oz
{
weight = 0.2;
};
class ItemPlasticWaterbottle1ozBoiled
{
weight = 0.04;
};
class ItemPlasticWaterbottle2ozBoiled
{
weight = 0.06;
};
class ItemPlasticWaterbottle3ozBoiled
{
weight = 0.08;
};
class ItemPlasticWaterbottle4ozBoiled
{
weight = 0.1;
};
class ItemPlasticWaterbottle5ozBoiled
{
weight = 0.12;
};
class ItemPlasticWaterbottle6ozBoiled
{
weight = 0.14;
};
class ItemPlasticWaterbottle7ozBoiled
{
weight = 0.16;
};
class ItemPlasticWaterbottle8ozBoiled
{
weight = 0.17;
};
class ItemPlasticWaterbottle9ozBoiled
{
weight = 0.2;
};
class ItemSodaMdew
{
weight = 0.2;
};
class ItemSodaPepsi
{
weight = 0.2;
};
class ItemSodaCoke
{
weight = 0.2;
};
class ItemSodaMtngreen
{
weight = 0.2;
};
class ItemSodaR4z0r
{
weight = 0.2;
};
class ItemSodaClays
{
weight = 0.2;
};
class ItemSodaSmasht
{
weight = 0.2;
};
class ItemSodaDrwaste
{
weight = 0.2;
};
class ItemSodaFranka
{
weight = 0.2;
};
class ItemSodaLemonade
{
weight = 0.2;
};
class ItemSodaLirik
{
weight = 0.2;
};
class ItemSodaLvg
{
weight = 0.2;
};
class ItemSodaMzly
{
weight = 0.2;
};
class ItemSodaPeppsy
{
weight = 0.2;
};
class ItemSodaRabbit
{
weight = 0.2;
};
class ItemSodaSacrite
{
weight = 0.2;
};
class ItemSodaRocketFuel
{
weight = 0.2;
};
class ItemSodaGrapeDrink
{
weight = 0.2;
};
class ItemSherbet
{
weight = 0.2;
};
class ItemSodaRbull
{
weight = 0.2;
};
class ItemSodaOrangeSherbet
{
weight = 0.2;
};

View File

@@ -1,74 +0,0 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class HandGrenade_east
{
weight = 0.5;
};
class HandGrenade_west
{
weight = 0.5;
};
class HandRoadFlare
{
weight = 0.1;
};
class HandChemBlue
{
weight = 0.1;
};
class HandChemGreen
{
weight = 0.1;
};
class HandChemRed
{
weight = 0.1;
};
class PipeBomb
{
weight = 4;
};
class TimeBomb
{
weight = 4;
};
class Mine
{
weight = 8;
};
class SmokeShellRed
{
weight = 0.4;
};
class SmokeShellYellow
{
weight = 0.4;
};
class SmokeShellGreen
{
weight = 0.4;
};
class SmokeShellBlue
{
weight = 0.4;
};
class SmokeShellPurple
{
weight = 0.4;
};
class SmokeShellOrange
{
weight = 0.4;
};
class SmokeShell
{
weight = 0.4;
};

View File

@@ -0,0 +1,40 @@
class ItemJerrycanEmpty
{
weight = 1;
};
class ItemJerrycan
{
weight = 10;
};
class ItemFuelcanEmpty
{
weight = 0.5;
};
class ItemFuelcan
{
weight = 5;
};
class ItemFuelBarrel
{
weight = 167;
};
class ItemFuelBarrelEmpty
{
weight = 20;
};
class ItemOilBarrel
{
weight = 140;
};
class ItemOilBarrelEmpty
{
weight = 20;
};
class ItemMethylaminBarrelEmpty
{
weight = 20;
};
class ItemMethylaminBarrel
{
weight = 160;
};

View File

@@ -0,0 +1,97 @@
//FoodandDrinks
class bulk
{
weight = 5;
};
class bulk_empty
{
weight = 5;
};
class bulk_ItemSodaCoke
{
weight = 6;
};
class bulk_ItemSodaCokeFull
{
weight = 7;
};
class bulk_ItemSodaPepsi
{
weight = 6;
};
class bulk_ItemSodaPepsiFull
{
weight = 7;
};
class bulk_FoodbaconCooked
{
weight = 5;
};
class bulk_FoodbaconCookedFull
{
weight = 5;
};
// Ammo
class bulk_17Rnd_9x19_glock17
{
weight = 17;
};
class bulk_15Rnd_9x19_M9SD
{
weight = 17;
};
class bulk_30Rnd_9x19_MP5SD
{
weight = 18;
};
class bulk_30Rnd_556x45_StanagSD
{
weight = 20;
};
//BuildingSupplies
class bulk_ItemSandbag
{
weight = 60;
};
class bulk_ItemTankTrap
{
weight = 25;
};
class bulk_ItemTankTrapHalf
{
weight = 12.5;
};
class bulk_ItemWire
{
weight = 25;
};
class bulk_ItemWireHalf
{
weight = 12.5;
};
class bulk_PartGeneric
{
weight = 60;
};
class bulk_PartGenericHalf
{
weight = 30;
};

View File

@@ -0,0 +1,25 @@
// For Chainsaw
class ItemMixOil
{
weight = 0.25;
};
class ItemJerryMixed
{
weight = 10;
};
class ItemJerryMixed4
{
weight = 8;
};
class ItemJerryMixed3
{
weight = 6;
};
class ItemJerryMixed2
{
weight = 4;
};
class ItemJerryMixed1
{
weight = 2;
};

View File

@@ -0,0 +1,24 @@
class ItemStone
{
weight = 10;
};
class ItemConcreteBlock
{
weight = 15;
};
class CinderBlocks
{
weight = 100;
};
class MortarBucket
{
weight = 21;
};
class equip_brick
{
weight = 0.5;
};

View File

@@ -0,0 +1,8 @@
class ItemAluminumBar
{
weight = 0.01;
};
class ItemAluminumBar10oz
{
weight = 0.1;
};

View File

@@ -0,0 +1,106 @@
//GoldBriefcase
class ItemBriefcaseEmpty
{
weight = 1;
};
class ItemBriefcase10oz
{
weight = 1.2;
};
class ItemBriefcase20oz
{
weight = 1.5;
};
class ItemBriefcase30oz
{
weight = 1.8;
};
class ItemBriefcase40oz
{
weight = 2.1;
};
class ItemBriefcase50oz
{
weight = 2.4;
};
class ItemBriefcase60oz
{
weight = 2.7;
};
class ItemBriefcase70oz
{
weight = 2.9;
};
class ItemBriefcase80oz
{
weight = 3.2;
};
class ItemBriefcase90oz
{
weight = 3.5;
};
class ItemBriefcase100oz
{
weight = 3.8;
};
//SilverBriefcase
class ItemSilvercase_Base
{
weight = 1.2;
};
class ItemBriefcaseS20oz
{
weight = 1.5;
};
class ItemBriefcaseS30oz
{
weight = 1.8;
};
class ItemBriefcaseS40oz
{
weight = 2.1;
};
class ItemBriefcaseS50oz
{
weight = 2.4;
};
class ItemBriefcaseS60oz
{
weight = 2.7;
};
class ItemBriefcaseS70oz
{
weight = 2.9;
};
class ItemBriefcaseS80oz
{
weight = 3.2;
};
class ItemBriefcaseS90oz
{
weight = 3.5;
};
class ItemBriefcaseS100oz
{
weight = 3.8;
};

View File

@@ -0,0 +1,8 @@
class ItemCopperBar
{
weight = 0.01;
};
class ItemCopperBar10oz
{
weight = 0.1;
};

View File

@@ -0,0 +1,40 @@
class ItemGoldBar
{
weight = 0.01;
};
class ItemGoldBar2oz
{
weight = 0.02;
};
class ItemGoldBar3oz
{
weight = 0.03;
};
class ItemGoldBar4oz
{
weight = 0.04;
};
class ItemGoldBar5oz
{
weight = 0.05;
};
class ItemGoldBar6oz
{
weight = 0.06;
};
class ItemGoldBar7oz
{
weight = 0.07;
};
class ItemGoldBar8oz
{
weight = 0.08;
};
class ItemGoldBar9oz
{
weight = 0.09;
};
class ItemGoldBar10oz
{
weight = 0.1;
};

View File

@@ -0,0 +1,40 @@
class ItemSilverBar
{
weight = 0.01;
};
class ItemSilverBar2oz
{
weight = 0.02;
};
class ItemSilverBar3oz
{
weight = 0.03;
};
class ItemSilverBar4oz
{
weight = 0.04;
};
class ItemSilverBar5oz
{
weight = 0.05;
};
class ItemSilverBar6oz
{
weight = 0.06;
};
class ItemSilverBar7oz
{
weight = 0.07;
};
class ItemSilverBar8oz
{
weight = 0.08;
};
class ItemSilverBar9oz
{
weight = 0.09;
};
class ItemSilverBar10oz
{
weight = 0.1;
};

View File

@@ -0,0 +1,8 @@
class ItemTinBar
{
weight = 0.01;
};
class ItemTinBar10oz
{
weight = 0.1;
};

View File

@@ -0,0 +1,95 @@
class ItemDocument
{
weight = 0.1;
};
class ItemPlotDeed
{
weight = 0.1;
};
class ItemLetter
{
weight = 0.1;
};
class ItemBook1
{
weight = 0.1;
};
class ItemBook2
{
weight = 0.1;
};
class ItemBook3
{
weight = 0.1;
};
class ItemBook4
{
weight = 0.1;
};
class ItemNewspaper
{
weight = 0.1;
};
class ItemDocumentRamp
{
weight = 0.1;
};
class ItemBookBible
{
weight = 0.1;
};
class ItemTrashPaper
{
weight = 0.01;
};
class ItemTrashPaperMusic
{
weight = 0.01;
};
class equip_paper_sheet
{
weight = 0.01;
};
class equip_note
{
weight = 0.01;
};
// Vehicle upgrade parts
class ItemORP
{
weight = 0.1;
};
class ItemAVE
{
weight = 0.1;
};
class ItemLRK
{
weight = 0.1;
};
class ItemTNK
{
weight = 0.1;
};
class ItemARM
{
weight = 0.1;
};

View File

@@ -0,0 +1,29 @@
class equip_aa_battery
{
weight = 0.01;
};;
class equip_d_battery
{
weight = 0.02;
};
class equip_floppywire
{
weight = 0.3;
};
class equip_scrapelectronics
{
weight = 0.5;
};
class ItemLightBulb
{
weight = 0.02;
};
class Laserbatteries
{
weight = 0.005;
};

View File

@@ -0,0 +1,29 @@
class PipeBomb
{
weight = 4;
};
class TimeBomb
{
weight = 4;
};
class Mine
{
weight = 8;
};
class MineE
{
weight = 8;
};
class ItemC4Charge
{
weight = 0.8;
};
class ItemCarBomb
{
weight = 0.8;
};

View File

@@ -0,0 +1,19 @@
class HandRoadFlare : HandGrenade
{
weight = 0.7;
};
class HandChemBlue : HandGrenade
{
weight = 0.1;
};
class HandChemGreen : HandGrenade
{
weight = 0.1;
};
class HandChemRed : HandGrenade
{
weight = 0.1;
};

View File

@@ -0,0 +1,28 @@
class ItemTopaz
{
weight = 2;
};
class ItemObsidian
{
weight = 2;
};
class ItemSapphire
{
weight = 2;
};
class ItemAmethyst
{
weight = 2;
};
class ItemEmerald
{
weight = 2;
};
class ItemCitrine
{
weight = 2;
};
class ItemRuby
{
weight = 2;
};

View File

@@ -0,0 +1,8 @@
class ItemComboLock
{
weight = 0.03;
};
class ItemPadlock
{
weight = 0.03;
};

View File

@@ -0,0 +1,44 @@
class PartGeneric
{
weight = 5;
};
class ItemPole
{
weight = 10;
};
class ItemMetalSheet
{
weight = 10;
};
class equip_metal_sheet
{
weight = 5;
};
class equip_metal_sheet_rusted
{
weight = 5;
};
class ItemRSJ
{
weight = 60;
};
class equip_1inch_metal_pipe
{
weight = 0.4;
};
class equip_2inch_metal_pipe
{
weight = 0.8;
};
class equip_tent_poles
{
weight = 0.3;
};

View File

@@ -0,0 +1,124 @@
class ItemZombieParts
{
weight = 5;
};
class ItemHotwireKit
{
weight = 2;
};
class ItemCards
{
weight = 0.7;
};
class ItemKosmosSmokes
{
weight = 0.8;
};
class ItemKosmosSmokesOpen
{
weight = 0.6;
};
class equip_nails
{
weight = 0.01;
};
class ItemScrews
{
weight = 0.01;
};
class equip_duct_tape
{
weight = 0.4;
};
class equip_feathers
{
weight = 0.01;
};
class equip_pvc_box
{
weight = 0.2;
};
class equip_hobo_fishing_kit
{
weight = 2.8;
};
class equip_hose
{
weight = 0.15;
};
class equip_hose_clamp
{
weight = 0.1;
};
class Item_coni
{
weight = 0.5;
};
class Item_Connector_I
{
weight = 0.5;
};
class Item_Connector_L
{
weight = 0.5;
};
class Item_Connector_T
{
weight = 0.5;
};
class equip_tin_powder
{
weight = 0.1;
};
class equip_slugsinacan
{
weight = 0.1;
};
class equip_cable_tie
{
weight = 0.02;
};
class equip_needle
{
weight = 0.01;
};
class equip_laser
{
weight = 0.1;
};
class equip_weapon_rails
{
weight = 0.1;
};
class equip_rail_screws
{
weight = 0.1;
};
class IR_Strobe_Target
{
weight = 0.4;
};

View File

@@ -0,0 +1,12 @@
class PartOre
{
weight = 1;
};
class PartOreSilver
{
weight = 1.2;
};
class PartOreGold
{
weight = 1.5;
};

View File

@@ -0,0 +1,28 @@
class equip_paint
{
weight = 9.5;
};
class equip_paint_generic
{
weight = 9.5;
};
class equip_paint_black
{
weight = 9.5;
};
class equip_paint_white
{
weight = 9.5;
};
class equip_paint_blue
{
weight = 9.5;
};
class equip_paint_green
{
weight = 9.5;
};
class equip_paint_red
{
weight = 9.5;
};

View File

@@ -0,0 +1,49 @@
class ItemFertilizer
{
weight = 0.1;
};
class ItemPumpkinSeed
{
weight = 0.1;
};
class ItemPumpkinPlant
{
weight = 0.1;
};
class ItemHempSeed
{
weight = 0.1;
};
class ItemHempPlant
{
weight = 0.1;
};
class ItemKiloHemp
{
weight = 1;
};
class ItemKiloTobacco
{
weight = 1;
};
class ItemKiloBlackTea
{
weight = 1;
};
class ItemTobaccoLeafs
{
weight = 0.1;
};
class equip_comfreyleafs
{
weight = 0.1;
};

View File

@@ -0,0 +1,24 @@
class ItemCanvas
{
weight = 4;
};
class ItemBurlap
{
weight = 8;
};
class equip_rag
{
weight = 0.3;
};
class equip_string
{
weight = 0.05;
};
class equip_rope
{
weight = 0.1;
};

View File

@@ -0,0 +1,24 @@
class equip_lever
{
weight = 0.5;
};
class ItemSledgeHead
{
weight = 9;
};
class ItemSledgeHandle
{
weight = 1;
};
class equip_Crossbow_Kit
{
weight = 4;
};
class equip_crossbow_stock
{
weight = 4;
};

View File

@@ -0,0 +1,22 @@
class PartWheel
{
weight = 10;
};
class PartFueltank
{
weight = 10;
};
class PartGlass
{
weight = 5;
};
class PartEngine
{
weight = 15;
};
class PartVRotor
{
weight = 15;
};
// PartGeneric can be found under Items\Metal.hpp

View File

@@ -0,0 +1,42 @@
class ItemLog
{
weight = 1;
};
class ItemPlank
{
weight = 1;
};
class PartWoodPile
{
weight = 1;
};
class PartPlankPack
{
weight = 6;
};
class PartPlywoodPack
{
weight = 12;
};
class PartWoodPlywood
{
weight = 4;
};
class PartWoodLumber
{
weight = 2;
};
class equip_wood_pallet
{
weight = 10;
};
class equip_crate
{
weight = 12;
};

View File

@@ -1,198 +0,0 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class PG7V
{
weight = 2.2;
};
class PG7VL
{
weight = 2.6;
};
class PG7VR
{
weight = 4.5;
};
class PG9_AT
{
weight = 4.5;
};
class OG7
{
weight = 2;
};
class OG9_HE
{
weight = 2;
};
class RPG18
{
weight = 1.2;
};
class AT13
{
weight = 14;
};
class Igla
{
weight = 11;
};
class 2Rnd_Igla
{
weight = 22;
};
class Strela
{
weight = 10;
};
class Javelin
{
weight = 12;
};
class M136
{
weight = 6;
};
class Stinger
{
weight = 6;
};
class SMAW_HEAA
{
weight = 6;
};
class SMAW_HEDP
{
weight = 6;
};
class MAAWS_HEDP
{
weight = 6;
};
class MAAWS_HEAT
{
weight = 6;
};
class NLAW
{
weight = 6;
};
class Dragon_EP1
{
weight = 11;
};
class 1Rnd_HE_M203
{
weight = 0.25;
};
class 1Rnd_Smoke_M203
{
weight = 0.25;
};
class 1Rnd_SmokeGreen_M203
{
weight = 0.25;
};
class 1Rnd_SmokeRed_M203
{
weight = 0.25;
};
class 1Rnd_SmokeYellow_M203
{
weight = 0.25;
};
class FlareRed_M203
{
weight = 0.25;
};
class FlareGreen_M203
{
weight = 0.25;
};
class FlareWhite_M203
{
weight = 0.25;
};
class FlareYellow_M203
{
weight = 0.25;
};
class 6Rnd_HE_M203
{
weight = 1.5;
};
class 6Rnd_FlareRed_M203
{
weight = 1.5;
};
class 6Rnd_FlareGreen_M203
{
weight = 1.5;
};
class 6Rnd_FlareWhite_M203
{
weight = 1.5;
};
class 6Rnd_FlareYellow_M203
{
weight = 1.5;
};
class 6Rnd_Smoke_M203
{
weight = 1.5;
};
class 6Rnd_SmokeRed_M203
{
weight = 1.5;
};
class 6Rnd_SmokeGreen_M203
{
weight = 1.5;
};
class 6Rnd_SmokeYellow_M203
{
weight = 1.5;
};
class 1Rnd_HE_GP25
{
weight = 0.25;
};
class FlareWhite_GP25
{
weight = 0.25;
};
class FlareGreen_GP25
{
weight = 0.25;
};
class FlareRed_GP25
{
weight = 0.25;
};
class FlareYellow_GP25
{
weight = 0.25;
};
class 1Rnd_SMOKE_GP25
{
weight = 0.25;
};
class 1Rnd_SMOKERED_GP25
{
weight = 0.25;
};
class 1Rnd_SMOKEGREEN_GP25
{
weight = 0.25;
};
class 1Rnd_SMOKEYELOW_GP25
{
weight = 0.25;
};

View File

@@ -1,28 +0,0 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class ItemVault
{
weight = 50;
};
class ItemTent
{
weight = 4;
};
class ItemDomeTent
{
weight = 5;
};
class ItemDesertTent
{
weight = 5;
};
//lockbox weight is in cfgMagazines

View File

@@ -1,13 +1,4 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class TrashJackDaniels
class TrashJackDaniels
{
weight = 0.02;
};
@@ -19,10 +10,6 @@ class ItemTrashToiletpaper
{
weight = 0.001;
};
class ItemZombieParts
{
weight = 5;
};
class ItemSodaEmpty
{
weight = 0.002;

View File

@@ -25,23 +25,59 @@ class CfgWeight
class Magazines
{
#include "Magazines\Attachments.hpp"
#include "Magazines\Bulk.hpp"
#include "Magazines\Crafting.hpp"
#include "Magazines\Currency.hpp"
#include "Magazines\Drinks.hpp"
#include "Magazines\Explosives.hpp"
#include "Magazines\Food.hpp"
#include "Magazines\LauncherAmmo.hpp"
#include "Magazines\LMGAmmo.hpp"
#include "Magazines\Buildings\BearTrap.hpp"
#include "Magazines\Buildings\Camonets.hpp"
#include "Magazines\Buildings\ModularBuilding.hpp"
#include "Magazines\Buildings\Sandbag.hpp"
#include "Magazines\Buildings\Storage.hpp"
#include "Magazines\Buildings\Tent.hpp"
#include "Magazines\Buildings\Misc.hpp"
#include "Magazines\Buildings\TripWire.hpp"
#include "Magazines\Consumables\Fish.hpp"
#include "Magazines\Consumables\Meat.hpp"
#include "Magazines\Consumables\PackagedFood.hpp"
#include "Magazines\Consumables\PlasticWaterbottle.hpp"
#include "Magazines\Consumables\Soda.hpp"
#include "Magazines\Consumables\WaterBottle.hpp"
#include "Magazines\Items\Currency\AluminumBar.hpp"
#include "Magazines\Items\Currency\Briefcase.hpp"
#include "Magazines\Items\Currency\CopperBar.hpp"
#include "Magazines\Items\Currency\GoldBar.hpp"
#include "Magazines\Items\Currency\SilverBar.hpp"
#include "Magazines\Items\Currency\TinBar.hpp"
#include "Magazines\Items\BarrelsCans.hpp"
#include "Magazines\Items\Bulk.hpp"
#include "Magazines\Items\ChainsawGas.hpp"
#include "Magazines\Items\Concrete.hpp"
#include "Magazines\Items\DocumentsPapers.hpp"
#include "Magazines\Items\Electronics.hpp"
#include "Magazines\Items\Explosives.hpp"
#include "Magazines\Items\Flares.hpp"
#include "Magazines\Items\Gems.hpp"
#include "Magazines\Items\Locks.hpp"
#include "Magazines\Items\Metal.hpp"
#include "Magazines\Items\Misc.hpp"
#include "Magazines\Items\Ores.hpp"
#include "Magazines\Items\Paints.hpp"
#include "Magazines\Items\Planting.hpp"
#include "Magazines\Items\Textiles.hpp"
#include "Magazines\Items\ToolCrafting.hpp"
#include "Magazines\Items\VehicleParts.hpp"
#include "Magazines\Items\Wood.hpp"
#include "Magazines\Medical.hpp"
#include "Magazines\PistolAmmo.hpp"
#include "Magazines\RifleAmmo.hpp"
#include "Magazines\ShotgunAmmo.hpp"
#include "Magazines\SMGAmmo.hpp"
#include "Magazines\SniperAmmo.hpp"
#include "Magazines\Storage.hpp"
#include "Magazines\Trash.hpp"
#include "Magazines\VehicleParts.hpp"
#include "Magazines\Trash.hpp"
#include "Magazines\Ammo\LauncherAmmo.hpp"
#include "Magazines\Ammo\LMGAmmo.hpp"
#include "Magazines\Ammo\PistolAmmo.hpp"
#include "Magazines\Ammo\RifleAmmo.hpp"
#include "Magazines\Ammo\ShotgunAmmo.hpp"
#include "Magazines\Ammo\SMGAmmo.hpp"
#include "Magazines\Ammo\SniperAmmo.hpp"
#include "Magazines\Ammo\VehicleAmmo.hpp"
};
class Backpacks
{

View File

@@ -40,27 +40,32 @@ R3F_WEIGHT_FNCT_GetItemWeight = {
_weight = 0;
CfgWeight = configFile >> "CfgWeight";
{
if(isclass(CfgWeight >> "Weapons" >> _x)) then {
if (isclass(CfgWeight >> "Weapons" >> _x)) then {
_weight = getNumber(CfgWeight >> "Weapons" >> _x >> "weight");
_total_weight = _total_weight + _weight;
}else{
if(isclass(CfgWeight >> "Magazines" >> _x)) then {
_weight = getNumber(CfgWeight >> "Magazines" >> _x >> "weight");
_total_weight = _total_weight + _weight;
}else{
_weight = 0;
if(isNumber (configFile >> "cfgMagazines" >> _x >> "weight")) then {
_weight = getNumber(configFile >> "cfgMagazines" >> _x >> "weight");
};
if(_weight > 0) then {
} else {
if (isNumber (configFile >> "cfgWeapons" >> _x >> "weight")) then {
_weight = getNumber(configFile >> "cfgWeapons" >> _x >> "weight");
} else {
if (isclass(CfgWeight >> "Magazines" >> _x)) then {
_weight = getNumber(CfgWeight >> "Magazines" >> _x >> "weight");
_total_weight = _total_weight + _weight;
} else {
// log only if not found
diag_log format["No R3F weight config for: %1", _x];
_weight = 0;
if (isNumber (configFile >> "cfgMagazines" >> _x >> "weight")) then {
_weight = getNumber(configFile >> "cfgMagazines" >> _x >> "weight");
};
if (_weight > 0) then {
_total_weight = _total_weight + _weight;
} else {
// log only if not found
diag_log format["No R3F weight config for: %1", _x];
};
};
};
};
};
}count _arr_class;

View File

@@ -55,7 +55,7 @@ class m240_scoped_EP1_DZE
{
weight = 14;
};
class MG36_camo
class MG36_Camo_DZ //NEW
{
weight = 3.6;
};
@@ -119,7 +119,7 @@ class Mk48_Holo_DZ
{
weight = 8.4;
};
class MG36
class MG36_DZ //NEW
{
weight = 3.6;
};
@@ -171,7 +171,42 @@ class UK59_DZ
{
weight = 4.7;
};
class BAF_L86A2_ACOG
class L86A2_LSW_DZ //NEW
{
weight = 6.7;
};
class XM8_SAW_DZ //NEW
{
weight = 6.7;
};
class XM8_DES_SAW_DZ //NEW
{
weight = 6.7;
};
class XM8_GREY_SAW_DZ //NEW
{
weight = 6.7;
};
class Mk43_DZ //NEW
{
weight = 6.7;
};
class MK43_Holo_DZ //NEW
{
weight = 6.7;
};
class MK43_ACOG_DZ //NEW
{
weight = 6.7;
};
class Mk48_DES_CCO_DZ //NEW
{
weight = 6.7;
};
class MK43_M145_DZ //NEW
{
weight = 6.7;
};

View File

@@ -1,14 +1,4 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class glock17_EP1
class glock17_EP1
{
weight = 0.7;
};
@@ -40,22 +30,6 @@ class revolver_gold_EP1
{
weight = 1;
};
class UZI_SD_EP1
{
weight = 1.9;
};
class UZI_EP1
{
weight = 1.7;
};
class PDW_DZ
{
weight = 1.7;
};
class Sa61_EP1
{
weight = 1.3;
};
class Colt1911
{
weight = 1.1;
@@ -80,6 +54,10 @@ class M9_SD_DZ
{
weight = 1.2;
};
class M9_Camo_DZ
{
weight = 0.9;
};
class Makarov
{
weight = 0.75;
@@ -93,6 +71,86 @@ class Makarov_DZ
weight = 0.75;
};
class Makarov_SD_DZ
{
weight = 0.9;
};
class MK22_DZ
{
weight = 0.9;
};
class MK22_SD_DZ
{
weight = 0.9;
};
class MK22_2_DZ
{
weight = 0.9;
};
class MK22_2_SD_DZ
{
weight = 0.9;
};
class P99_Green_SD_DZ
{
weight = 0.9;
};
class P99_Green_DZ
{
weight = 0.9;
};
class P99_Black_SD_DZ
{
weight = 0.9;
};
class P99_Black_DZ
{
weight = 0.9;
};
class P99_Silver_SD_DZ
{
weight = 0.9;
};
class P99_Silver_DZ
{
weight = 0.9;
};
class Kimber_M1911_DZ
{
weight = 0.9;
};
class Kimber_M1911_SD_DZ
{
weight = 0.9;
};
class USP_DZ
{
weight = 0.9;
};
class USP_SD_DZ
{
weight = 0.9;
};
class BrowningHP_DZ
{
weight = 0.9;
};
class Colt_Anaconda_DZ
{
weight = 1.9;
};
class Colt_Anaconda_Gold_DZ
{
weight = 1.9;
};
class Colt_Bull_DZ
{
weight = 1.9;
};
class Colt_Python_DZ
{
weight = 1.9;
};
class M1911_2_DZ
{
weight = 0.9;
};

View File

@@ -391,7 +391,7 @@ class G36A_Camo_DZ
{
weight = 3.6;
};
class G36C_camo
class G36C_Camo_DZ
{
weight = 2.8;
};
@@ -407,10 +407,6 @@ class G36K_Camo_SD_DZ
{
weight = 3.2;
};
class G36_C_SD_camo
{
weight = 3.6;
};
class LeeEnfield
{
weight = 4;
@@ -871,3 +867,420 @@ class M14_Holo_Gh_DZ
{
weight = 5.8;
};
//NEW
class M1A_SC16_BL_DZ
{
weight = 5.8;
};
class M1A_SC16_BL_CCO_DZ
{
weight = 6.2;
};
class M1A_SC16_BL_HOLO_DZ
{
weight = 6.2;
};
class M1A_SC16_BL_ACOG_DZ
{
weight = 6.6;
};
class M1A_SC16_BL_PU_DZ
{
weight = 6.8;
};
class M1A_SC16_TAN_DZ
{
weight = 5.8;
};
class M1A_SC16_TAN_CCO_DZ
{
weight = 6.2;
};
class M1A_SC16_TAN_HOLO_DZ
{
weight = 6.2;
};
class M1A_SC16_TAN_ACOG_DZ
{
weight = 6.6;
};
class M1A_SC16_TAN_PU_DZ
{
weight = 6.8;
};
class M1A_SC2_BL_DZ
{
weight = 5.8;
};
class M1A_SC2_BL_CCO_DZ
{
weight = 6.2;
};
class M1A_SC2_BL_HOLO_DZ
{
weight = 6.2;
};
class M1A_SC2_BL_ACOG_DZ
{
weight = 6.6;
};
class M1A_SC2_BL_PU_DZ
{
weight = 6.8;
};
class G36C_Camo_Holo_SD_DZ
{
weight = 5.8;
};
class HK53A3_DZ
{
weight = 7.8;
};
class PDR_DZ
{
weight = 5.1;
};
class HK416_DZ
{
weight = 5.0;
};
class HK416_CCO_DZ
{
weight = 5.2;
};
class HK416_SD_DZ
{
weight = 5.2;
};
class HK416_CCO_SD_DZ
{
weight = 5.4;
};
class HK416_Holo_SD_DZ
{
weight = 5.4;
};
class HK416_GL_DZ
{
weight = 5.2;
};
class HK416_GL_SD_DZ
{
weight = 5.4;
};
class HK416_GL_CCO_DZ
{
weight = 5.4;
};
class HK416_GL_CCO_SD_DZ
{
weight = 5.6;
};
class HK416_GL_Holo_DZ
{
weight = 5.4;
};
class HK416_GL_Holo_SD_DZ
{
weight = 5.6;
};
class HK416C_DZ
{
weight = 5.0;
};
class HK416C_CCO_DZ
{
weight = 5.2;
};
class HK416C_Holo_DZ
{
weight = 5.2;
};
class HK416C_GL_DZ
{
weight = 5.2;
};
class HK416C_GL_CCO_DZ
{
weight = 5.4;
};
class HK416C_GL_Holo_DZ
{
weight = 5.4;
};
class HK416C_ACOG_DZ
{
weight = 5.4;
};
class HK416C_GL_ACOG_DZ
{
weight = 5.6;
};
class HK417_DZ
{
weight = 5.0;
};
class HK417_CCO_DZ
{
weight = 5.2;
};
class HK417_Holo_DZ
{
weight = 5.2;
};
class HK417_SD_DZ
{
weight = 5.2;
};
class HK417_CCO_SD_DZ
{
weight = 5.4;
};
class HK417_Holo_SD_DZ
{
weight = 5.4;
};
class HK417_ACOG_DZ
{
weight = 5.2;
};
class HK417_ACOG_SD_DZ
{
weight = 5.4;
};
class HK417C_DZ
{
weight = 5.4;
};
class HK417C_CCO_DZ
{
weight = 5.6;
};
class HK417C_Holo_DZ
{
weight = 5.4;
};
class HK417C_GL_DZ
{
weight = 5.6;
};
class HK417C_GL_CCO_DZ
{
weight = 5.0;
};
class HK417C_GL_Holo_DZ
{
weight = 5.2;
};
class HK417C_ACOG_DZ
{
weight = 5.4;
};
class HK417C_GL_ACOG_DZ
{
weight = 5.6;
};
class CTAR21_DZ
{
weight = 5.4;
};
class CTAR21_CCO_DZ
{
weight = 5.4;
};
class CTAR21_ACOG_DZ
{
weight = 5.4;
};
class Groza1_DZ
{
weight = 5.6;
};
class Groza1_SD_DZ
{
weight = 5.6;
};
class Groza9_DZ
{
weight = 5.6;
};
class Groza9_SD_DZ
{
weight = 5.6;
};
class Groza9_GL_DZ
{
weight = 5.6;
};
class MK14_DZ
{
weight = 5.6;
};
class MK16_DZ
{
weight = 5.6;
};
class MK16_CCO_DZ
{
weight = 5.6;
};
class MK16_Holo_DZ
{
weight = 5.6;
};
class MK16_CCO_SD_DZ
{
weight = 5.6;
};
class MK16_Holo_SD_DZ
{
weight = 5.6;
};
class MK16_GL_DZ
{
weight = 5.6;
};
class MK16_GL_CCO_DZ
{
weight = 5.6;
};
class MK16_GL_CCO_SD_DZ
{
weight = 5.6;
};
class MK16_GL_Holo_DZ
{
weight = 5.6;
};
class MK16_GL_Holo_SD_DZ
{
weight = 5.6;
};
class MK16_ACOG_DZ
{
weight = 5.6;
};
class MK16_GL_ACOG_DZ
{
weight = 5.6;
};
class MK16_ACOG_SD_DZ
{
weight = 5.6;
};
class MK16_GL_ACOG_SD_DZ
{
weight = 5.6;
};
class MK17_DZ
{
weight = 5.6;
};
class MK17_CCO_DZ
{
weight = 5.6;
};
class MK17_Holo_DZ
{
weight = 5.6;
};
class MK17_CCO_SD_DZ
{
weight = 5.6;
};
class MK17_Holo_SD_DZ
{
weight = 5.6;
};
class MK17_GL_DZ
{
weight = 5.6;
};
class MK17_GL_CCO_DZ
{
weight = 5.6;
};
class MK17_GL_CCO_SD_DZ
{
weight = 5.6;
};
class MK17_GL_Holo_DZ
{
weight = 5.6;
};
class MK17_GL_Holo_SD_DZ
{
weight = 5.6;
};
class MK17_ACOG_DZ
{
weight = 5.6;
};
class MK17_GL_ACOG_DZ
{
weight = 5.6;
};
class MK17_ACOG_SD_DZ
{
weight = 5.6;
};
class XM8_Compact_DZ
{
weight = 5.6;
};
class XM8_DES_Compact_DZ
{
weight = 5.6;
};
class XM8_GREY_Compact_DZ
{
weight = 5.6;
};
class XM8_GREY_2_Compact_DZ
{
weight = 5.6;
};
class XM8_DZ
{
weight = 5.6;
};
class XM8_DES_DZ
{
weight = 5.6;
};
class XM8_GREY_DZ
{
weight = 5.6;
};
class XM8_GREY_2_DZ
{
weight = 5.6;
};
class XM8_GL_DZ
{
weight = 5.6;
};
class XM8_DES_GL_DZ
{
weight = 5.6;
};
class XM8_GREY_GL_DZ
{
weight = 5.6;
};
class XM8_Sharpsh_DZ
{
weight = 5.6;
};
class XM8_DES_Sharpsh_DZ
{
weight = 5.6;
};
class XM8_GREY_Sharpsh_DZ
{
weight = 5.6;
};
class XM8_SD_DZ
{
weight = 5.6;
};

View File

@@ -1,14 +1,4 @@
/****************************************************************************
Copyright (C) 2010 Team ~R3F~
This program is free software under the terms of the GNU General Public License version 3.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@authors team-r3f.org
@version 1.00
@date 20101006
*****************************************************************************/
class bizon
class bizon
{
weight = 2.1;
};
@@ -24,19 +14,79 @@ class Bizon_SD_DZ
{
weight = 2.3;
};
class MP5SD
{
weight = 2.6;
};
class MP5A5
{
weight = 2.6;
};
class MP5_SD_DZ
{
weight = 2.6;
weight = 2;
};
class MP5_DZ
{
weight = 2;
};
class MP5SD
{
weight = 2.2;
};
class MP5_SD_DZ
{
weight = 2.2;
};
class UZI_SD_EP1
{
weight = 1.8;
};
class UZI_EP1
{
weight = 1.6;
};
class PDW_DZ
{
weight = 1.6;
};
class PDW_SD_DZ
{
weight = 1.8;
};
class Sa61_EP1
{
weight = 1.3;
};
class Mac10_DZ
{
weight = 1.0;
};
class Kriss_DZ
{
weight = 2.6;
};
class TMP_DZ
{
weight = 1.6;
};
class TMP_SD_DZ
{
weight = 1.8;
};
class UMP_DZ
{
weight = 2.8;
};
class UMP_SD_DZ
{
weight = 3;
};
class MP7_DZ
{
weight = 2.6;
};
class MP7_SD_DZ
{
weight = 2.6;
};
class P90_DZ
{
weight = 2.6;
};
class P90_SD_DZ
{
weight = 2.6;
};

View File

@@ -148,3 +148,96 @@ class VSS_Vintorez
{
weight = 3.2;
};
//NEW
class MSR_DZ
{
weight = 3.2;
};
class RSASS_DZ
{
weight = 3.2;
};
class XM2010_DZ
{
weight = 3.2;
};
class M21_DZ
{
weight = 3.2;
};
class M1A_SC16_BL_Sniper_DZ
{
weight = 9.8;
};
class M1A_SC16_TAN_Sniper_DZ
{
weight = 9.8;
};
class M1A_SC2_BL_Sniper_DZ
{
weight = 9.8;
};
class SVD_PSO1_Gh_DES_DZ
{
weight = 9.8;
};
class SVD_NSPU_DZ
{
weight = 9.8;
};
class HK417_Sniper_DZ
{
weight = 9.8;
};
class HK417_Sniper_SD_DZ
{
weight = 9.8;
};
class Groza1_Sniper_DZ
{
weight = 9.8;
};
class Groza1_Sniper_SD_DZ
{
weight = 9.8;
};
class Groza9_Sniper_DZ
{
weight = 9.8;
};
class Groza9_GL_Sniper_DZ
{
weight = 9.8;
};
class Groza9_Sniper_SD_DZ
{
weight = 9.8;
};
class MK14_Sniper_DZ
{
weight = 9.8;
};
class MK14_Sniper_SD_DZ
{
weight = 9.8;
};
class MK17_Sniper_DZ
{
weight = 9.8;
};
class MK17_Sniper_SD_DZ
{
weight = 9.8;
};
class M110_NV_DZ
{
weight = 9.8;
};
class M4A3_Camo_DZ
{
weight = 9.8;
};
class M4A3_Camo_ACOG_DZ
{
weight = 9.8;
};