Jump to content

how to prescribe a new loot and give him a rarity?


merkava

Recommended Posts

Hello! I have a few questions. help me please

1) I want to go through the balance, which config lines are responsible for the chance of loot appearance and in which buildings it will appear

2) where the number of technics on the map is adjusted and their rarity

thanks in advance

 

 

forgive me, for my English, I've written, did I understand that?

 

 

here is the config CfgLootTable.h
there is a block in it, for example
class Items
{
items [] = {
{{"ItemCompass", "item"}, 20},
{{"ItemGeigerCounter_EPOCH", "item"}, 1},
{{"ItemGPS", "item"}, 9},
{{"EpochRadio0", "item"}, 3},
{{"EpochRadio1", "item"}, 3},
{{"EpochRadio2", "item"}, 3},
{{"EpochRadio3", "item"}, 2},
{{"EpochRadio4", "item"}, 2},
{{"EpochRadio5", "item"}, 2},
{{"EpochRadio6", "item"}, 2},
{{"EpochRadio7", "item"}, 1},
{{"EpochRadio8", "item"}, 1},
{{"EpochRadio9", "item"}, 1},
{{"ItemWatch", "item"}, 30},
{{"FAK", "magazine"}, 20}
};};
};};

{{"EpochRadio2", "item"}, 3}, // 1- class_name // 2 type_slot 3) chanse or what does it mean???

in the second config


class Bed_EPOCH: Default
{
lootMin = 3;
LootMax = 6;
tables [] = {
{"Items", 5},
{"Equipment", 8},
{"Pistols", 3},
{"PistolAmmo", 5},
{"Scopes", 5},
{"Muzzles", 5},
{"Uniforms", 6},
{"Vests", 6},
{"Headgear", 8},
{"Food", 9},
{"RifleAmmo", 7},
{"MachinegunAmmo", 3},
{"SniperRifleAmmo", 2},
{"Hand", 5},
{"Generic", 5},
{"GenericBed", 8},
{"Backpack", 8},
{"Explosives", 2}
};};
};};

lootMin = 3;
LootMax = 6; this is how many items can be in this bed?

tables [] = {// {"Items", 5}, // 5 is the chance which block with loot will spawn with CfgLootTable.h, for example, the same class Items
{"Items", 5},
{"Equipment", 8},
{"Pistols", 3},
{"PistolAmmo", 5},
{"Scopes", 5},
{"Muzzles", 5},
{"Uniforms", 6},
{"Vests", 6},
{"Headgear", 8},
{"Food", 9},
{"RifleAmmo", 7},
{"MachinegunAmmo", 3},
{"SniperRifleAmmo", 2},
{"Hand", 5},
{"Generic", 5},
{"GenericBed", 8},
{"Backpack", 8},
{"Explosives", 2}
};};

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...