Jump to content
  • 0
Sign in to follow this  
___MeRliN___

Highly customized Loottable, cant find file direction, Removing need of maitenance for buildings

Question

Hello guys, I have recently tried to create with somebody else an own Dayz Epoch Server but we have currently issues with adding a customized loottable...

 

We are not able to find to find the filedirection and really want to customize the loot of barracks (e.g readding the DMR which got removed, adding some of the "Not banned" arma weapons (no stingers, rocket launchers)). We tested already cal.50 by spawning them in and they worked perfectly fine so I assume you can readd these to the loottable again.

 

So yeah our question is how do you customize the loottable, I searched all day for a solution and didnt find one at all. However the only thing I seem to be able to customize is the zombie loot drop, but thats it.

 

 

Also another thing: Maitenance of buildings, how does it affect your buildings? If its enabled does it mean buildings despawn if they are not maintained propper? If so how do I disable that?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Ok heres a small update: I think I found the loottables, it was in the dayz code file under config cpp. So I added this:

 

    class HeliCrash: Default {
        zombieChance = 0.4;
        maxRoaming = 2;
        zombieClass[] = {"z_soldier_pilot"};
        lootChance = 0.5;
        lootPos[] = {};
        itemType[] = {
            { "FN_FAL","weapon" },
            { "bizon_silenced","weapon" },
            { "M14_EP1","weapon" },
            { "FN_FAL_ANPVS4","weapon" },
            { "BAF_LRR_scoped","weapon" },
            { "AK_107_PSO","weapon" },
            { "Mk_48_DZ","weapon" },
            { "M249_DZ","weapon" },
            {"BAF_L85A2_RIS_SUSAT","weapon"},
            { "M4SPR","weapon" },
            { "","military" },
            { "","medical" },
            { "MedBox0","object" },
            { "NVGoggles","weapon" },
            { "AmmoBoxSmall_556","object" },
            { "AmmoBoxSmall_762","object" },
            { "militaryclothes","single" },
            {"G36C","weapon"},
            {"G36_C_SD_camo","weapon"},
            {"G36A_camo","weapon"},
            { "Pecheneg_DZ","weapon"},
            {"100Rnd_762x54_PK","magazine"},
            {"AKS_GOLD","weapon"},
            {"M4A1_RCO_GL","weapon"},
            {"m8_CarbineGL","weapon"},
            {"G36_C_SD_eotech","weapon"},
            {"VSS_vintorez","weapon"},
            {"10Rnd_9x39_SP5_VSS","magazine"},
            {"20Rnd_9x39_SP5_VSS","magazine"},
            {"m107","weapon"},
            {"10Rnd_127x99_M107","magazine"},
            {"BAF_AS50_scoped","weapon"}

        };
        itemChance[] =    {
            0.02,
            0.03,
            0.02,
            0.01,
            0.01,
            0.02,
            0.02,
            0.02,
            0.01,
            0.02,
            0.4,
            0.19,
            0.05,
            0.01,
            0.03,
            0.03,
            0.05,
            0.02,
            0.01,
            0.01,
            0.01,
            0.01,
            0.02,
            0.01,
            0.03,
            0.01,
            0.01,
            0.02,
            0.02,
            0.01,
            0.01,
            0.01
        };
    };

 

So I added also the chances how frequent you can find each item at a heli crashsite, so my next question would be to this: Is it possible to reduce the chance further for instance I set the spawn chance of the AS50 to 0.5% (0.005)?

Share this post


Link to post
Share on other sites
  • 0

Don't forget u will need to alter the revelant spawning loot code to use missionConfigfile instead of  configFile

 

http://community.bistudio.com/wiki/missionConfigFile

 

 

 

Also the chances are weight based... higher the number more likely it will spawn compared to the rest...

If u wanted a value could be 4 or 0.0004

 

Its general easier to just make it add up to 1 so u can think of it as a percentage chance of spawn

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
Answer this question...

×   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  

  • Similar Content

    • By LeMeMeBoiii
      So im trying to install Epoch admin tools onto my server and ive tried like a thousand times now and every time i install it i get "waiting for server to start authentication" 140 seconds later im kicked for script restriction battleye #42 here is a picture of my RPT 
      https://gyazo.com/f91cd347291d029f8a674aba7bf73f13
      I could really use some help solving this error because i just don't know what to do.
    • By dayzguy420
      Hello im looking for a scripter that can install quit a few mods and also add tanks/jets to my server........ nothing that has not been done already, im sure of it
      im new here and if this is in the wrong place im sorry !!!!!!
      if interested  contact me by steam suprstar64
      or email @ [email protected]
       
      thank you !!!!!
    • By R0lling
      Good evening dear Epoch Forum!   I am trying in vain since 3 days a DayZ server Epoch sit up. Just always comes the error "This server is running at incorrect version of the server-side application"     I did everything for this tutorial made "[How To] Setup A DayZ Server [Highly detailed 70+ Steps]"       My Errorlog looks like this: http://pastebin.com/6CjSwdTh and http://pastebin.com/N4r6LEdj       Should you need anything else I can give you the calm and I hope you can help me!     With Best Regards     R0lling
    • By N4mEL3sS
      Hey guys,
       
      I have a problem with my Epoch Server. It's the map Chernarus if this is important. So I didn't change anything and today I get this Error message:
       
      19:31:48 Error in expression <then{
      _dir = _worldspace select 0;
      if (count (_worldspace select 1) == 3) then >
      19:31:48 Error position: <count (_worldspace select 1) == 3) then >
      19:31:48 Error count: Type String, expected Array,Config entry 
       
      I really don't know how to fix that. Please, i need help!
       
      PS: Sorry for my english, I'm a german guy
      19:31:8 File z\addons\dayz_server\system\server_monitor.sqf, line 105
    • By Duffman
      Issue:
      I've setup my sever, database, etc and I go to run my server. The ArmaII OA server window pops up and all looks well. When I go to check DayZCommander (to test via 127.0.0.1:2302/localhost or use another computer on the same network) I see that the server is down (red and 0/0 and 10000 ping). However if I try to connect to it, I do. But when I finish loading the EPOCH screen I get an error saying "~can't play this because it is dependent on deleted content. m113, pook, jetski and some other guys" and it kicks me out. All the while I can see, via the Arma II OA server window, that I connected and requested data from the server and that I "disconnected" on my own.
       
      My Question:
      What am I doing wrong? I've got all of these files in the @DayZ_Epoch folder. My guess was for some reason when the server tries to address the pook.pbo (or whatever the file is) file requests it can't find them but I have no clue why.
       
      Other side notes:
      I am running this on a dedicated server (running windows server 2012 r2 [can downgrade to 2008 if needed]). Can I do this or is there an issue I don't know about? Am I required to run win7, 8, or linux?
      router is already setup with port forwarding (plus I can connect to the server so I know that is not the issue)
      firewalls are set off current (no issue there)
      machine: lenovo thinkserver, Xeon e-1225v3, 16gb ram, 256 ssd (nothing else running on it at the moment) => no hardware limit that could be the cause.
       
       
      *if you need more info I'd be happy to give it but I figured I'd keep this sort...er*
       
      Thanks guys/galls
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...