Molo Modding
02 / OPERATIONS MANUAL
Molo Modding · Map documentation

LSPD HQ

Installation, map coordinates and configuration

molo_lspdhqInstallation guide
Take the 360° tour
From the official trailer
Article 01

Overview

Install LSPD HQ on your FiveM server with this guide to resource setup, map coordinates and configuration.

The package contains the map resource and the molo_elevator_lspdhq elevator companion. Install them side by side to use the supplied elevator controls.

Lspd Hq — In-game view from the official trailer
From the official trailer
Article 02

Installation

Place the folder containing fxmanifest.lua at resources/[maps]/molo_lspdhq/. Keep its name and internal file structure.

Open the outer molo_lspdhq package folder and copy the inner molo_lspdhq resource folder into [maps].

Resource folder layout
resources/
  [maps]/
    molo_lspdhq/
      fxmanifest.lua
      stream/
      audio/
      npc.lua
    molo_elevator_lspdhq/
      fxmanifest.lua
      client/
        client.lua
  1. Back up your existing resource before applying an update.
  2. Copy the complete resource folder into the location shown above.
  3. Add the startup entry below to server.cfg.
  4. Restart the server, then check the startup console for resource errors.
  5. Connect and check map loading, room visibility, collision and access before opening the area to players.

Copy molo_elevator_lspdhq into resources/[maps]/molo_elevator_lspdhq/ and start it after the map.

server.cfg
ensure molo_lspdhq
ensure molo_elevator_lspdhq

Restart the server when updating maps. Schedule the update and let connected players disconnect before restarting the server. Restarting a map resource while players are connected can crash their clients, especially when the map includes audio.

Article 03

Manifest & startup

The map uses the following resource manifest. Keep its streamed files, audio declarations and client scripts together.

fxmanifest.lua
fx_version 'bodacious'
game 'gta5'
this_is_a_map 'yes'
lua54 'yes'

client_scripts {
    'npc.lua'
}

data_file('DLC_ITYP_REQUEST')('stream/props/molo_lspdhq_props.ytyp')


dependency '/assetpacks'

data_file 'AUDIO_GAMEDATA' 'audio/molo_lspdhq_game.dat' 


files {
  'audio/molo_lspdhq_game.dat151.rel'
}

escrow_ignore {
  'stream/exteriormodels/*'

}
molo_elevator_lspdhq/fxmanifest.lua
fx_version 'bodacious'
games { 'gta5' }

lua54 'yes'

escrow_asset{
    'client/*',
}

client_scripts{
    'client/*',
}

YTYP file path

The supplied YTYP file is stream/meta/molo_lspdhq_props.ytyp. Set the DLC_ITYP_REQUEST entry in your installation to this path:

fxmanifest.lua — YTYP entry
data_file 'DLC_ITYP_REQUEST' 'stream/meta/molo_lspdhq_props.ytyp'
Article 04

Dependencies

Keep dependency '/assetpacks' in the map manifest. This is a manifest requirement; no ensure /assetpacks entry is needed. The manifest declares no ESX or QBCore requirement.

Audio declarations and packaged files
Manifest audio referencePackaged audio file
audio/molo_lspdhq_game.dataudio/molo_lspdhq_game.dat151.rel

Keep the packaged .dat151.rel audio file and its manifest declarations in place.

Article 05

Map coordinates

The following coordinates identify the technical origin of the map interior (MLO).

MLO origin · X, Y, Z

269.808075, -380.518555, 43.716476
Map origin — Lua reference
local mapOrigin = vector3(269.808075, -380.518555, 43.716476)

For player teleports, set a destination at ground level using your server’s administration tools.

The elevator’s Lobby destination is 69.760857, -387.685120, 48.518864. All three stops are listed in Doors & elevators.

Lspd Hq — In-game view from the official trailer
From the official trailer
Article 06

Room identifiers

Use these MLO and room identifiers when working with the map’s interior data.

MLO room identifiers
MLO identifierTechnical rooms (excluding limbo)MLO position X, Y, Z
hash_1b75dabdroom01, room02, room03, room04, room05, room06, room07, room08, room09, room10, room11, room12, room13, room14, room15, room16, room17, room18, room19, room20, room21, room22, room23, room24269.808075, -380.518555, 43.716476
hash_14b82dbdroom01269.808075, -380.518555, 43.716476
Article 07

Doors & elevators

The following door model files are included in the map resource. Use the model names and in-game entity positions when configuring your door-lock resource.

Door-related model inventory
Model filenamePath within map resource
molo_lspd_props_garagedoor.ydrstream/models/molo_lspd_props_garagedoor.ydr
molo_lspd_props_maindoor.ydrstream/models/molo_lspd_props_maindoor.ydr
molo_lspd_props_maindoor2.ydrstream/models/molo_lspd_props_maindoor2.ydr
molo_lspdhq_props_celldoor.ydrstream/models/molo_lspdhq_props_celldoor.ydr
molo_lspdhq_props_door1.ydrstream/models/molo_lspdhq_props_door1.ydr

Elevator controls

The supplied molo_elevator_lspdhq script connects Floor -1, Lobby and Roof. Move within 2 metres of a stop, then press Up Arrow for the next stop or Down Arrow for the previous stop.

Elevator destinations
Script labelX, Y, Z
Floor -167.491943, -364.480743, 41.331104
Lobby69.760857, -387.685120, 48.518864
Roof83.472473, -387.920380, 85.337036

The script uses controls 188 and 187. Add access restrictions in your server configuration or interaction scripts when assigning role-based access; the supplied elevator script has no job or permission check.

Article 08

Setup advice

  • Keep a backup of the complete resource before each update.
  • Match the resource folder name to its ensure entry.
  • Keep all supplied streamed files and audio in their original folders.
  • Check overlapping map resources when troubleshooting missing or duplicated geometry.
  • Use ground-level positions for player teleports and record door positions in game.
  • Schedule a full server restart for map updates.

npc.lua clears pedestrians within a radius of 150.0 around 82.02, -394.50, 42.30 every 1000 ms. Account for this area when placing NPCs through other scripts.

Article 09

Frequently asked questions

Which resource name should I start?

Use ensure molo_lspdhq. The folder at resources/[maps]/molo_lspdhq/ must contain fxmanifest.lua.

How should I apply an update?

Back up the resource, copy the complete update and restart the server after players disconnect. A live map restart can crash clients, particularly when audio is included.

What do the coordinates represent?

They identify the technical MLO origin. Configure player teleport destinations at ground level with your administration tools.

How do I configure locked doors?

Use your door-lock resource to assign the door model, world position and access permissions.

What should I check if the map does not load?

Check the folder structure, the resource name in server.cfg and the presence of all supplied files. Read the server startup console for missing files or dependency errors, and check for maps covering the same area.

How do I enable the elevator?

Install molo_elevator_lspdhq beside the map and start it after molo_lspdhq. Use the Up and Down Arrow keys within 2 metres of a stop.