About Cobalt Laboratory
A very interesting auto event for your server. Down with the boring old radioactive house.
Features:
Construction
- You can make any building
- The building position is level, the house will not hang in the air or spawn in the same place
Bots
- Bots turn on lights and laser sights at night, and cut them out in the morning
- It is possible to dress the NPC as you want it, as well as give them all random weapons
- You can also adjust the loot and health level of the NPC
Radiation
- It is possible to turn on radiation in the event area
Map
- It is possible to display the event on maps
Other possibilities
- There is sending notifications to the discord
- You can change any message in the lang file
- You can multiply the loot by the day of the wipe, the loot will get higher every day the wipe
- Detailed setting of everything.
- UI notifications
QuoteHow to add your own building?
In order to add your own building, you just need to have a copypaste.
You need to create a building and save it and remember the names.
Next, go to the config of this plugin and insert the name of the building into the line"file in the folder / oxide / data / copypaste with your building (If you do not specify the standard will be loaded)"
And reload the plugin)
Everything is ready!
The plugin was tested for a month and a half, many problems were fixed. But if something is found, I will fix it! I am also ready to accept your suggestions, Any!
Sorry, but the video is in Russian
Commands:
/cl start /stop - Start / stop the event ahead of schedule (For administrators) /cl.items add - add loot to the box with prizes, then be sure to adjust the odds in the config (From your inventory) /cl.items reset Replace all old loot in the box with a new one (From your inventory) /cl.botitems add "NAME" - add the loot that will be in the bot, then you must definitely adjust the odds in the config (From your inventory) /cl.botitems reset "NAME" - completely change the old loot in the bot to the new one
Config:
{
"Setting up and stopping an event": {
"The minimum number of players to start an event": 0,
"Time before the start of the event (Minimum in seconds)": 3000,
"Time before the start of the event (Maximum in seconds)": 7200,
"Time until the event is deleted if no one opens the box (Seconds)": 900,
"The time until the event is deleted after the box is unlocked": 300,
"Create a PVP zone within the radius of the event? (Requires TruePVE)": false,
"Do you use a dome ?": false,
"Transparency of the dome (the smaller the number, the more transparent it is. The values should be no more than 5)": 3
},
"Configuring notifications": {
"Discord WebHook (If you do not need discord notifications, leave the field blank)": "",
"Enable UI Notifications?": true,
"Auto hide UI notifications?": true,
"How long after the show will it hide? (sec)": 15.0,
"UI window background color": "0.8 0.28 0.2 0.8",
"UI Close Button Color": "0.6784314 0.254902 0.1843137 0.8"
},
"Setting up radiation in the event area": {
"Turn on radiation?": true,
"Number of radiation particles": 20,
"Radius of the affected area (No more than the radius of detection of players)": 20
},
"Event display on maps": {
"Mark the event on the G card (Requires FREE https://umod.org/plugins/marker-manager)": true,
"Text for map G": "Cobalt lab",
"Marker color (without #)": "f3ecad",
"Outline color (without #)": "ff3535"
},
"Setting up buildings for the event (Copypaste) and NPCs": {
"Spawn buildings. (If more than 1 then random is selected)": [
{
"Setting the height of the building (Required in the setting if you want to place your building)": 0,
"The names of the file in the folder `/oxide/data/copypaste` with your building": "HouseCobalt",
"Copter spawn chance (if present in a building)": 50,
"NPCs setting": [
{
"Minimum": 3,
"Maximum": 7,
"Will they spawn as help after hacking locked crate?": true,
"Number of NPCs (Help)": 3,
"NPCs setting": {
"Name": "Cobalt Defense",
"Health": 230.0,
"Roam Range": 35.0,
"Chase Range": 10.0,
"Attack Range Multiplier": 3.0,
"Sense Range": 50.0,
"Target Memory Duration [sec.]": 40.0,
"Scale damage": 2.0,
"Aim Cone Scale": 1.0,
"Detect the target only in the NPC's viewing vision cone? [true/false]": false,
"Vision Cone": 135.0,
"Speed": 8.0,
"Disable radio effects? [true/false]": false,
"Is this a stationary NPC? [true/false]": false,
"Remove a corpse after death? (it is recommended to use the true value to improve performance) [true/false]": false,
"Wear items": [
{
"ShortName": "roadsign.kilt",
"SkinID (0 - default)": 1121447954
},
{
"ShortName": "burlap.shirt",
"SkinID (0 - default)": 2076298726
},
{
"ShortName": "shoes.boots",
"SkinID (0 - default)": 0
},
{
"ShortName": "roadsign.gloves",
"SkinID (0 - default)": 0
},
{
"ShortName": "burlap.trousers",
"SkinID (0 - default)": 2076292007
},
{
"ShortName": "metal.facemask",
"SkinID (0 - default)": 835028125
}
],
"Belt items": [
{
"ShortName": "rifle.lr300",
"Amount": 1,
"SkinID (0 - default)": 1837473292,
"Mods": [
"weapon.mod.flashlight"
]
},
{
"ShortName": "pistol.semiauto",
"Amount": 1,
"SkinID (0 - default)": 1557105240,
"Mods": []
},
{
"ShortName": "syringe.medical",
"Amount": 10,
"SkinID (0 - default)": 0,
"Mods": []
},
{
"ShortName": "grenade.smoke",
"Amount": 3,
"SkinID (0 - default)": 0,
"Mods": []
}
],
"Kit": ""
},
"Which loot table should the plugin use? (0 - default; 1 - own; 2 - AlphaLoot;": 1,
"Own loot table (if the loot table type is 1)": {
"Minimum numbers of items": 1,
"Maximum numbers of items": 1,
"Use minimum and maximum values? [true/false]": true,
"List of items": [
{
"ShortName": "scrap",
"Minimum": 5,
"Maximum": 10,
"Chance [0.0-100.0]": 50.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "supply.signal",
"Minimum": 1,
"Maximum": 1,
"Chance [0.0-100.0]": 20.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "syringe.medical",
"Minimum": 1,
"Maximum": 2,
"Chance [0.0-100.0]": 70.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
}
]
}
},
{
"Minimum": 1,
"Maximum": 3,
"Will they spawn as help after hacking locked crate?": false,
"Number of NPCs (Help)": 0,
"NPCs setting": {
"Name": "Cobalt Guard",
"Health": 150.0,
"Roam Range": 30.0,
"Chase Range": 90.0,
"Attack Range Multiplier": 2.0,
"Sense Range": 50.0,
"Target Memory Duration [sec.]": 30.0,
"Scale damage": 1.0,
"Aim Cone Scale": 1.0,
"Detect the target only in the NPC's viewing vision cone? [true/false]": false,
"Vision Cone": 135.0,
"Speed": 7.0,
"Disable radio effects? [true/false]": true,
"Is this a stationary NPC? [true/false]": false,
"Remove a corpse after death? (it is recommended to use the true value to improve performance) [true/false]": false,
"Wear items": [
{
"ShortName": "roadsign.kilt",
"SkinID (0 - default)": 1121447954
},
{
"ShortName": "burlap.shirt",
"SkinID (0 - default)": 2076298726
},
{
"ShortName": "shoes.boots",
"SkinID (0 - default)": 0
},
{
"ShortName": "roadsign.gloves",
"SkinID (0 - default)": 0
},
{
"ShortName": "burlap.trousers",
"SkinID (0 - default)": 2076292007
},
{
"ShortName": "metal.facemask",
"SkinID (0 - default)": 835028125
}
],
"Belt items": [
{
"ShortName": "rifle.lr300",
"Amount": 1,
"SkinID (0 - default)": 1837473292,
"Mods": [
"weapon.mod.flashlight"
]
},
{
"ShortName": "pistol.semiauto",
"Amount": 1,
"SkinID (0 - default)": 1557105240,
"Mods": []
},
{
"ShortName": "syringe.medical",
"Amount": 10,
"SkinID (0 - default)": 0,
"Mods": []
},
{
"ShortName": "grenade.f1",
"Amount": 3,
"SkinID (0 - default)": 0,
"Mods": []
}
],
"Kit": ""
},
"Which loot table should the plugin use? (0 - default; 1 - own; 2 - AlphaLoot;": 1,
"Own loot table (if the loot table type is 1)": {
"Minimum numbers of items": 1,
"Maximum numbers of items": 1,
"Use minimum and maximum values? [true/false]": true,
"List of items": [
{
"ShortName": "scrap",
"Minimum": 5,
"Maximum": 10,
"Chance [0.0-100.0]": 50.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "supply.signal",
"Minimum": 1,
"Maximum": 1,
"Chance [0.0-100.0]": 20.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "syringe.medical",
"Minimum": 1,
"Maximum": 2,
"Chance [0.0-100.0]": 70.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
}
]
}
}
]
}
]
},
"Customizing the box": {
"Time to unlock the Crates [sec.]": 900.0,
"Which loot table should the plugin use? (0 - default; 1 - own; 2 - AlphaLoot; 3 - EcoLootUI;": 0,
"Own loot table (if the loot table type is 1)": {
"Minimum numbers of items": 0,
"Maximum numbers of items": 0,
"Use minimum and maximum values? [true/false]": false,
"List of items": [
{
"ShortName": "pistol.python",
"Minimum": 1,
"Maximum": 1,
"Chance [0.0-100.0]": 60.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "multiplegrenadelauncher",
"Minimum": 1,
"Maximum": 1,
"Chance [0.0-100.0]": 15.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "sulfur",
"Minimum": 500,
"Maximum": 800,
"Chance [0.0-100.0]": 40.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
},
{
"ShortName": "wall.external.high.ice",
"Minimum": 1,
"Maximum": 5,
"Chance [0.0-100.0]": 75.0,
"Is this a blueprint? [true/false]": false,
"SkinID (0 - default)": 0,
"Name (empty - default)": "",
"Multiply the amount of the item by the number of days since the beginning of the wipe (on the 3rd day, the loot will be 3 times more)": false
}
]
},
"Turn on the alarm when breaking into a locked box ?": true
},
"Reward in the form of a team to the player who 1 opened the cargo": {
"List of commands that are executed in the console (%STEAMID% - the player who looted the box)": [],
"Messages that the player will receive (Here you can write about what the player received)": ""
},
"Setting up the selection of positions for spawn (For experienced users)": {
"Allow spawn on the roads ?": true,
"Allow spawn on rivers ?": true,
"Radius of monument detection": 40.0,
"Detection radius of the tool cupboard (Building Block)": 90.0
}
}