1. Sign up - Stay up to date and participate in discussions!

    You're currently visiting the official Oxide Mod Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Mechanics Loot Spawn Lists dev 1.1b

Allows modification of the loot tables.

  1. thomasfn

    thomasfn Developer Administrator Oxide Developer Plugin Developer

    thomasfn submitted a new resource:

    Loot Spawn Lists - Allows modification of the loot tables.

    Read more about this resource...
     
    thoomasfn and Richii like this.
  2. The Exoduss

    The Exoduss Naked Wanderer

    I have been wanting this function since I first started my server.... Thank you SO much!!
    Will be installing onto my server shortly. Will update with any issues.

    Again, thank you for all your hard work.
     
    thoomasfn and Richii like this.
  3. Crysie

    Crysie Wood Hoarder

    if i understand it right.. "weight" is the drop % right 1 - 100 . if that is put to "0" it cant be dropped or found in that chest / zombie?
     
    thoomasfn and Richii like this.
  4. thomasfn

    thomasfn Developer Administrator Oxide Developer Plugin Developer

    If you set it to 0, it shouldn't drop - but then you might as well remove the entry entirely. The total weight of a table does not have to add up to 100 though, so it might not mean %.
     
    thoomasfn and Richii like this.
  5. Joe

    Joe Scavenger

    Thank you for all you great work! Are you planning to release Oxide to US Server providers? I am looking to start my own US server to run Oxide on.
     
    thoomasfn and Richii like this.
  6. German Hoeffner

    German Hoeffner Community Admin Administrator

    Playrust.EU offers us and plenty of other providers. They all will have oxide support earlier or later
     
    thoomasfn and Richii like this.
  7. magicrecon

    magicrecon Scavenger

    So essentially you can make more loot drop from zombies and out of crates? say zombies could drop M4's? and so on?
     
    thoomasfn and Richii like this.
  8. Mcello

    Mcello Shack Builder

    yes :)
     
    thoomasfn and Richii like this.
  9. AxiumBeta

    AxiumBeta Naked Wanderer

    So it's not working for me. I'm renting a server from HFB and we just got Oxide added. I have the plugin installed and I got into the configuration files of the loot_tables.txt file and add a 0 to all the values of items I don't want spawning. I'm still getting weapons and armor dropping normally and not the configured loot.
     
    thoomasfn and Richii like this.
  10. Mcello

    Mcello Shack Builder

    did you restart your server ?
    --- Double Post Merged, Jan 8, 2014 ---
    @thomasfn I allways thought the black zombie spawned better loot then the red ones.
    If i look in de lua file it says ZombieLootList so basicly this means that red or black drop the same stuff ?

    only a black zombie is harder to kill
     
    thoomasfn and Richii like this.
  11. AxiumBeta

    AxiumBeta Naked Wanderer

    Yeah I restarted the server and wiped it. Basically I have the min/max values set to 0 to drop m4 or kevlar from zombies / the white chest. Everything still drops though.
    --- Double Post Merged, Jan 8, 2014 ---
    It's a valid JSON file as well according to an online checker...
    --- Double Post Merged, Jan 8, 2014 ---
    According to the oxide_log it says this
    {Loading standard library...
    Loading plugins...
    Loading Oxmin...
    35 users are tracked by Oxmin!}

    It's not overwriting the files.
     
    Last edited: Jan 8, 2014
    thoomasfn and Richii like this.
  12. Mcello

    Mcello Shack Builder

    I think i know what you did wrong its not the min/max what you need to change but the weight needs to be 0 the weight is sort of the percentage of drop rate

    0 is no drop
    1 is ultra very rare
    10 rare
    30 common

    Something like that

    Try that :)
     
    thoomasfn and Richii like this.
  13. AxiumBeta

    AxiumBeta Naked Wanderer

    Well the P250 SpawnList has the P250 weighted as 0, but anything that uses that spawnlist still drops the P250, would it be better if I just deleted the line altogether?
    --- Double Post Merged, Jan 8, 2014 ---
    Check that it's worked by looking at oxidelog.txt, and looking for the message "x custom loot tables were loaded!". If you can't find this line, check the plugin is installed correctly and check your modified loot tables file in an online JSON validator.

    In the oxidelog.txt it's not saying that the custom loot tables were loaded. So what could be the problem there?
     
    thoomasfn and Richii like this.
  14. Kore

    Kore Wood Hoarder

    Is this possible to create more SupplyDrop box's other than SupplyDropA, SupplyDropB, SupplyDropC, SupplyDropD? Like could i add SupplyDropE and it still will work?
     
    thoomasfn and Richii like this.
  15. AxiumBeta

    AxiumBeta Naked Wanderer

    Hypothetically, yes. Add the SupplyDropE and make sure to reference it in the SupplyDropMasterList or whatever and when the supply drop is called it will add E's weight into the mix.
    --- Double Post Merged, Jan 8, 2014 ---
    So when I check the oxidelog.txt it's not saying anything about "x custom loot tables were loaded!", just says it's loading standard library, loading plugins, ect. My custom loot tables aren't being loaded into the server so what? Uninstall Oxide and all of the plugins, re-install and then wipe the server?
     
    Last edited: Jan 8, 2014
    thoomasfn and Richii like this.
  16. Mcello

    Mcello Shack Builder

    I allways thought a black zombie dropped more rare loot then the red ones but if i see the list it says ZombieLootList.
    SO this means that red and black zombies drop the same stuff ?

    also JunkSpawnList are those the boxes ?
     
    thoomasfn and Richii like this.
  17. magicrecon

    magicrecon Scavenger

    Can someone see if there is something wrong with my loot table, i verified it with the json check site and it said it was ok, but since ive uploaded it my server wont come back online http://pastebin.com/gpfkrwmx it might not be this, but if someone could run through it, i would really appreciate it.
     
    thoomasfn and Richii like this.
  18. Maximum Over

    Maximum Over Naked Wanderer

    Strange. I'm on HFB, and I know Oxide is running because I get the Oxide prompts at login. But I can't find a loot_tables.txt file anywhere. I've looked in /rust_server_data, rust_server_data/plugins, /plugins (yes hfb has two /plugins folders), and /data, all to no avail. What am I missing?
     
    thoomasfn and Richii like this.
  19. Krimian

    Krimian Master Researcher Plugin Developer

    It's under the Configuration Files
    [​IMG]
     
    thoomasfn and Richii like this.
  20. Maximum Over

    Maximum Over Naked Wanderer

    I am so dumb.
     
    thoomasfn and Richii like this.

Share This Page