Spawn High value loot guarded by scientists at random or specified locations.
Supported Games
works with
- Clans0.2.4
- Hackable Lock2.1.0
Permissions
guardedcrate.use-- Allows setup fo events.
Depends On
NpcSpawn v2.5.5
Chat Commands
/gcrate start <event-name|optional>, start specified event or random if none specified./gcrate here <event-name> <event-name>, start event at your current location./gcrate position <event-name> <x, y, z>, start event at specified position./gcrate stop, stop all currently running crate events./gcrate amount <event-name> <number>, Change number of guards to spawn at the event./gcrate loot <event-name>Put items in your main container to set up loot items./gcrate loadout <event-name>Put items in your wear and belt containers to set up a guard's loadout.
Console Commands
gcrate start <event-name|optional>, start specified event or random if none specified.gcrate stop, stop all currently running crate events.gcrate position <event-name> <x, y, z>, start event at specified position.
Configuration
{
"command name - (default: gcrate)": "gcrate",
"auto start enabled - (default: true)": true,
"auto start length in seconds - (default: 3600)": 3600.0,
"toast notification settings": {
"enabled - (default: false)": false,
"style - (default: Blue_Normal - options: Blue_Normal, Red_Normal, Server_Event)": "Blue_Normal"
},
"chat notification settings": {
"enabled - (default: true)": true,
"enable prefix - (default: true)": true,
"chat icon (steam64) - (default: 0)": 0
},
"gui announcement notification settings - (https://umod.org/plugins/gui-announcements)": {
"enabled - (default: false)": false,
"text color - (default: white)": "white",
"background color - (default: purple)": "purple"
},
"dome settings": {
"enabled - (default: false)": true,
"radius - (default: 0.25)": 10.0,
"amount - (default: 1)": 1.0,
"primary dome color - (default: br_sphere_red.prefab)": "assets/prefabs/visualization/sphere.prefab",
"default dome color - (default: sphere.prefab)": "assets/bundled/prefabs/modding/events/twitch/br_sphere_red.prefab"
},
"zone settings - (https://umod.org/plugins/zone-manager)": {
"enabled excluded zones - (default: false)": false,
"excluded zones": []
},
"blocked topologies - (default: Arctic, Jungle)": [
"Arctic",
"Jungle"
],
"current version number - (WARNING!!! do not change this value)": {
"Major": 2,
"Minor": 0,
"Patch": 14
}
}
Data
{
"CrateEventEntries": [
{
"event display name)": "Easy",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 60.0,
"hackable crate fall drag": 1.0,
"enable marker": true,
"marker color 1": "#32A844",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 8,
"guard spawn config": {
"Name": "Easy Guard",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "smg.mp5",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 200.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 80.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.25,
"Speed": 8.5,
"SleepDistance": 100.0,
"MemoryDuration": 30.0,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": false,
"CanSleep": false,
"CanRaid": false,
"Stationary": false,
"AboveOrUnderGround": false
},
"create loot items": []
},
{
"event display name)": "Medium",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 120.0,
"hackable crate fall drag": 1.0,
"enable marker": true,
"marker color 1": "#EDDF45",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 10,
"guard spawn config": {
"Name": "Medium Guard",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "smg.mp5",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 250.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 80.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.25,
"Speed": 8.5,
"SleepDistance": 100.0,
"MemoryDuration": 30.0,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": false,
"CanSleep": false,
"CanRaid": false,
"Stationary": false,
"AboveOrUnderGround": false
},
"create loot items": []
},
{
"event display name)": "Hard",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 180.0,
"hackable crate fall drag": 1.0,
"enable marker": true,
"marker color 1": "#3060D9",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 12,
"guard spawn config": {
"Name": "Hard Guard",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "rifle.ak",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 300.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 80.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.15,
"Speed": 8.5,
"SleepDistance": 100.0,
"MemoryDuration": 30.0,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": false,
"CanSleep": false,
"CanRaid": false,
"Stationary": false,
"AboveOrUnderGround": false
},
"create loot items": []
},
{
"event display name)": "Elite",
"event duration": 1800.0,
"enable lock to player when completing the event": true,
"enable clan tag": true,
"enable auto hacking of crate when an event is finished": true,
"hackable locked crate": 180.0,
"hackable crate fall drag": 1.0,
"enable marker": true,
"marker color 1": "#3060D9",
"marker color 2": "#000000",
"marker radius": 0.7,
"marker opacity": 0.6,
"enable loot table": false,
"min loot items": 6,
"max loot items": 10,
"enable eliminate all guards before looting": true,
"guard spawn amount": 20,
"guard spawn config": {
"Name": "Elite Guard",
"WearItems": [
{
"ShortName": "hazmatsuit_scientist_peacekeeper",
"SkinID": 0
}
],
"BeltItems": [
{
"ShortName": "rifle.ak",
"SkinID": 0,
"Amount": 1,
"Ammo": null,
"Mods": []
},
{
"ShortName": "syringe.medical",
"SkinID": 0,
"Amount": 10,
"Ammo": null,
"Mods": []
}
],
"Kit": "",
"Health": 300.0,
"RoamRange": 5.0,
"ChaseRange": 40.0,
"SenseRange": 80.0,
"AttackRangeMultiplier": 8.0,
"CheckVisionCone": false,
"VisionCone": 180.0,
"DamageScale": 1.0,
"TurretDamageScale": 0.25,
"AimConeScale": 0.15,
"Speed": 8.5,
"SleepDistance": 100.0,
"MemoryDuration": 30.0,
"HostileTargetsOnly": false,
"DisableRadio": false,
"CanRunAwayWater": false,
"CanSleep": false,
"CanRaid": false,
"Stationary": false,
"AboveOrUnderGround": false
},
"create loot items": []
}
]
}
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

