REX STUDIO – REX CANON – Field Artillery & Gatlings for RedM (VORP / RSG)
Bring the big guns. Placeable and transportable artillery: set up a Hotchkiss revolving cannon, a breach-loading field cannon, a Gatling or a Maxim anywhere outside town, lay it from a gun camera with a live trajectory arc, load real ammunition items, push it or tow it behind your horse, and share it with your crew. Works with VORP and RSG, detected automatically.
Fully synced and server-authoritative: every shot, item and gun position is decided by the server, and every player nearby sees the same shell, the same arc and the same blast.
Features
- 4 guns: Hotchkiss revolving cannon (5-round clips), breach-loading field cannon, Gatling, Maxim. Own elevation limits, traverse arc, muzzle velocity, reload, cooldown and damage per gun
- 6 ammunition items: round shot, explosive shell, canister (a giant shotgun), firework shell (harmless, for celebrations), Hotchkiss clip, 100-round gatling belt
- Placing: ghost preview, rotate, set up; refused on steep ground, in water, in towns or too close to another gun, with the reason shown live
- Gun camera over the barrel, mouse or WASD, RMB zoom, live trajectory simulated with drag and an impact ring, range and flight time
- Firing: muzzle flash, smoke, recoil, a visible ball with a smoke trail and a cannon blast where it lands. Optional kill credit for the gunner
- Gatlings: the game's own mounted guns with native prompts, belts counted by the server, barrel heat and overheating
- Crew card: nickname, owner, loaded round, ammunition you carry, who may fire (me / my crew / anyone)
- Transport: push on foot or hitch behind a horse or wagon, set down anywhere outside town
- Persistent (oxmysql): position, heading, owner, access, nickname, loaded round. Optional expiry of abandoned guns
- Security: distance, rights, state and rate limits on every event, every shot validated, impact checked against the ballistic path, atomic pick-up (no duplication), Discord and exploit logs
- ~0.00 ms idle, entities and effects only for nearby players
- Admin commands /cannons, /cannonremove, /cannonclear, /cannongive, exports for your other scripts
- Native RedM prompts, sober NUI, English and French locales, migration from rsd_canon (same item names)
Requirements
- VORP (vorp_core + vorp_inventory) or RSG (rsg-core + rsg-inventory)
- oxmysql, OneSync
Installation
- Put the rex_canon folder in your resources folder.
- Add the items: install/vorp_items.sql (VORP) or install/rsg_shared_items.txt (RSG), and copy install/images to your inventory images.
- (Optional) Import sql/rex_canon.sql. The table is also created automatically.
- In server.cfg, after oxmysql and your framework: ensure rex_canon, then restart the server.
- Edit config.lua (guns, ammo, zones, limits) and restart.
Escrow
This resource uses the Cfx.re Asset Escrow. Open and editable: config.lua, locales, the client/server bridge, SQL, install files and README. The core logic is escrowed. The resource is delivered through your Cfx.re account (Keymaster / Granted Assets) after purchase.