Swarm Dyno
Placeable dyno bays with an ECU tuning tablet, live dyno pulls, hardware install and removal, drift tuning, switchable ECU maps, engine failure and rebuilds, engine-swap sounds and mechanic staff with payroll.
New to Swarm scripts? Read Getting started first. It covers Swarm Bridge, install order and the licence.
Requirements
Frameworks: Qbox, QBCore, ESX.
| Requirement | What it's for | Included |
|---|---|---|
swarm_bridge | Talks to your framework, inventory, target and so on. Included with every Swarm script. | Yes |
swarm_dyno_assets | Streams the dyno prop. Included. | Yes |
ox_lib | Shared library (callbacks, progress bars, text UI). | No |
oxmysql | Optional. Without it, data is saved to JSON files. | No |
| Qbox, QBCore or ESX | For the usable ecu_tablet item and money. | No |
Install
- Copy the folders
swarm_dyno,swarm_dyno_assets,swarm_bridgeinto your server'sresourcesfolder. Already haveswarm_bridgefrom another Swarm script? Keep just one copy, the newest. - Add them to
server.cfg, dependencies first:ensure ox_lib ensure oxmysql ensure swarm_bridge ensure swarm_dyno_assets ensure swarm_dyno - Database: tables are created automatically the first time the script starts. If you prefer, import
sql/swarm_dyno.sqlyourself first. Withoutoxmysql, data is saved to JSON files instead. Mechanics, payroll, the job log, engine rebuilds and model engine types are always kept in JSON files. - Items: add the item definitions for your inventory from
install/items/:ox_inventory.items.luafor ox_inventory (any framework)qbcore.items.luafor QBCore or Qbox with qb-inventoryesx.items.sqlfor legacy ESX
Then copy
install/images/*.pnginto your inventory's image folder (ox_inventory/web/images/orqb-inventory/html/images/). Icons are namedSS_<item>.pngso they never overwrite another resource's images. Every item has an icon included.Items added (79)
ecu_tabletdyno_sheet+ 77 parts (engine, turbo, gearbox, drivetrain, EV, drift and engine-swap parts) - Licensed edition only: put your ServerSecret in
swarm_bridge/licence/private_config.lua. One secret unlocks every Swarm script you own. How to get it. The Source Code edition has no licence check, so skip this. - Start the server and check the console for errors.
Configuration
Open config.lua and check these before going live. Anything marked as a placeholder should be moved to a spot that suits your map.
| Setting | What it does |
|---|---|
Config.AdminAce | ACE for admin commands, 'swarm.dyno.admin' by default. |
Config.TabletItem / Config.DynoSheetItem.item | Item names ('ecu_tablet', 'dyno_sheet'). They must exist in your inventory. |
Config.PartsBin.defaultPrice / currency / requireTablet | Parts bin pricing (450, 'cash'). Buying requires owning the tablet. |
Config.ShopPricing | Invoice price sheet (bookkeeping only). |
Config.MechanicPayroll.defaultSplitPercent | Mechanic and shop split (50%). |
Config.Database.provider | 'auto', 'oxmysql' or 'json'. |
Config.UI | Tablet branding: accent colour, brand and product name. |
Config.Locale | 'auto' follows the language set in Swarm Bridge. Set a code such as 'de' to force this script into another language. See Languages. |
Commands & permissions
| Command | Who | What it does |
|---|---|---|
/dynoplace | Admin | Place a dyno bay. |
/dynolist | Admin | List saved bays. |
/dynoremove <id> | Admin | Delete one bay. |
/dynoremoveclosest | Admin | Delete the nearest bay within 25 m. |
/dynoreset | Admin | Delete every bay. |
/admindyno | Admin | Admin and staff screen. Also open to mechanics with the manager role. |
/dyno | Mechanics | Strap the car or start a pull. Only hired mechanics with access to that bay. |
/swarmhud | Everyone | Edit the ECU HUD layout. |
/swarm_dyno_cyclemap | Everyone | Cycle ECU maps. Bound to F9. |
Permissions (ACE)
Add to server.cfg, changing group.admin to your staff group if needed:
add_ace group.admin swarm.dyno.admin allowKeys
- F9: cycle ECU map while stationary
- E: strap vehicle, hold to release, parts bin, engine crane
- Backspace: cancel
- Enter: confirm placement
- PageUp / PageDown: placement height
- Q / E: rotate during placement
Good to know
- No bays exist after install. Place them in-game with
/dynoplace. - Hire mechanics in
/admindyno(Staff tab). New hires have no capabilities or bays until you grant them. - The tablet and dyno only work for admins and hired mechanics.
Need help?
Ask in the Swarm Scripts Discord and we'll help you get set up.
Swarm Scripts
Nyxia Development