Dependencies

2 min readUpdated 2 weeks ago

Required

  • ml_bridge: framework abstraction layer. Handles inventory, player data, notifications, progress bars, targets
  • ox_lib: utilities (zones, points, progressBar, alertDialog, textUI)
  • oxmysql: database driver, MariaDB preferred
  • Bazq Turret Prop Pack: streamed props (bazq-turret1b_base, bazq-turret1b_gunner, bazq-turret1b_barrel) used by the bazq_heavy turret type. Sold separately by the prop author. Without it, the bazq_heavy type will not render correctly
Bazq Turret Prop Pack - 3D asset by Bazq
Bazq Turret Prop Pack - 3D asset by Bazq
Two separate purchases

ml_turret is the script. The Bazq prop pack is the 3D asset. They are sold independently and must both be on your server for the heavy turret to display. The CCTV sentry type uses only vanilla GTA props and does NOT require the Bazq pack.

Framework

server.cfg
1ensure oxmysql
2ensure qb-core
3ensure ox_lib
4ensure ml_bridge
5ensure ml_turret
server.cfg
1ensure oxmysql
2ensure qbx_core
3ensure ox_lib
4ensure ml_bridge
5ensure ml_turret
server.cfg
1ensure oxmysql
2ensure es_extended
3ensure ox_lib
4ensure ml_bridge
5ensure ml_turret
server.cfg
1ensure oxmysql
2ensure ox_lib
3ensure ml_bridge
4ensure ml_turret
Auto Detection

ml_bridge detects your framework automatically. No manual setup.

Optional

Audio

  • xsound: 3D positional audio for traverse loop, reload, AI startup/shutdown. If missing, set Config.Sounds.enabled = false

Zombies

  • hrs_zombies_V3: zombie framework. Integration requires setting Entity(ped).state.hrsIsZombie = true in the canBeZombie function (see Config.HRS for the state bag key and fallback model whitelist)

Inventory and Target

ml_bridge abstracts inventory, target and notification calls. Any inventory or target system that ml_bridge supports works out of the box, no manual adapter setup. Icons, item consumption, target options and progress bars all route through Bridge functions regardless of which provider is installed on your server.

Auto Detection

No need to declare which inventory or target you use, ml_bridge detects the provider automatically.