← All docsVehicles & racing

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.

QboxQBCoreESXResource: swarm_dyno

New to Swarm scripts? Read Getting started first. It covers Swarm Bridge, install order and the licence.

Requirements

Frameworks: Qbox, QBCore, ESX.

RequirementWhat it's forIncluded
swarm_bridgeTalks to your framework, inventory, target and so on. Included with every Swarm script.Yes
swarm_dyno_assetsStreams the dyno prop. Included.Yes
ox_libShared library (callbacks, progress bars, text UI).No
oxmysqlOptional. Without it, data is saved to JSON files.No
Qbox, QBCore or ESXFor the usable ecu_tablet item and money.No

Install

  1. Copy the folders swarm_dyno, swarm_dyno_assets, swarm_bridge into your server's resources folder. Already have swarm_bridge from another Swarm script? Keep just one copy, the newest.
  2. Add them to server.cfg, dependencies first:
    ensure ox_lib
    ensure oxmysql
    ensure swarm_bridge
    ensure swarm_dyno_assets
    ensure swarm_dyno
  3. Database: tables are created automatically the first time the script starts. If you prefer, import sql/swarm_dyno.sql yourself first. Without oxmysql, data is saved to JSON files instead. Mechanics, payroll, the job log, engine rebuilds and model engine types are always kept in JSON files.
  4. Items: add the item definitions for your inventory from install/items/:
    • ox_inventory.items.lua for ox_inventory (any framework)
    • qbcore.items.lua for QBCore or Qbox with qb-inventory
    • esx.items.sql for legacy ESX

    Then copy install/images/*.png into your inventory's image folder (ox_inventory/web/images/ or qb-inventory/html/images/). Icons are named SS_<item>.png so they never overwrite another resource's images. Every item has an icon included.

    Items added (79)
    ecu_tablet dyno_sheet + 77 parts (engine, turbo, gearbox, drivetrain, EV, drift and engine-swap parts)
  5. 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.
  6. 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.

SettingWhat it does
Config.AdminAceACE for admin commands, 'swarm.dyno.admin' by default.
Config.TabletItem / Config.DynoSheetItem.itemItem names ('ecu_tablet', 'dyno_sheet'). They must exist in your inventory.
Config.PartsBin.defaultPrice / currency / requireTabletParts bin pricing (450, 'cash'). Buying requires owning the tablet.
Config.ShopPricingInvoice price sheet (bookkeeping only).
Config.MechanicPayroll.defaultSplitPercentMechanic and shop split (50%).
Config.Database.provider'auto', 'oxmysql' or 'json'.
Config.UITablet 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

CommandWhoWhat it does
/dynoplaceAdminPlace a dyno bay.
/dynolistAdminList saved bays.
/dynoremove <id>AdminDelete one bay.
/dynoremoveclosestAdminDelete the nearest bay within 25 m.
/dynoresetAdminDelete every bay.
/admindynoAdminAdmin and staff screen. Also open to mechanics with the manager role.
/dynoMechanicsStrap the car or start a pull. Only hired mechanics with access to that bay.
/swarmhudEveryoneEdit the ECU HUD layout.
/swarm_dyno_cyclemapEveryoneCycle 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 allow

Keys

  • 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.