Jump to content
Sign in to follow this  
blad00x

[How-To?] Edit loot table

Recommended Posts

hi,

 

i'm looking to add a radio to the loot we can find on zombie soldier/police but don't know how to do it...

 

and i also want to remove all the item spawn from berezino

 

and maybe reduce the chance of spawn of some rare item like NVG etc...

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
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...

Share this post


Link to post
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 ...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...