Join the Game4Freak Discord Get exclusive plugin sneak peeks, talk directly with VisEntities, never miss important updates, and unlock special discount codes!
Cannon Aim Assist

Cannon Aim Assist 1.0.0

Draws a trajectory arc showing where a cannon's cannonball will land

Cannon Aim Assist adds a visual trajectory arc to cannons that shows exactly where the cannonball will land when fired. The arc updates in real-time as you adjust the cannon's aim, making it much easier to hit targets at range. The trajectory line changes color based on whether the cannon is loaded (green) or unloaded (red), and displays a crosshair at the impact point with distance information.

The trajectory calculation accounts for projectile velocity, gravity, terrain collisions, and water surfaces, giving you an accurate prediction of the cannonball's flight path.

Works Well With

Cannon Aim Assist works well with other cannon enhancement plugins:
  • Cannon Storage -- Adds a storage stash to cannons for keeping ammunition nearby. The trajectory arc will update to show the correct physics based on whatever ammo type is currently loaded from storage
  • Cannon Rockets -- Allows cannons to fire rockets instead of cannonballs. When using rockets, the trajectory arc automatically adjusts to show rocket flight paths with the correct velocity and spread patterns configured in Cannon Rockets
If you want trajectory visualization for catapults as well, check out Catapult Aim Assist which provides the same aiming assistance for catapults.

Permissions

  • cannonaimassist.use -- Allows players to see the trajectory arc when using a cannon

Configuration

JSON:
{
  "Version": "1.0.0",
  "Trajectory": {
    "Seconds Between Redraws": 0.15,
    "Arc Smoothness (Lower = Smoother)": 0.05,
    "Maximum Flight Time (Seconds)": 8.0
  },
  "Crosshair": {
    "Arrow Head Size": 0.5,
    "Gap Between Arrows": 0.8,
    "Height Above Ground (Multiplier)": 3.0,
    "Vertical Arrow Minimum Length (Multiplier)": 4.0,
    "Vertical Arrow Maximum Length (Multiplier)": 20.0,
    "Show Distance Text": true,
    "Distance Text Height Above Ground": 0.3
  },
  "Colors": {
    "Loaded Trajectory Color (Hex)": "#00FF00",
    "Unloaded Trajectory Color (Hex)": "#FF0000"
  }
}

Trajectory Settings

  • Seconds Between Redraws -- How often the trajectory arc updates in seconds. Lower values update more frequently but may impact performance
  • Arc Smoothness -- The interval between trajectory points in seconds. Lower values create a smoother arc with more line segments
  • Maximum Flight Time -- Maximum time the trajectory will calculate before stopping. Prevents infinite calculations for very long shots

Crosshair Settings

  • Arrow Head Size -- Size of the arrowheads in the impact crosshair
  • Gap Between Arrows -- Distance from the impact point to where the arrows start pointing inward
  • Height Above Ground -- How high above the ground the crosshair floats. Multiplied by Arrow Head Size
  • Vertical Arrow Minimum Length -- Minimum length of the vertical arrow pointing down at the impact point. Multiplied by Arrow Head Size
  • Vertical Arrow Maximum Length -- Maximum length of the vertical arrow pointing down at the impact point. Multiplied by Arrow Head Size. The actual length scales based on distance to target
  • Show Distance Text -- Whether to display the distance to impact in meters
  • Distance Text Height Above Ground -- How high above the impact point to display the distance text

Color Settings

  • Loaded Trajectory Color -- Color of the trajectory arc when the cannon is loaded with ammunition. Default is green (#00FF00)
  • Unloaded Trajectory Color -- Color of the trajectory arc when the cannon is empty. Default is red (#FF0000)
Author
VisEntities
License duration
Unlimited
Price
7.99 USD
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

  • Gamemodeless
    Gamemodeless
    A flexible, generic arena system with no predefined game rules
  • Overflow To Backpack
    Overflow To Backpack
    Automatically moves items to your backpack when your inventory runs out of space
  • Failed Code Alert
    Failed Code Alert
    Warns players when someone tries to access their code lock with the wrong code
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