Corrupted Drone Boss Event
A giant Corrupted Drone boss that hunts players at your monuments. It thinks, dodges, shields itself and fights in phases. Kill it for crash-site loot, a damage leaderboard and rank rewards.
Drop it in and it works: five monuments come ready with flight paths, and the drone shows up as a timed server event. Every monument gets its own profile, so you can run an easy guard at Junkyard and a nightmare at Launch Site on the same server.
Features
Smart AI. Picks its target by threat and hunts players who hide behind cover.
Attacks that change in phases. Machine gun, cannon shells, napalm, homing rockets, artillery barrages and mine drops.
Shield phase. Destroy the power cells to break the shield and stun the drone.
Flares. Counters homing launcher missiles, so teamwork beats it.
Homing launcher support. The vanilla homing launcher locks on to the drone like a helicopter.
Event mode. "A Corrupted Drone has been spotted at Airfield!" It stays for a limited time, then leaves.
Four respawn types. Timer, plugin load, daily schedule or event, set per monument.
Damage leaderboard and rank rewards. Items, Economics, ServerRewards and commands for the top players.
Crate lock. The top damage dealer's team gets the loot first.
Loot your way. Built-in loot, Loottable, AlphaLoot or CustomLoot, set per monument.
Health bar. Shows SHIELDED and STUNNED states.
Map markers. Show health %, a respawn countdown, "Arriving in…" and "Leaves in…".
Waypoint editor in-game. Draw any number of waypoints. The combat zone is calculated for you.
Multi-language. Every player gets messages in their own language.
Performance friendly. The drone sleeps (no AI, no physics) while no player is near.
How a fight plays out
The drone patrols its waypoints. When players come close it wakes up, picks a target and starts fighting. It uses its machine gun all the time, plus one special attack at a time, chosen from the current phase's list.
Phase
Health
Default special attacks
Behaviour
Phase 1
100% – 70%
Cannon shells, Mine drop
Goes after the closest player
Shield
at 50%
—
Immune until the power cells are destroyed
Phase 2
70% – 35%
Cannon, Napalm, Artillery
Flares on, hunts launcher users
Phase 3
below 35%
Napalm, Homing, Artillery, Mines
Faster attacks, hunts the top damage dealer
Everything in this table can be changed per monument.
Special attacks
Attack
What players see
Cannon shells
Bursts of Bradley main-cannon shells at the target
Napalm rockets
Fire rockets that set the ground on fire
Homing rockets
Rockets that climb, then dive onto players
Artillery barrage
Smoke and a beep mark each player's spot. "INCOMING BARRAGE, MOVE!" Rockets rain down 3 seconds later. They land where players were, so moving saves you.
Mine drop
Landmines scattered under the drone. They arm after a moment and disappear after 60 seconds. They can't be looted.
Smart AI
Threat targeting. Each phase weights recent damage, holding a launcher, distance, low health and a random factor. The drone hunts whoever matters most.
Line of sight. Hide behind a wall and the drone moves to a spot inside its zone that can see you again.
Flares. When a homing missile gets close, the drone can fire flares, and the missile goes for the flares instead. Charges recharge over time, so a second missile right after the first gets through.
Shield phase
At 50% health the drone becomes SHIELDED. Hits bounce off, and power cells spawn around the monument. They show on the map and give off sparks. Destroy them all and the shield breaks. The drone is then STUNNED for a few seconds and takes bonus damage. If nobody destroys the cells in time, the drone repairs itself.
When it dies
The drone spins out and crashes. Its burning crates scatter around the crash site.
Kill announcement in chat.
Damage leaderboard showing the top players and their % of the damage.
Rank rewards for the top damage dealers.
Crate lock. The crates belong to the top damage dealer and their team for a few minutes.
Respawn types
Set per monument profile.
Type
Name
How it spawns
0
Timer
Respawns a random time (min – max) after it dies
1
Plugin load
Spawns once when the plugin loads, never respawns
2
Schedule
Spawns at set server times, e.g. 18:00 and 22:00
3
Event
Only spawns through the drone event (default)
Also per monument:
Minimum online players. A due boss waits until enough players are online.
Flies away when nobody comes. An idle boss leaves and frees its slot.
The main config also caps how many bosses can be alive at the same time.
Event mode
Every 1–2 hours (configurable), the plugin picks a random event monument:
Warning: "A Corrupted Drone has been spotted heading to Power Plant! It arrives in 1 min."
Arrival: it stays for 30 minutes, with reminders in chat and a "leaves in…" countdown on the map.
End: it's killed, or it leaves. If players are still shooting it when time runs out, it stays a bit longer. Then the timer for the next event starts.
Default monuments
These come with flight paths ready to go. They all use the Event respawn type, so you decide which ones use other types.
☑ Launch Site
☑ Junkyard
☑ Airfield
☑ Power Plant
☑ Water Treatment Plant
Add any other monument with /drone addmonument. Waypoints are saved relative to the monument, so a path works on every map that has it. You can also use RustEdit map markers or any custom position.
Note
Any number of waypoints. The drone patrols your waypoints in order. Its combat zone is the outline around all of them, worked out for you, and it strafes, chases and drops mines inside that zone.
See it all while editing. The waypoints show in green and the combat zone in yellow. The event area is a blue sphere and the attack radius a red one. Change those two radiuses live with /drone eventradius and /drone attackradius.
Rewards and loot
Rank rewards (per monument)
Each rank (1st, 2nd, 3rd…) can give any mix of:
Items (with skin, custom name, blueprint and chance)
Economics money
ServerRewards points
Console commands with {steamid} and {name}
Players below a minimum damage share get nothing, so one bullet doesn't count. Players who were dead when rewards went out get their items when they respawn.
Crash crate loot (per monument)
Loot type
Value
Source
Default
0
The crate's vanilla loot (or your loot plugin's normal crate loot)
Own
1
The plugin's own item list
Loottable
2
A Loottable custom preset
AlphaLoot
3
An AlphaLoot loot profile
CustomLoot
4
A CustomLoot preset
You also set the crate prefab, how many crates, fire around the crates, locking crates with fire, and how long until the crates disappear.
Commands
All commands need the DroneBossEvent.admin permission (or admin). If you leave out [name], the nearest location is used.
Waypoint editing
Command
Description
/drone edit [name]
Select a location and show its waypoints and combat zone
/drone addwp
Add a waypoint where you are (fly at the height the drone should patrol)
/drone removewp
Remove the waypoint nearest to you
/drone stopedit
Stop editing and respawn the boss on the new path
/drone eventradius <meters>
Set the event area of the location you're editing (shown as a blue sphere)
/drone attackradius <meters>
Set the attack radius of the location you're editing (shown as a red sphere)
Locations
Command
Description
/drone add <name>
Create a custom location at your position
/drone addmonument
Create a location for the monument nearest to you
/drone remove <name>
Delete a location
/drone enable <name> / /drone disable <name>
Turn a location on or off
/drone tp <name>
Teleport to a location
Bosses and events
Command
Description
/drone spawn [name]
Spawn the boss now (starts an event at Event locations)
/drone kill [name]
Remove the boss without loot and start its respawn timer
/drone status
All bosses, health, respawn timers and the event state
/drone event start [name]
Start an event now (random monuments, or the one you name)
/drone event stop
End the running event and schedule the next one
/drone event status
Time until the next event
/drone reload
Reload the plugin
Server console: drone status, drone spawn <name>, drone kill <name>, drone event start [name], drone event stop, drone reload.
Installation
Upload DroneBossEvent.cs to oxide/plugins.
The plugin creates oxide/config/DroneBossEvent.json and the five default monuments in oxide/data/DroneBossEvent/Locations/.
Grant yourself the admin permission:
oxide.grant user YourName DroneBossEvent.admin
Test it right away with /drone event start.
Warning
Updating from an older version? Delete oxide/config/DroneBossEvent.json once so the full config is created again.
Configuration
Each profile also holds the waypoints, every weapon's stats, the artillery, mine and flare settings, target weights per phase, the stun time and bonus damage, rank rewards and the full loot list.
Optional plugins
Plugin
Used for
Economics
Money rewards
ServerRewards
Point rewards
Loottable
Crate loot type 2
AlphaLoot
Crate loot type 3
CustomLoot
Crate loot type 4
TruePVE / SimplePVE
Players can always damage the boss, even on PVE servers
For developers
// Hooks
void OnCorruptedDroneSpawned(Drone drone, string location)
void OnCorruptedDroneKilled(string location, Vector3 crashPosition, BasePlayer killer)
void OnCorruptedDronePlayerTarget(Drone drone, BasePlayer target)
void OnCorruptedDroneLeft(string location)
void OnCorruptedDroneEventStarted(Drone drone, string location)
void OnCorruptedDroneEventEnded()
void OnCorruptedDroneShieldUp(Drone drone, string location)
void OnCorruptedDroneShieldBroken(Drone drone, string location)
void OnCorruptedDroneFlares(Drone drone)
// API
bool IsCorruptedDrone(Drone drone)
string GetCorruptedDroneLocation(Drone drone)
Support
Found a bug or have an idea? Open a support ticket on this page. Please include your config and a description of what happened.