HWLootConfig

Moved

Total Downloads: 8,417 - First Release: Dec 19, 2015 - Last Update: Jun 27, 2016

5/5, 23 likes
  1. Nogrod submitted a new resource:

    LootConfig - Adjust loot list

    Read more about this resource...
     
  2. Your plugin resets itself loot?
     
  3. i write in consol loot.reload and say unknow commands ???? help me pls
     
  4. the config will reset on an game update and copy the existing to .old, just in case the loot changed...

    was the plugin loaded? any errors in your logs?
     
  5. How do you not understand it any information it collects which spawns loot and resets the statistics?
     
  6. Wulf

    Wulf Community Admin

    You need to use it in the chat, not the console. /loot.reload
     
  7. Is key the percentage chance of an item?
     
  8. Is the json file supposed to be empty? I was under the assumption that this was to edit the values of raw materials/crates.

    Edit* Disregard this, I guess it was still collecting data or something.
     
  9. What does this plugin do exactly?
     
  10. No , these teams are working in the console , chatting they do not work
     
  11. Wulf

    Wulf Community Admin

    I thought console commands weren't working, but apparently they are... :D
     
  12. After looking at the config file, it will allow you to raise/lower the gather rates and chances of getting additional loot like bark and amber from logs.

    For example:
    "StackSize": 4,
    "RandomVariance": 6

    Means the base amount you'll get is 4, then a chance of getting 1-6 more based off rng.
     
  13. Yea looks like you're right on that, what do you think key does? It seems like it would be percentage especially when looking at the lootcrate and seeing the arrows and bullets at 7.0 and 3.0 respectively, whereas the key for big wheels is 0.1 and detonator cap is 0.03. Seems like the % chance to me.
     
  14. Yeah I'd say Key = % chance. I'll have to mess with this later tonight.
     
  15. all keys of one children layer will be summed and a random number between zero and that sum is taken, after that it will be iterated over the children and each child key substracted until the sum is lower than a key....so far i remember it correctly :p if someone needs it i can paste some code ;)
     
  16. So I changed all the stack sizes of the items I wanted and then tested it, it works! The rarity of items will still be the same, you'll just get more when you're lucky. Thanks for this Nogrod. If anyone wants my edit just pm me. It's basically 2X all resources.
     
  17. Could you possibly give a numerical example? Like what key numbers would result in what % chance? I had a bit of a hard time following that :p
     
  18. added a small loot.stats command, until tomorrow i've no time to validate these results but at the first look they seem to be right...
    just an excerpt, but i will add that command to the next version...
    Code:
    GroundLog
        100.0 %
            47.6 %
                47.6 % 4x Wood (6)
            52.4 %
                26.2 %
                    26.2 % 1x Bark (2)
            100.0 %
                5.0 % 1x Amber (0)
    Driftwood
        100.0 %
            50.0 %
                50.0 % 1x Wood (0)
            100.0 %
                6.7 % 2x Coal (0)
    GroundFlint
        100.0 %
            49.7 % 1x Flint (2)
            99.4 %
                49.7 % 1x Stone (2)
            100.0 % 1x Magnet (0)
    IronRock
        100.0 %
            50.0 %
                25.0 % 2x IronOre (3)
                50.0 % 2x Stone (5)
            100.0 %
                5.0 % 1x Amber (0)
    Metal2
        100.0 %
            50.0 %
                25.0 % 3x Metal2Ore (5)
                50.0 % 1x Stone (3)
            100.0 %
                5.0 % 1x Amber (0)
    Metal3
        100.0 %
            50.0 %
                25.0 % 3x Metal3Ore (2)
                50.0 % 1x Stone (3)
            100.0 %
                5.0 % 1x Amber (0)
    Metal4
        100.0 %
            50.0 %
                25.0 % 1x Metal4Ore (3)
                50.0 % 1x Stone (3)
            100.0 %
                5.0 % 1x Amber (0)
    FlintRock
        100.0 %
            48.4 % 2x Flint (3)
            51.6 %
                2.6 % 1x Amber (0)
            100.0 %
                100.0 % 1x Stone (3)
    Limestone
        100.0 %
            48.4 % 3x LimeStone (10)
            96.8 % 1x Clay (3)
            100.0 %
                5.0 % 1x Amber (0)
    ClayBlock
        100.0 %
            93.8 % 3x Clay (10)
            100.0 %
                5.0 % 1x Amber (0)
    Coal
        100.0 %
            65.2 % 2x Coal (5)
            97.8 %
                97.8 % 1x Stone (3)
            100.0 %
                5.0 % 1x Amber (0)
    RedRock
        100.0 %
            100.0 % 1x Ruby (0)
    TealRock
        100.0 %
            100.0 % 1x Amber (0)
    Owrong
        100.0 %
            50.0 % 1x Owrong (0)
            100.0 %
                50.0 % 2x OwrongSeeds (1)
    Shigi
        100.0 %
            33.3 % 1x RawSteak (0)
            66.7 %
                66.7 % 2x Leather (3)
            100.0 %
                100.0 % 2x AnimalTendon (0)
    ForestShigi
        100.0 %
            14.3 % 1x RawSteak (1)
            42.9 %
                42.9 % 2x Leather (3)
            100.0 %
                100.0 % 2x AnimalTendon (3)
    Shepherd
        100.0 %
            25.0 % 2x RawSteak (0)
            50.0 %
                38.5 % 5x AnimalFat (0)
                50.0 % 10x AnimalFat (0)
            75.0 %
                57.7 % 5x Leather (0)
                75.0 % 10x Leather (0)
            100.0 %
                76.9 % 1x Ruby (0)
                100.0 % 5x Leather (0)
    Rafaga
        100.0 %
            25.0 % 2x RawSteak (0)
            50.0 %
                38.5 % 2x AnimalFat (0)
                50.0 % 1x AnimalFat (0)
            75.0 %
                57.7 % 4x Leather (0)
                75.0 % 7x Leather (0)
            100.0 %
                100.0 % 5x Leather (0)
    Tokar
        100.0 %
            66.7 %
                51.3 % 3x Leather (0)
                66.7 % 8x Leather (0)
            100.0 %
                100.0 % 2x AnimalTendon (0)
    TokarAlbino
        100.0 %
            49.2 % 1x RawSteak (0)
            98.4 % 5x AnimalFat (5)
            100.0 % 5x Amber (10)
    Bor
        100.0 %
            25.0 % 1x RawSteak (0)
            62.5 %
                62.5 % 3x AnimalFat (5)
            100.0 %
                100.0 % 4x Leather (5)
    AutomaticDrill
        100.0 %
            10.8 % 1x IronOre (0)
            64.9 % 1x Stone (0)
            91.9 % 1x Coal (0)
            94.6 % 1x Metal2Ore (0)
            97.3 % 1x Metal3Ore (0)
            100.0 % 1x Metal4Ore (0)
    PitcherPlant
        100.0 %
            50.0 % 5x CrudeCoolant (0)
            100.0 %
                50.0 % 2x PitcherPlantSeeds (1)
    SucculentPlant
        100.0 %
            50.0 % 5x Sunscreen (0)
            100.0 %
                50.0 % 2x SucculentSeeds (1)
    OilDrill
        100.0 %
            100.0 % 1x Gasoline (0)
    ExplodableRock1
        100.0 %
            10.8 % 1x IronOre (0)
            64.9 % 1x Stone (0)
            91.9 % 1x Coal (0)
            94.6 % 1x Metal2Ore (0)
            97.3 % 1x Metal3Ore (0)
            100.0 % 1x Metal4Ore (0)
     
  19. How about c4?
     
  20. Okay so i've got this error in my console after adding LootConfig, I have changed it to make it [x3] gather rate.

    I'm not too sure what to do to correct it.
     
    Last edited by a moderator: Apr 8, 2016