I won't be updating this plugin, feel free to upload your edited version. I've included the Kit manager 1.2 visual studio project/source code in the description.
At the time i used the Hooks.OnServerShutdown hook. I don't know if it still works but back then it would save the information at a...
to clarify, you are talking about wooden storage boxes or large wooden storage boxes?
if so then no, you cannot do this at the moment with the current hooks.
as far as i know by looking at the decompiled assembly this class handles the original crate spawning:
public class LootableObjectSpawner : MonoBehaviour
{
public ChancePick[] _lootableChances;
[NonSerialized]
private GameObject _mySpawnedLootable;
public bool spawnOnStart =...
If you have any c# written plugins > recompile them (if you can) with the newest fougerite.dll
Ive noticed that some of my C# plugins prevcnted me from using console commands like suicide.
After recompiling with the new fougerite dll (reference) it all worked fine.
i forgot to mention you wont be able to spawn extra loot crates at a loctaion with this (and keep them reappearing).
i tried calling/using the gamelogic that spawns the craets though i didn't get it to work.
however you can simulate the process with a selfwritten plugin (using a timed event for...
^^
No I haven't found a way to get a chest open event. but you can modify the lootspawntable
----
let's assume that you will only use the standard ammo/wood/med/wep boxes (and the ones you spawn with world.spawn). you can modify the item drop table.
DatablockDictionary._lootSpawnLists...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.