k1lly0u
Allows players to fly drones

Supported Games
GameServerKingsGameServerKings

Video here

Facepunch is implementing drones in to the game. This is just for a bit of fun while we wait

How it works

  • You give yourself the drone item and you can place it like any other deployable item
  • Upon placing the drone you will begin controlling it
  • While you are controlling it a dummy player will be spawned in your place
  • The dummy player takes your inventory whilst you are flying
  • If the dummy player is wounded you will stop flying and will enter the wounded state
  • If the dummy player is killed whilst you are flying you will also die
  • When you stop flying the dummy player is despawned and your inventory is restored to you
  • Collision damage is a thing. If you crash in to other objects whilst flying the drone will take damage
  • Players can shoot the drones out of the sky
  • If you fly your drone in to water it will be destroyed
  • If the drone's health dips below 0 it will be destroyed
  • If the drone's health dips below 10% you will lose control of it and have to find it and pick it up
  • You can repair drones by hitting them with a hammer with the required resources

Controls

  • Forward / Backward / Left / Right - Drone movement
  • Sprint / Duck - Ascend and descend
  • Jump - Stop controlling

Permissions

  • dronepilot.use - Required to fly the drones
  • dronepilot.create - Required to give yourself the drone item
  • dronepilot.nocooldown - Ignore cooldown times being applied when using the /drone command
  • dronepilot.nocost - Ignore the scrap cost associated with using the /drone command

Chat Commands

  • /drone - Give yourself a drone item

Configuration

{
  "Vertical acceleration speed": 20.0,
  "Horizontal acceleration speed": 15.0,
  "Yaw speed": 6.0,
  "The speed that the drone will return to a levelled rotation after leaning": 2.0,
  "Lean weight (how much the drone leans in to movement) (0.0 -> 1.0)": 0.35,
  "Lean max velocity (the maximum velocity for full lean)": 6.0,
  "The impact speed before damage is applied": 3.0,
  "The amount of damage to apply from impacts (scales depending on speed)": 3.0,
  "The amount of time to disable the drone controls after a collision (seconds)": 0.25,
  "Maximum cruising height above terrain": 30.0,
  "Drone should autohover and not be affected by gravity when no user input is detected": false,
  "Drone damage scaler (does not affect collision damage)": 5.0,
  "The cooldown time on using the /drone command (seconds)": 3600,
  "The scrap cost associated with using the /drone command": 0,
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 1
  }
}
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.