- 937
- 16
- 83.75 kB
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
Required plugins:
http://umod.org/plugins/copy-paste
http://umod.org/plugins/image-library
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 - 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 - completely change the old loot in the bot to the new one
Config:
{ "Setting up a building for an event (CopyPaste)": { "Setting the height of the building (Required in the setting if you want to place your building)": 2, "file in the folder / oxide / data / copypaste with your building (If you do not specify the standard will be loaded)": "", "radius for detecting player buildings": 25 }, "Setting the start and stop of the 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 }, "Configuring notifications": { "Discord WebHook (If you do not need discord notifications, leave the field blank)": "", "Enable UI Notifications?": true }, "Setting up radiation in the event area": { "Turn on radiation?": true, "Number of radiation particles": 20 }, "Event display on maps": { "Mark event on RustMap?": true, "Icon for RustMap": "https://i.imgur.com/bwg6de6.png", "Text for RustMap ": "Cobalt lab", "Mark the event on the map G (Required https://umod.org/plugins/marker-manager)": false, "Text for card G": "Cobalt lab" }, "Customization NPC": { "Spawn NPCs around the house?": true, "Number of NPCs ": 8, "HP NPC": 170, "Should I spawn help after breaking the mailbox? (NPC)": true, "Number of NPCs (Help)": 4, "Random npc nicknames": [ "Cobalt guard", "Cobalt defense" ], "NPC Clothes": [ { "ShortName": "roadsign.kilt", "SkinID": 1121447954 }, { "ShortName": "burlap.shirt", "SkinID": 2076298726 }, { "ShortName": "shoes.boots", "SkinID": 0 }, { "ShortName": "roadsign.gloves", "SkinID": 0 }, { "ShortName": "burlap.trousers", "SkinID": 2076292007 }, { "ShortName": "metal.facemask", "SkinID": 835028125 } ], "Weapon options for NPCs": [ { "ShortName": "rifle.lr300", "SkinID": 1975712725 }, { "ShortName": "rifle.lr300", "SkinID": 1837473292 }, { "ShortName": "pistol.semiauto", "SkinID": 1557105240 }, { "ShortName": "rifle.semiauto", "SkinID": 1845735432 }, { "ShortName": "rifle.ak", "SkinID": 1352726257 } ], "Use your loot in NPCs?": true, "Loot setting in NPC (if disabled, it will be standard) /cl.botitems": [ { "ShortName": "halloween.surgeonsuit", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 70, "Multiply this item by wipe day?": false }, { "ShortName": "metal.facemask", "SkinID": 1886184322, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 20, "Multiply this item by wipe day?": false }, { "ShortName": "door.double.hinged.metal", "SkinID": 191100000, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 2, "Item drop chance": 60, "Multiply this item by wipe day?": false }, { "ShortName": "rifle.bolt", "SkinID": 0, "Item name": "", "Blueprint?": true, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 10, "Multiply this item by wipe day?": false }, { "ShortName": "rifle.lr300", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 15, "Multiply this item by wipe day?": false }, { "ShortName": "pistol.revolver", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 3, "Item drop chance": 60, "Multiply this item by wipe day?": false }, { "ShortName": "supply.signal", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 3, "Item drop chance": 20, "Multiply this item by wipe day?": false }, { "ShortName": "explosive.satchel", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 3, "Item drop chance": 5, "Multiply this item by wipe day?": false }, { "ShortName": "grenade.smoke", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 20, "Item drop chance": 45, "Multiply this item by wipe day?": false }, { "ShortName": "ammo.rifle", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 50, "maximum amount": 120, "Item drop chance": 35, "Multiply this item by wipe day?": false }, { "ShortName": "scrap", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 100, "maximum amount": 500, "Item drop chance": 20, "Multiply this item by wipe day?": false }, { "ShortName": "giantcandycanedecor", "SkinID": 0, "Item name": "Новый год", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 5, "Item drop chance": 70, "Multiply this item by wipe day?": false } ] }, "Box customization": { "Loot customization in the box /cl.items": [ { "ShortName": "pistol.python", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 60, "Multiply this item by wipe day?": false }, { "ShortName": "multiplegrenadelauncher", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 15, "Multiply this item by wipe day?": false }, { "ShortName": "sulfur", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 500, "maximum amount": 800, "Item drop chance": 40, "Multiply this item by wipe day?": true }, { "ShortName": "gunpowder", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 300, "maximum amount": 400, "Item drop chance": 10, "Multiply this item by wipe day?": true }, { "ShortName": "door.hinged.toptier", "SkinID": 0, "Item name": "", "Blueprint?": true, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 15, "Multiply this item by wipe day?": false }, { "ShortName": "wall.external.high.ice", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 5, "Item drop chance": 75, "Multiply this item by wipe day?": false }, { "ShortName": "ammo.rocket.basic", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 3, "Item drop chance": 25, "Multiply this item by wipe day?": false }, { "ShortName": "ammo.grenadelauncher.smoke", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 3, "maximum amount": 10, "Item drop chance": 70, "Multiply this item by wipe day?": false }, { "ShortName": "ammo.grenadelauncher.he", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 2, "maximum amount": 5, "Item drop chance": 10, "Multiply this item by wipe day?": false }, { "ShortName": "metal.facemask", "SkinID": 0, "Item name": "", "Blueprint?": true, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 15, "Multiply this item by wipe day?": false }, { "ShortName": "metal.plate.torso", "SkinID": 0, "Item name": "", "Blueprint?": true, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 10, "Multiply this item by wipe day?": false }, { "ShortName": "clatter.helmet", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 70, "Multiply this item by wipe day?": false }, { "ShortName": "carburetor3", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 20, "Multiply this item by wipe day?": false }, { "ShortName": "crankshaft3", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 10, "Multiply this item by wipe day?": false }, { "ShortName": "techparts", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 5, "maximum amount": 15, "Item drop chance": 35, "Multiply this item by wipe day?": false }, { "ShortName": "xmas.lightstring.advanced", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 30, "maximum amount": 70, "Item drop chance": 45, "Multiply this item by wipe day?": false }, { "ShortName": "largemedkit", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 3, "maximum amount": 5, "Item drop chance": 70, "Multiply this item by wipe day?": false }, { "ShortName": "largemedkit", "SkinID": 0, "Item name": "", "Blueprint?": true, "Minimal amount": 3, "maximum amount": 5, "Item drop chance": 70, "Multiply this item by wipe day?": false }, { "ShortName": "metal.fragments", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1000, "maximum amount": 2000, "Item drop chance": 70, "Multiply this item by wipe day?": true }, { "ShortName": "explosives", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 10, "maximum amount": 50, "Item drop chance": 30, "Multiply this item by wipe day?": false }, { "ShortName": "autoturret", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 60, "Multiply this item by wipe day?": false }, { "ShortName": "explosive.timed", "SkinID": 0, "Item name": "", "Blueprint?": false, "Minimal amount": 1, "maximum amount": 1, "Item drop chance": 5, "Multiply this item by wipe day?": true } ], "Maximum number of items in a box": 10, "multiply the amount of loot by the number of days since the start of the wipe (on the 3rd day - there will be 3 times more loot)": false, "Turn on the alarm *?": true } }