Jump to content

Hawkhill

Member
  • Posts

    558
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Hawkhill

  1. Hawkhill

    Better Npc

    My point is that i want to restrict how many items dropping to maximum 3-4 iteems each time. And by adding that many items to the list will secure that the loot is randomized and not dropping the same items again and again..... "It's going to pick random drops and roll the probability to see if it goes through, it it goes through it takes a min/max slot. Period." Thats what im trying to explain..... its going through the list and rolling the dice until the min/max rule is met.... If the min / max number of items rule have been met before it comes to the scrap that ive set 100% drop on, its not going to add that since the max items rule is preventing that....... Thats why the plugin should roll the dice on the items with highest dropchances first.... Ive also noticed something else with the config today...... When i upload the config file to the server and reload the plugin, it rearrange the order of the items ive defined in the list by dropchance..... The lowest dropchances comes first, then the highest dropchances comes last on the list, The scrap that ive set first in my configfile, will automaticly be moved to the end of the list because its the hightest dropchance (100%) Maybe changing this in the plugin so the highest dropchances comes first on the list? I guess the plugin start rolling from the beginning of the list, not the end.... Then there is a chance the Min / Max is filled up before it comes to the scrap. Ive been playing around a lot with loot tables on Raidable bases plugin...... there i have no issues with this..... 100% drop loot will be choosen before it starts rolling on random loot.....
  2. Hawkhill

    Better Npc

    Think i found a sollution for it....... Ive set the dropchance on all other items to 0.5% Then the plugin probably have to "roll the dice" multiple times on every items before it chooses which items to drop..... Dunno if this is the best way to do it performance wise..... but seems to work Edit: Still it happends a few times that the scrap doesent drop..... happends maybe 1-2 times of 50 kills..... Not that big deal, but maybe the dev could take a look at it.... Plugin should pick the 100% drops first before the random loot that dont have 100% drop is choosen....
  3. Hawkhill

    Better Npc

    Ive tried combination of prefab and own loot before and its not working proper...... Thats why im now trying to make my own list of items that should drop instad...... For me, it seems like the plugin dont prioritizes the 100% drops first and ends up choosing 3-4 other items before it comes to the scrap that has 100% chance..... Then it cant choose that cause its already choosen max items allowed.....
  4. Hawkhill

    Better Npc

    As i said in my post..... i got 95 items in the list........ Scrap ive set 100% chance on drop and the rest 10% Pasted only the 2 first items from the config file....... Would be unnessesary to post the whole list here...... And yes.... ive set loot table to 1 in config...... It chooses 3 or 4 items randomly from the list, but scrap dont always drop...... It seems like the plugin dont care what i define as chance to drop......
  5. Hawkhill

    Better Npc

    Hi again...... im still struggling with loot table.... Now ive created a loot table with 95 items and changed in the config that only the "own list" shall drop.... Ive set it to pick minimum 3 and maximum 4 items from the list..... Thats working fine..... But then it comes to dropchance again....... Ive set scrap to have 100% chance to drop from 10 to 30 scrap, and rest of the items equal chance to drop..... 10% Still scrap wont drop every time as its suppose to do..... After 30 npc kills, none of them dropped scrap, but dropped 3-4 items from the list..... "Own loot table (if the loot table type is 1 or 5)": { "Minimum numbers of items": 3, "Maximum numbers of items": 4, "Use minimum and maximum values? [true/false]": true, "List of items": [ { "ShortName": "scrap", "Minimum": 10, "Maximum": 30, "Chance [0.0-100.0]": 100.0, "Is this a blueprint? [true/false]": false, "SkinID (0 - default)": 0, "Name (empty - default)": "" }, { "ShortName": "lowgradefuel", "Minimum": 10, "Maximum": 30, "Chance [0.0-100.0]": 10.0, "Is this a blueprint? [true/false]": false, "SkinID (0 - default)": 0, "Name (empty - default)": "" }, Is it just me that are stupid? When ive configured loot tables in other plugins ive never experienced these problems......
  6. Hawkhill

    Better Npc

    Been puting this on hold for a while..... But started messing around with it again today..... Tried now to set 0.1% chance for a item in the own list to spawn.... still there is a shitload of spawns on that item....... Didnt notice any difference if i set 50% chance or 0.1% chance in the own list settings..... So it seems like i actually need to add all the prefab items to own list and disable the combination of own list and prefab to make this right.....
  7. Hawkhill

    Raidable Bases

    Nah..... i didnt notice the last update
  8. Hawkhill

    Raidable Bases

    Error while compiling: RaidableBases.cs(16141,48): error CS0176: Static member `ItemContainer.Drop(string, UnityEngine.Vector3, UnityEngine.Quaternion, params ItemContainer[])' cannot be accessed with an instance reference, qualify it with a type name instead Anyone have a fix for this?
  9. Hawkhill

    Better Npc

    Got this list with the oilrig scientist dropchances.... https://rustlabs.com/entity/oil-rig-scientist#order;sort=3,1,0 I see most of the dropchances are below 1%...... Does the prefab loot share the same dropchances as i specify in "Own loot"? Or does the "Own loot" list have their own dropchance I see there are just like 15 items or so in the prefab list that has 5% or higher drop chance. Ive been using 5% on the "own loot" items..... So if they share the same dropchances i can maybe just lower it....... most of the items has 0.2% droprate and lower. Sorry... this was pretty hard to put into words with my english skills..... hope u understand.
  10. Hawkhill

    Better Npc

    Thx for reply So...... how do i make this work? Do i really need to disable prefab loot and add all the items to "own loot" list instead? Gotta be a more simple way to do it.... Sounds pretty simple in my head, but im not the coder
  11. Hawkhill

    Better Npc

    Hi! Sorry for late response.... Ive now set 2.5% chance any of the level 3 bluprints drop in the "Own Loot"....... Still its quite normal to get 2-3 bluprints each time i clear the abandoned millitary camp with only 10 NPC's. Here is a screenshot of a part of the configfile..... The prefabloot i can define a 0-100% chance for that loot drops...... But the "Own loot table" i can only set Min / Max items. And the chance on each individual item seems to be just a way to define if some of the items in that list should have higher / lower chance than others to drop. So what i want is a "Chance [0.0-100.0]" on the own loot list aswell..... then i can easily set for example 5% chance that any of the items from the list drops. Does this make any sense?
  12. Hawkhill

    Better Npc

    Hi! Im trying to make the "Own loot table" work proper along with prefab loot.... Could you add a "Chance [0.0-100.0]" option so i can define a percentage chance that any of the items on the list will drop? Now there is just a maximum and minimum number of items option on that list and a individual chance of each item. My plan is to give some of the NPC's a 5% chance of dropping a level 3 bluprint. But i think they drop too often. But it seems like its 50/50 chance now if there drops a item from the list if i set minimum 0 and maximum 1 on "own loot table". If i modify the chance on each individual item, it seems like it just favorites one item above others. Hope i explained myself good enough
  13. Hawkhill

    Skill Tree

    Now ive placed the png icons into my webhotel.... been working fine until now
  14. Hawkhill

    Skill Tree

    Another thing.... I have bough Bag of Holding.... Have made a skilltree to unlock the different bags there. But some of the images aint right.... Is there a way to force it to reload correct images`?
  15. Hawkhill

    Skill Tree

    Now ive unloaded all plugins except Nova Weather harmony plugin..... still same issue. But anyway..... its not your problem
  16. Hawkhill

    Skill Tree

    Did another test now after respec...... its the same without the Gilled skill unlocked. I even unloaded Skilltree to test........ still i got unlimited oxygen..... You should be starting to drown pretty quick at vanilla settings.... So there gotta be somewhere else the problem is.... but where?
  17. Hawkhill

    Skill Tree

    Strange...... i was underwater for 2-3mins..... timer just reset to 3seconds Edit: 10min now..... timer still on 3 seconds.....
  18. Hawkhill

    Skill Tree

    Got a report that the "Gilled" skill in the Underwater skilltree is bugged. I have 2 levels with 60 seconds each..... Placing just one skill there gives me unlimited oxygen.... i dont drown....
  19. Now you gave me a bunch of new ideas..... By the way.... I see you have solved the issue that annoyed me with the latest update.... Items that moves back to the backpacks after you transfer them to your main inventory. Good job Was kinda annoying that i had to turn on and off gather mode to prevent it.
  20. Just want to prevent players from respec skills after they have upgraded the bags so they can spend their points on something else to save points. Then the bags will be useless unless they place their skills back on the backpack to get the permissions needed again. Its a PvE server so the backpacks is unaccessable to other players anyway. So players wont be picking up others backpacks. Think its just a matter of time until players find out how to cheat. Bag kits are just a way to give the players a way to get the smallest bags after they have fully upgraded their umod backpack so they can start upgrading them., Also gonna set a limit on how many category bags u can have. And if players have their bags in the backpack, then they wont loose them when they die.
  21. Thx for the advice.... Other thing..... Im nearly finished setting up the backpack skills in the skilltree. Installed the Backpacks plugin from uMod, so i can have the keep on death ability as a skill aswell.... So ive added one skill with 8 points to unlock backpack with 1-8 rows. And a another skill to unlock the feature keep backpack on death.... Then ive made a kit that unlocks when you unlock the 8th row on the backpack. That kit gives you the aditional category bags Then ive added a skill on each of the category bags for upgrading them from 6 to 42 slots. That gives 6 skillpoints per backpack. Then i started thinking..... This might give the players a way to get around this..... by upgrading all the bags, then respec the skills and use skillpoints somewhere else. Then they still got the category bags fully upgraded..... Is there a way to set a rule on them so they for example require a permission to be opened?
  22. Just me that made a mistake in the config file, so the plugin reloaded the default config...... Then the orginal skins were loaded..... Then ofcourse tactical skin dont work ........
  23. Hi again.... I experienced something now and im not sure why this happend..... I have just added Backpacks plugin and removed the restriction on opening bag of holding bags inside backpack...... Then all my bags started to act like halloween bags and giving me loot and consuming the bag instead of opening backpack..... Skin ID havent been changed.... All i did was removing Ui Belt button, removing scrap upgrade cost (will cost skillpoint), add Backpacks plugin and removing restriction on opening bags inside backpack..... Tried to open bags both in backpack and main inventory..... Any clue why this happends? Same happend when i changed the default skin to the tactical ones the day i bought this plugin. But that i assume was cause i changed the skins in configfile..... This cant be happening after i open up BagOfHolding plugin to the players on my server. Then they are going to be mad.....
  24. Hawkhill

    Skill Tree

    Hi @imthenewguy Got notified by one of the players on my server that the locate nodes ultimate skill on mining doesent work. Just tested it myself, and nothing happends when i type the command. Edit: nevermind.... figured out that i havent updated to the latest version.....

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.7k
Total sales
Payments
3.9m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.