1. Right now you have to run 3 separate commands. Will add this in next update.

    Gonna test it thoroughly. Could you send your config file?

    Configurations are stored in data folder on purpose. You can edit loot table in config settings file, which is /oxide/data/airdropExtended_defaultSettings.json.
    There are also commands for editing loot table:
    • aire.setitem <item_name> <chance> <min> <max> <is_blueprint> - set settings for item.
    • aire.setitemgroup <group_name> <max_amount> - set max amount of items in group.

    Thanks for feedback, gonna test it. What's delay between action & notification right now?

    Updated trello board. You are free to comment
    [DOUBLEPOST=1445093175][/DOUBLEPOST]
    There is an option for disabling custom loot:
    • aire.customloot <true/false> - Enables/Disabled custom loot.
    I thought it's pretty clear how to disable it completely.
     
  2. Here is my config.
     

    Attached Files:

  3. @baton256

    OK, collision notification is accurate, sorry. :oops: Last Rust update seems to have fixed that. Now the despawn notification time seems to also be accurate but there is no despawn notification if a player loots the containers as there was before last Rust update. Apologies for my error in time sync, so many bugs in Rust this month. :confused:

    Excellent plugin and attention to your users. :)
     
  4. Despawn notifications when player looted drop not working atm, will add it.
     
  5. I think I got the group selection down now, thanks! As for once a group is selected, does the plugin purely go by the % chance given in the data or does it use the formula from your overview? (item_weight = item_chance / sum of all item_chance) I'm still a bit confused if it uses that formula as there is never a 100% chance unless an item is assigned a %chance in excess of 100%. Thanks again for clarifying, not so good with math and formulas here but I'm trying to make an Excel sheet I can use to simplify this for me. If I can nail it down I'll upload for others. :)
     
  6. I really can't grasp the formula of this, and airdrops are far too OP because of it... Dayum
     
  7. I see a lot of confusion about current item drop percentages & strategies. Can anyone describe desired way to set those settings?
     
  8. Hi is there a way to stop this stupid filling of the airdrop?
    I set the following parameters

    Code:
        {
          "Name": "Traps",
          "MaximumAmountInLoot": 1,
          "ItemSettings": [
            {
              "Name": "autoturret",
              "ChanceInPercent": 5.0,
              "MinAmount": 1,
              "MaxAmount": 1,
              "IsBlueprint": false
            },
            {
              "Name": "spikes.floor",
              "ChanceInPercent": 95.0,
              "MinAmount": 1,
              "MaxAmount": 1,
              "IsBlueprint": false
            },
            {
              "Name": "trap.landmine",
              "ChanceInPercent": 95.0,
              "MinAmount": 1,
              "MaxAmount": 1,
              "IsBlueprint": false
            }
          ]
        },
    and what i get is this here (had 1 simulation filled with 4 traps)

    Code:
    [Oxide] 7:03 PM [Info] aire:Test airdrop crate contents:
    [Oxide] 7:03 PM [Info] aire:================================================
    [Oxide] 7:03 PM [Info] aire:Item: |   12 Gauge Buckshot|, bp: False, count: 40
    [Oxide] 7:03 PM [Info] aire:Item: |  Wooden Floor Spike|, bp: False, count: 1
    [Oxide] 7:03 PM [Info] aire:Item: |            Crossbow|, bp: True, count: 1
    [Oxide] 7:03 PM [Info] aire:Item: |   12 Gauge Buckshot|, bp: False, count: 35
    [Oxide] 7:03 PM [Info] aire:Item: |       Hazmat Helmet|, bp: True, count: 1
    [Oxide] 7:03 PM [Info] aire:Item: |            Silencer|, bp: True, count: 1
    [Oxide] 7:03 PM [Info] aire:Item: |  Wooden Floor Spike|, bp: False, count: 1
    [Oxide] 7:03 PM [Info] aire:Item: |           Longsword|, bp: False, count: 1
    [Oxide] 7:03 PM [Info] aire:================================================
    Thanks for your help & time.


    PS: here are the settings + some tests
    { "Capacity": 8, "CustomLootEnabled": true, "PickStrategy": 0, "Comm - Pastebin.com
    > aire.test [Oxide] 7:55 PM [Info] aire:Test airdrop crate contents: [Oxide] 7 - Pastebin.com
     
    Last edited by a moderator: Oct 30, 2015
  9. Hi there, I love the plugin - I was just wondering if we could add a "drop arrow" to show on screen where it is? I don't want to have to use several plugins that affect airdrops, so I'd like to request that feature :) Thanks.
     
  10. what about a masterconfig where you can say "30% chance that he loads the weapon airdrop config after the drop"
     
  11. Personally, I love the plugin just how it is! This only applies to pick strategy 0. I'm just a bit anal (sorry) and wanted to pin down the item pick percentage by way of an Excel spreadsheet; which I'd be happy to share here once I finish so anyone can use it. I used the formula you kindly clarified for me in an earlier post to get the Item Group % selection for pick strategy 0. If you could be so kind as to just clarify once an Item Group is picked, what is the formula to calculate the % chance an item will be picked from that group. I'm currently using:

    % chance item picked from group = item % chance in config / sum of all item in group % chance in config

    Is that correct or it is based purely on the item % chance as defined in the config?
     
  12. Here is math for item chance:
    Method 0 (PickStrategy 0):
    Code:
    Item chance = (item.percent / sum of all item.chance in group) * (group.items / sum_of_all_group_maxitems)
    Method 1 (Pick Strategy 1):
    This formula is valid for each item picked from group.
    Code:
     for every item in group:
    item chance = (item.chance / sum of all item.chance in group)
    [DOUBLEPOST=1446329254][/DOUBLEPOST]If its good enough - I can add it to description.

    If you find my plugin helpful - please leave a like at overview page. There are also buttons for donations if you want to support plugin development. Thanks to all people who have donated or helped with testing. Special thanks to @Xtadeus
    [DOUBLEPOST=1446330238][/DOUBLEPOST]
    Your results neither wrong or weird to me :)

    There's certain math around items picking, which is described at overview page.
    There are right now only two methods (PickStrategy) of loot generation.

    "0"
    for each slot in capacity
    1) select group based on GroupChance= Group.MaximumAmountInLoot / Sum(Group.MaximumAmountInLoot). This means that with a very low chance all items in drop could be in one group.
    2) from selected group pick item where ItemChance = Item.Chance / Sum(Group.Items.Chance)

    "1"
    1) For each group take Group.MaximumAmountInLoot
    2) pick Group.MaximumAmountInLoot items from this group using this formula: ItemChance = Item.Chance / Sum(Group.Items.Chance)

    If you want to propose another method (PickStrategy) - please do.
    [DOUBLEPOST=1446330388][/DOUBLEPOST]
    I didn't implement this feature as there is a separate plugin for this. Does it cause lags or problems to you? :) I've added a feature request to Trello.
    [DOUBLEPOST=1446330445][/DOUBLEPOST]
    Didn't really got your idea. Do mean system similar to BetterLoot one?
    [DOUBLEPOST=1446330523][/DOUBLEPOST]
    I've done testing. With your config I do not get airdrops called at all. Only by supply signals.
     
  13. would it be possible to add something. that i can create a drop.That currently contains what i have in my inv. and send this to random loc?
     
  14. Sure, it's possible. "Send airdrop with my inventory to random location". Just mind that your inventory & belt is larger than airdrop capacity.

    Added feature request to trello.

    P.S. Also enabled voting in trello board
     
    Last edited by a moderator: Oct 31, 2015
  15. add drop cordinates?
     
  16. What do you mean? Where?
     
  17. baton256 updated Airdrop Extended with a new update entry:

    1.0.0

     
  18. I installed the air drop arrow plugin. Seems to be working. Thanks for the suggestion.
     
  19. Do we need to delete our configs/data for this update?

     
  20. No, old configs are totally valid. Changes were made to default configs & aire.generate