AutomatedSearchlights

AutomatedSearchlights 0.2.38

Set searchlights to automatically turn on and follow a variety of objects when they enter a set radius from the light. Players can also access and control the searchlight manually via a RustNET terminal


Permission
automatedsearchlights.use - Required to use the chat commands
automatedsearchlights.ignorelimit - Allows users to bypass the light limit set in the config

Chat Commands
/sl add <terminal ID> - Converts the light you are looking at into a automated light that is registered to the specified terminal
/sl name <name> - Set a name for the searchlight you are looking at which will be displayed in the RustNET console and UI overlay when controlling the searchlight
/sl remove - Removes the automation from the light you are looking at
/sl rotate - Set the lights default rotation to the direction the player is facing (for use with search mode)

Config
C#:
{
  "Detection Options": {
    "Animals": {
      "Enable this detection type": true,
      "Range of detection": 30.0,
      "Threat rating for priority targeting (1 - 5, 1 being the highest threat)": 4
    },
    "Enemy players and NPCs": {
      "Enable this detection type": true,
      "Range of detection": 45.0,
      "Threat rating for priority targeting (1 - 5, 1 being the highest threat)": 2
    },
    "Friends and owner": {
      "Enable this detection type": true,
      "Range of detection": 45.0,
      "Threat rating for priority targeting (1 - 5, 1 being the highest threat)": 5
    },
    "Cars and tanks": {
      "Enable this detection type": true,
      "Range of detection": 60.0,
      "Threat rating for priority targeting (1 - 5, 1 being the highest threat)": 1
    },
    "Helicopters": {
      "Enable this detection type": true,
      "Range of detection": 100.0,
      "Threat rating for priority targeting (1 - 5, 1 being the highest threat)": 3
    }
  },
  "Management Options": {
    "Allow lights to be set without requiring a terminal": false,
    "Maximum allowed searchlights per base (Permission | Amount)": {
      "automatedsearchlights.use": 4,
      "automatedsearchlights.pro": 10
    },
    "Maximum distance a searchlight controller can be set away from the terminal": 50.0,
    "Remote Settings": {
      "Can players toggle searchlight automation": true,
      "Can players control the searchlight remotely": true,
      "Can players access the searchlight inventory": true,
      "Display camera overlay UI": true,
      "Camera overlay image URL": "http://www.chaoscode.io/oxide/Images/RustNET/camera.png",
      "Searchlight icon URL for RustNET menu": "http://www.chaoscode.io/oxide/Images/RustNET/searchlighticon.png"
    }
  },
  "Light Options": {
    "Consume fuel when light is automated": false,
    "Sunrise hour": 8.0,
    "Sunset hour": 19.0,
    "Only automate lights at night time": true,
    "Search mode": {
      "Enable search mode when no targets are visable": true,
      "Rotation speed of search mode": 15.0
    },
    "Flicker mode": {
      "Enable flickering lights when damaged": true,
      "Percentage of health before flickering starts": 50.0
    }
  },
  "Version": {
    "Major": 0,
    "Minor": 2,
    "Patch": 10
  }
}

Information

Author
k1lly0u
First release
Last update
Rating
4.20 star(s) 10 ratings

Latest Release v0.2.38

Released
Oct 3, 2024 at 9:56 AM
Rating
0.00 star(s) 0 ratings


More resources from k1lly0u

  • PilotEject
    PilotEject
    A mini event where a helicopter malfunctions and the pilot has to eject
  • HeliRefuel
    HeliRefuel
    A mini-event where a helicopter populated with NPCs needs to land to refuel
  • ZombieHorde
    ZombieHorde
    Create hordes of zombies that roam around your server looking for brains
  • Admin Menu
    Admin Menu
    Manage groups, permissions, commands and convars from a GUI menu
  • TeleportGUI
    TeleportGUI
    Teleport, home and warp with a easy to use UI

AutomatedSearchlights by k1lly0u
© chaoscode.io Mar 31, 2017

Latest reviews

il ne marche plus??
Love the concept and would've happily given 5 stars if it wasn't broken out of the box. Paid for a product I can't even use (error has been posted in support for almost 2 weeks)
It works well, however whenever I use the terminal and remotely access the searchlights, I get stuck in third person when I quit. I'm stuck that way until I log out and back in. I'd be happy to change my rating if someone could tell me how to fix this issue!
k1lly0u
k1lly0u
That is Rust, you cant force admins to return to first person, you need to press F3 to cycle back to it
5stars. Works great! You rock!
yes yes and more yes! very fun addition, works amazing!
what i can say? this works:) and its so cool:)
works perfectly
Excellent Plugins , Our Players Love it.. keep up the good work
nice idea!! :) thanks k1