Jump to content

Integration with BotReSpawn

Pending 1.2.4

maxalt
maxalt

Posted

I would like to use this plugin together with BotReSpawn for the following purpose.
On my server, I make the bots look like zombies using a kit, and I set MurdererSound to true to create a zombie-themed server.
I want each zombie corpse to drop only one Human Skull as loot.

Could you please tell me the steps to achieve this?

  • Administrator
Steenamaroo

Posted

Hi,
BotReSpawn has the option Corpse_Has_Skull to allow players to farm the skull, with npc name, from the corpse.
Maybe that would save you the hassle of setting up CustomLoot?

 

If not, open /config/CustomLoot.json and set corpseTypePerBotReSpawnProfile to true.
Save the file, close the file, reload CustomLoot plugin, then reopen the file.

You should now see all your BotReSpawn profiles listed individually.

  • Find the one you're working on and set the field "lootTable": to  "skull" (or whatever made up name you prefer).
  • Set "ClearContainerFirst": true for that profile to false.
  • Save the file, close the file, reload CustomLoot.


Navigate to /data/CustomLoot/ and find and open Skull.json which will have been newly created.

Near the top of the file find "Resources" under "Categories"
and set "probability": 1,

use search to find "skull.human" and set probability 1.
Save the file, close the file, and reload CustomLoot.

Your BotReSpawn npcs from that profile will now always be given a human skull as loot.

maxalt

Posted

1 hour ago, Steenamaroo said:

こんにちは。BotReSpawn
にはCorpse_Has_Skullオプションがあり、プレイヤーは死体からNPC名付きの頭蓋骨を収集できます。
これを使えばCustomLootの設定が面倒になるかもしれませんね。

 

そうでない場合は、/config/CustomLoot.json を開き、corpseTypePerBotReSpawnProfile を true に設定してください。
ファイルを保存して閉じ、CustomLoot プラグインをリロードしてから、ファイルを再度開いてください。

これで、すべての BotReSpawn プロファイルが個別にリスト表示されるはずです。

  • 作業中のものを見つけて、フィールド「lootTable」を「skull」(または任意の名前) に設定します。
  • そのプロファイルの「ClearContainerFirst」: true を false に設定します。
  • ファイルを保存し、ファイルを閉じて、CustomLoot をリロードします。


/data/CustomLoot/ に移動し、新しく作成された Skull.json を見つけて開きます。

ファイルの先頭付近の「カテゴリ」の下にある「リソース」を見つけ
、「確率」を1に設定します。

検索で「skull.human」を見つけ、確率を1に設定します。
ファイルを保存して閉じ、CustomLootをリロードします。

これで、そのプロファイルのBotReSpawn NPCには、常に人間の頭蓋骨が戦利品として付与されるようになります。

Thank you so much!
Can the entire setup process be done through the in-game /botrespawn GUI?

  • Like 1
  • Administrator
Steenamaroo

Posted

None of it is set up in BotReSpawn UI or files.

All of the instructions are for custom loot config + data files.

maxalt

Posted

I’ll give it a try!

Thank you so much!

maxalt

Posted

20 minutes ago, maxalt said:

I’ll give it a try!

Thank you so much!

By the way, is it okay to set “enabled” to true in this part?

"BotReSpawn-Substation_Small_2 0": {
  →"enabled": false,←
  "lootTable": "default",

  • Administrator
Steenamaroo

Posted

In BotReSpawn enabled true/false is turning the profile on and off.

That is, if you set it to false npcs won't spawn.

maxalt

Posted

10 hours ago, Steenamaroo said:

In BotReSpawn enabled true/false is turning the profile on and off.

That is, if you set it to false npcs won't spawn.

The skull is included correctly, but I would like to remove the original loot from the corpse.

Also, it seems that the skull does not have the bot’s name on it.

Could you please tell me how I can fix both of these issues?

3f059e55-0949-43c7-b264-7dac62729a94.jpeg

  • Administrator
Steenamaroo

Posted

Hi,
Referring back to the original instructions, I said you should said ClearContainerFirst to false.
If you want to get rid of the other loot that's present, you should go back and set it to true instead.

Yes, the skull doesn't have the npc's name. It's not the npc's skull - It's just loot.

The named skull of the npc can be obtained by killing the npc and harvesting its corpse - The same as you do with regular players.

maxalt

Posted

I did it!!! I actually shouted out loud!! Thank you so much!!!

  • Like 1
1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

125.9k

Files Sold

Total number of files sold.

2.6m

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.