Jump to content

Specific CustomLoot on Specific BotSpawn Profile

Pending 2.1.7

I've seen your reply Steenamaroo, thanks for that. I have a custom CustomLoot config set up just for that specific profile. How do I tell the BotSpawn plugin which profile of CustomLoot look to use?

Basically I'm trying to set up a custom set of NPCs with specific Attire and Loot that will spawn at specific places. But these will fight with other BotSpawn profiles, which will also have specific loot and attire.

Share this comment


Link to comment

If you're using CustomLoot to give BotSpawn npcs loot you don't need to do anything at the BotSpawn end.
It's all done in CustomLoot config.

 

By default CustomLoot just has one profile for "BotSpawn" which applies to any and all BotSpawn npcs,
but there is a true/false option (corpseTypePerBotSpawnProfile) which enables individual CustomLoot config entires for every BotSpawn profile.

You want to enable that option, reload CustomLoot, then go into its config and look for the BotSpawn profile you want to give loot to.

Edited by Steenamaroo

Share this comment


Link to comment

I can see when that is enabled, the Config file for CustomLoot has a bunch of additional entries added (BotSpawn-Junkyard 0) for instance. There is no reference to the specific profile within BotSpawn (rangers, scavs, cops for instance). Is it not possible to have multiple bot spawn profiles with separate loot spawning at the same location?

Share this comment


Link to comment

bump on this, any help?

I have the same thing where i have different Zombie outfits and Kits for them using Kits plugin.  Lets say one of my Zombies is named ZombieSurg, spawning in multi locations and that zombie has its own outfit and weapon.  How can i configure customloot to say for ZombieSurg provide xxx loot.  I have alot of different zombies with outfits and kits and want to be able to provide all different drops to different outfitted zombies.

Share this comment


Link to comment

if you see `BotSpawn-Junkyard 0` then all of your profiles, custom and default, should be listed there.

You should see BotSpawn-CustomProfileNameHere for every custom profile you've added.

If it's not there, reload CustomLoot then close (if open) and reopen your /config/CustomLoot.json

Edited by Steenamaroo

Share this comment


Link to comment

So with alot of work and testing i got it working for this location but now my question is this.  All the zombies spawn in BotSpawn-Abandoned Cabins 0 with different kits and outfits but anyone in that area when killed drops the CustomLoot.

 

This is my config,

{
  "GlobalSettings": {
    "allowDuplicates": false,
    "corpseTypePerBotSpawnProfile": true,
    "Include_DM_Crates": false,
    "Show_Skins_For_All_Items": false
  },

This is the data

    "BotSpawn-Abandoned Cabins 0": {
      "enabled": true,
      "lootTable": "ZombieBoneSwamp",
      "maxItems": 6,
      "minItems": 6,
      "gunsWithAmmo": false,
      "noGuns": false,
      "MaxBps": 3,
      "WaterPreFillPercent": 20,
      "ClearContainerFirst": true

How do I tell it that in BotSpawn-Abandoned Cabins 0 if someone is to kill ZombieBoneSwamp it drops xxx lot.  If somoene is to till ZombieRat that drops xxx lot or will that not work at all and it can only setup for that location regardless of what zombies and kits im running?

Thanks again.

 

 

Edited by PrimeCraze

Share this comment


Link to comment

If "ZombieBoneSwamp" is a BotSpawn profile, then you'd want to look for an entry in CustomLoot config called "ZombieBoneSwamp".

It doesn't matter if the npc is in, or near the Abandoned Cabins - You're looking for the name of the profile that the npc is from.

The name you put in under "lootTable" is something you make up, and when do (and save the config, then reload CustomLoot)
a file of that name is created in /data/CustomLoot/****.json.

Share this comment


Link to comment

My problem was not doing the /botspawn add “zombiename” as soon as I did that and configured it the loot is now only dropping for that zombie with that kit! Now my next question is do custom /botspawn add follow from map to map? I set this one as abandoned cabins, if I do an other map will that stay with that for the next new map? Just want to make sure each location is setup to follow on map / wipe changes. I just need to add the name of the area in Parent_Monument correct? 

thanks again. 

Edited by PrimeCraze

Share this comment


Link to comment

That's right - If you create a custom profile then it's at a hardcoded location so it wont be in the right place if you change map seeds.
If, however, you want that custom profile to always be near a certain default monument, The Dome 0 for example,
then you can set Parent_Monument to "The Dome 0", and BotSpawn will relocate your custom profile every time the Dome moves (new map).

This also works for custom profiles with custom spawn points, as long as those points are meant to stay in the same place relative to some default monument.

Edited by Steenamaroo

Share this comment


Link to comment
348.2k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

23.8k

Files Sold

Total number of files sold.

369.5k

Payments Processed

Total payments processed.

×
×
  • 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.