Patrol Heli Sams

Patrol Heli Sams 1.0.0

Sign in to download
Turns sam sites into anti-patrol heli defenses
This plugin lets sam sites target and shoot patrol helicopters, which they don't do in vanilla Rust. You can control how far they can shoot, how strong the rockets are, how fast they fly, and whether monument sams are allowed to fire.




Permissions

  • patrolhelisams.use - Allows player-owned sam sites to fire at patrol helicopters.

Commands

  • sam.test - Console-only command for admins to test a nearby sam site firing at a nearby patrol heli. Fires a single rocket if both are found within range.

Configuration

JSON:
{
"Allow Monument Sam Sites To Engage": false,
"Targeting Range": 150.0,
"Rocket Flight Speed Multiplier": 1.35,
"Rocket Damage Multiplier": 4.0,
"Time Between Bursts Seconds": 5.0
}
  • Allow Monument Sam Sites To Engage - If true, static monument sam sites are allowed to target and fire at patrol helicopters.
  • Targeting Range - The maximum distance (in meters) at which a sam site can detect and target a patrol helicopter.
  • Rocket Flight Speed Multiplier - Multiplier applied to the base speed of sam rockets when firing at patrol helicopters.
  • Rocket Damage Multiplier - Multiplier applied to the rocket damage when hitting patrol helicopters.
  • Time Between Bursts Seconds - Time in seconds between each sam burst when targeting a patrol helicopter.
Author
VisEntities
Downloads
13
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart