Jump to content

[How-To?] Edit loot table


blad00x

Recommended Posts

Zombie loot is added here:

https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/compile/zombie_generate.sqf.

The config file for the loot selection is revealed in there too.

Can't find it at the moment am on my phone :)

Interesting idea. I don't see the need to control the overall amount of objects in the game though, just control the supply and allow an economy to form ?

Link to comment
Share on other sites

Would interest me aswell how to add custom loot, I found some lines in the dayz_code config.cpp:

 

            {"Sa58V_RCO_EP1","weapon"},
            {"Sa58V_CCO_EP1","weapon"},
            {"G36_C_SD_camo","weapon"},
            {"M40A3","weapon"},
            {"100Rnd_762x54_PK","magazine"},
            {"militaryclothes","single"},
            {"NVGoggles","weapon"},
            {"BAF_L7A2_GPMG","weapon"},        
            {"BAF_L85A2_RIS_ACOG","weapon"},
            {"KSVK","weapon"},
            {"5Rnd_127x108_KSVK","magazine"},
            {"M60A4_EP1","weapon"},
            {"AK_107_kobra","weapon"},
            {"BAF_L85A2_UGL_SUSAT","weapon"},
            {"BAF_L85A2_UGL_ACOG","weapon"},
            {"M107","weapon"},
            {"10Rnd_127x99_m107","magazine"},
            {"m8_Compact","weapon"},
            {"BAF_L85A2_RIS_CWS","weapon"}
          };
        itemChance[] =    {
            0.01,
            0.01,
            0.01,
            0.02,
            0.01,
            0.01,
            0.01,

 

 

 

That was under MilitarySpecial (Barracks), so I assume its the loottable for Barracks. I edited it but I cant get the new weapons like the M107 to spawn, I set the chance to find it to 99% but still no M107.

 

 

Can somebody explain me how I make those weapons spawn? Cause we really want the DMR back on our server (and some other guns aswell) since a Mk12SPR doesnt fit a DMR...

Link to comment
Share on other sites

ok i will take a look,

 

why control the object : to add difficulty ^^

 

and anyone have an idea about how to tottaly remove loot from one zone?

for example on my RP server we have made berezino zombie free , it's now a survivor city BUT the loot continue too spawn and it's not really good ...

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...
  • 1 month later...

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
  • Advertisement
  • Discord

×
×
  • Create New...