FiveM Mapping Tutorial: Make a YMAP in CodeWalker
FiveM mapping tutorial: place props in a CodeWalker YMAP, calculate extents and flags, stream it as a map resource, remove default props and fix missing ones.
- Applies to
- FiveM Legacy map resources (official assets manual and Cfx.re docs read on December 2, 2026), with notes for FiveM for GTAV Enhanced early access (stream_enhanced, latest game build only). CodeWalker from its Discord releases channel, Sollumz 2.9.1 (November 10, 2026). The same on every server, with or without a framework
- Last verified
On this page
- Direct Answer
- What a YMAP is in FiveM mapping
- Before you start: set up CodeWalker for mapping
- How to make a YMAP in CodeWalker, step by step
- How to add a YMAP to a FiveM server and make it FiveM-ready
- FiveM remove props: how to delete default map objects
- How LOD YMAPs make a map visible from far away
- Other FiveM map editors: Sollumz and the FxDK World Editor
- YMAPs on FiveM for GTAV Enhanced
- Troubleshooting
- Next Steps
Direct Answer
This FiveM mapping tutorial follows the official Cfx.re assets manual. In CodeWalker, open the project panel, choose File -> New -> Ymap File, add entities with Ymap > New Entity, set each entity’s Archetype to the model you want and move it into place. Select the YMAP, click Calculate Extents and Calculate All Flags, save it, then generate and save _manifest.ymf with Tools -> Manifest Generator. Put both files in the stream folder of a resource whose fxmanifest.lua contains this_is_a_map 'yes', and add the resource to server.cfg. To remove a default prop, edit and stream the game’s own YMAP under its original name.
What a YMAP is in FiveM mapping
GTA V builds its world from two kinds of map file. The CodeWalker README describes them in one sentence: “Archetypes define objects that are placeable, and Entities define where those objects are placed to make up the world.”
| File | What it holds (CodeWalker README) | Do you make it when mapping? |
|---|---|---|
.ymap | MapData: “Contains placements of Archetypes, each defining an Entity in the world.” | Yes, this is your map |
.ytyp | MapTypes: “Contains a group of MapTypes (Archetypes), each defining an object that could be placed.” | Only for new custom models |
.ybn | Bounds: “Contains collision mesh / bounding data for pieces of the world.” | Only for new collision |
_manifest.ymf | Generated by CodeWalker’s Manifest Generator. The assets manual: “This is necessary to load the models correctly.” | Yes |
A YMAP that only places props from the game needs no .ytyp of your own. A forum mapper explains that “All props, that are originally in the game, must also be ‘registered’ in a YTYP file, which means this file already is in the game, and thus you don’t need to create one.”
Mapping does not depend on a framework. The resource is a map resource with no scripts, so the steps are the same on Qbox, ESX Legacy, QBCore and a server without a framework, whether you are building a race track, a PvP arena, a zombie-server barricade or a car meet spot.
Which FiveM map editor to use
| Editor | Output | What the sources say |
|---|---|---|
| CodeWalker | .ymap files | The editor the official assets manual uses for placing assets |
| Sollumz (Blender) | .ymap files | Sollumz 2.9.0 (August 4, 2026) rewrote its YMAP support “from scratch” |
| FxDK World Editor | A compiled resource, not .ymap | The docs say it “is still in its early stage” |
CodeWalker is the path this guide follows. The other two are covered further down.
Before you start: set up CodeWalker for mapping
The points of the official setup that matter for mapping:
- Download CodeWalker from its Discord. The official manual says to join the CodeWalker Discord, open the
#releaseschannel and download the latest version. The manual’s series uses “version Dev48”. The GitHub repository’s releases page lists no releases. - Add the nametables. Part 1 of the manual has you download an “updated nametables” RPF from the
#tips-documentationchannel and drag it into your GTA V folder in RPF Explorer with Edit Mode on. - Enable DLCs and pick the DLC level. In the right-side panel, the manual says to find the DLC Level dropdown, select the bottommost option, check Enable DLCs, and save with Options -> Save Settings.
The DLC level matters most when you edit the game’s own YMAPs, and the sources do not agree on which level to pick. Part 2 of the manual selects the bottommost option and does not tie it to a server. A forum answer from September 2022 states that “FiveM ymap and ytyp editing requires the DLC Level to match your server gamebuild”, not your server artifacts. The CodeWalker README tells single-player modders to set the DLC level to patchday2ng before editing an existing YMAP, but that instruction belongs to its single-player workflow, where the edited file goes into a /mods folder with OpenIV. Of the three, only the forum answer speaks about FiveM servers: when you edit game YMAPs, pick the DLC level of the build your server enforces. The official build table gives the DLC name for each build:
sv_enforceGameBuild | DLC name | Update |
|---|---|---|
| 1604 | mpchristmas2018 | Arena War |
| 2189 | mpheist4 | Cayo Perico Heist |
| 2699 | mpsum2 | The Criminal Enterprises |
| 3095 | mp2023_02 | The Chop Shop |
| 3407 | mp2024_02 | Agents of Sabotage |
| 3889 | mp2026_01 | The Kortz Center Heist |
The table lists more builds than these; the sv_enforceGameBuild guide explains how to pick one.
How to make a YMAP in CodeWalker, step by step
These steps are Part 4 of the official assets manual, with the CodeWalker README’s controls added.
- Open the project panel. In the CodeWalker World View, the manual says to “navigate to the top-left corner, and open the project panel.” The README recommends to “create and save a project file before adding files to be edited and saved”. A project is saved as
.cwproj. - Create the YMAP. Go to File -> New -> Ymap File.
- Add an entity. Select the new YMAP in the project, open Ymap at the top and click New Entity.
- Choose the model. Find the model name you want to place and change the Archetype setting of the entity to it. Part 2 of the manual shows how to find a name: enable Select Object on the toolbar, select a model in the world and copy the object name from the top-right panel.
- Move it into place. With an entity selected,
Eswitches to edit mode. In edit modeWtoggles the position widget,Erotation andRscale, andCtrl-ZandCtrl-Yundo and redo.Qleaves edit mode. - Duplicate entities. Hold SHIFT and drag the 3D gizmo to copy the selected entity.
- Calculate extents and flags. Select the YMAP and click Calculate Extents and Calculate All Flags. A forum mapper gives the reason: “props outside of the bounds or not matching the flags might not appear in the game”.
- Save the YMAP. Save it to your map resource. The manual asks you to name the file “something that makes sense as good practice”.
- Generate the manifest. In the project window, go to Tools -> Manifest Generator, click Generate and save
_manifest.ymf.
Do not scale props from the game. The same mapper warns, “you cannot scale props”: the prop either “won’t even appear” or “won’t scale properly”.
How to add a YMAP to a FiveM server and make it FiveM-ready
A YMAP becomes part of the server as a map resource. The layout that Part 4 builds, with its example name map_mod:
resources/
map_mod/
fxmanifest.lua
stream/
_manifest.ymf
map_mod.ymap
- Create the resource folder in
resources, for examplemap_mod, and a folder namedstreaminside it. - Create
fxmanifest.luainmap_modwith these lines:
fx_version 'cerulean'
game 'gta5'
this_is_a_map 'yes'
- Copy the map files into
stream. The manual: “Move any game asset files into the stream folder to ensure the files load properly.” - Add the resource to
server.cfgand restart the server:
ensure map_mod
What the lines do:
this_is_a_map“Marks this resource as being a GTA map, and reloads the map storage when the resource gets loaded.” The docs’ own example comment says the value “can be any value”.lua54 'yes'appears in the manual’s example as a fourth line. Leave it out: the manifest reference says the setting “is deprecated and you do not need to enable it”.ensurestarts the resource, or restarts it if it was already running.
The fxmanifest.lua guide explains the other manifest entries. Installing finished maps from other creators, with .ytyp declarations and conflict checks, is covered in the MLO install guide.
Using an XML YMAP without converting it
An official Cfx.re cookbook note from April 9, 2021 says FiveM can use XML-format .ymap and .ytyp files “without doing a conversion between XML and PSO/RSC format”. The condition: name the file like mh1_01.ymap “without any extra extension”. The note warns that these files are “loaded using the game parser, so this may behave differently in some ways from CodeWalker/OpenIV’s parsers”, and the page says newer information may exist.
FiveM remove props: how to delete default map objects
Default props, such as fences, bins and trees, are not in your YMAP. They are placed by the game’s own YMAPs, so removing them means changing those files or hiding the model by script.
Method 1: Edit the game’s YMAP and stream it
This is the method a forum mapper describes: “edit the vanilla ymap”.
- Set the DLC level to your server’s game build and enable DLCs, as above.
- Select the prop you want gone.
- Click Add to project in the project manager. The YMAP that places the prop is added to your project.
- Delete the entity or move it below the map. In another forum thread, a mapper whose removed props still showed in game had tried both; the advice was to keep the props moved under the map, because deleting entities in CodeWalker “seems to be a lot more in-depth”.
- Calculate extents and flags, then save the YMAP under its original name. The mapper’s words: “Save the edited YMAP (leave the ymap’s name as it is!) and stream it to FiveM.” The same name is what makes your copy replace the game’s file.
- Stream every YMAP you edited. “You need to stream all the YMAPs you’ve edited.” When you remove props from only one area, usually one YMAP is edited.
- Regenerate
_manifest.ymfand put the files in the map resource’sstreamfolder.
Two warnings follow from step 5:
- Same-name files conflict. Another map resource that also ships an edited copy of the same YMAP conflicts with yours. The MLO install guide shows how to find duplicate file names.
- Far-away versions are separate. Trees and some props have LOD (low-detail) versions in other files. One mapper’s advice for trees: “move some trees under the map and also do the same if it has an LOD.”
Method 2: Hide a model by script with CreateModelHide
The native CREATE_MODEL_HIDE (CreateModelHide in Lua) “Hides all objects of the specified model intersecting a sphere centered at (x, y, z) with the given radius.” Its parameters, from the official natives repository:
| Parameter | Meaning |
|---|---|
x, y, z | Centre of the hiding sphere |
radius | Radius of the sphere |
model | The model hash to hide |
surviveMapReload | If false, objects reappear when “their map unloads (e.g. by moving away) and reloads” |
The repository’s example, from the REMOVE_MODEL_HIDE page:
-- This could be any coordinates, in this example I am using the players ped coordinates
local playerPedCoords = GetEntityCoords(PlayerPedId())
-- Hides all entities with the hash "1437508529" within 1.0 gta units.
CreateModelHide(playerPedCoords, 1.0, 1437508529, true)
Citizen.Wait(2500)
-- This will make all hidden entities with the hash "1437508529" within 1.0 gta units visible.
RemoveModelHide(playerPedCoords, 1.0, 1437508529, false)
Keep three points in mind:
- It runs on each client. The native’s page says: “Network players do not see changes done with this.” Call it from a
client_script, which the manifest reference defines as “a script to be loaded on the client”. - Script objects can be spared.
CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTStakes the same parameters but excludes “objects created by scripts”. - It hides a model, not one object. Every object of that model inside the sphere is hidden. Method 1 removes one placement.
- The example undoes itself. Its
RemoveModelHidecall makes the objects visible again after the wait; it is there to show the reversal. To keep a prop hidden, callCreateModelHidealone.
How LOD YMAPs make a map visible from far away
The Sollumz docs describe an entity’s LOD distance as “the distance at which the object unloads”, and its default -1 “uses the LOD distance defined in the archetype”. For a large custom object that must stay visible from far away, Part 6 of the manual builds two YMAPs, one for the detailed model and one for the simple one:
- The HD YMAP. Place the HD entity and set Flags to “LOD in Parent Map” and LodLevel to
LODTYPES_DEPTH_HD. - The LOD YMAP. “Place the LOD entity at the exact same coordinates as the HD entity.” Set ChildLodDist to the HD entity’s LodDist, raise LodDist “based on desired streaming distance” and set LodLevel to
LODTYPES_DEPTH_LOD. - Link them. “Copy the LOD YMAP filename and set it as the Parent for the HD YMAP.” In the LOD Hierarchy tab, set the HD entity’s ParentIndex from -1 to 0 and the LOD entity’s NumChildren to 1.
- Regenerate
_manifest.ymf.
This needs a separate low-detail model, which Part 6 makes in Blender with Sollumz, and a .ytyp that adds both models as archetypes.
Other FiveM map editors: Sollumz and the FxDK World Editor
Sollumz in Blender
Sollumz is the Blender extension that the official manual installs in Part 1. Its 2.9.0 release of August 4, 2026 brought “a complete YMAP rework”, with support for “entities, MLO instances, LOD hierarchies, car generators, occluders, timecycle modifiers, LOD lights, and grass batches”. The version current on December 2, 2026 is 2.9.1, released November 10, 2026.
How its maps work, per the Sollumz docs:
- The Maps panel. “Maps are managed through the Sollumz Tools > Maps panel in the sidebar.”
- Containers become files. “On export, each container becomes one YMAP file, named after the container.” Items without a container “are skipped on export with a warning”.
- Scripted maps. Maps marked “Scripted” “will not be loaded automatically by the game. A script will be needed to load and unload them.”
The exported YMAP goes into a map resource exactly as above.
FxDK World Editor
FxDK, the Cfx.re Development Kit, has a shortcut named FiveM - Cfx.re Development Kit (FxDK) next to FiveM.exe. Its World Editor works differently from a YMAP editor:
- It does not save YMAPs. Its map files “are compiled to normal resource with optimized runtime for managing map additions”. The docs explain why: “normal map files don’t allow for script bindings.”
- Patches have limits. You “can only patch objects that have embedded collisions”, and “you can not delete existing map objects, however, you can hide them.”
- It is local. FxDK “was designed as a local-only development environment for a single user.”
The docs describe the World Editor as “still in its early stage”. Use it when you want map additions with script events; use CodeWalker or Sollumz when you need a .ymap.
YMAPs on FiveM for GTAV Enhanced
- Folder. A resource can have a
stream_enhancedfolder. When it is present, “its contents are loaded instead of the stream folder” on Enhanced. Thestreamfolder still works without it, “but it is deprecated”. - Game build. Enhanced “currently supports only the latest gamebuild (The Kortz Center Heist)”, build 3889 (
mp2026_01) at the time of writing (December 2, 2026). Edit game YMAPs against that DLC level. - Conversion. Alchemist, the official Legacy-to-Enhanced converter, lists its supported file types as “YDR, YTD, YFT, YPT and YDD.”
.ymapand.ytypare not on that list. The Alchemist guide covers the model files.
Troubleshooting
Props show in CodeWalker but are missing in game
Run Calculate Extents and Calculate All Flags on the YMAP, save it and regenerate _manifest.ymf. In the forum thread on this symptom, the mapper’s advice was that clicking those two buttons “should be enough”, and the thread’s author replied “now its working”. The same mapper spent “hours and hours” on problems that regenerating the manifest solved.
Some props are invisible or the wrong size
Check the scale of each entity. Scaled game props either do not appear or do not scale properly, and the author of the same thread set out to “set them all to 1 again”. Props that belong to a DLC can also be missing: check that the game build your server enforces includes that DLC; the official table notes that “Every build includes all content and changes from the builds before.”
A custom prop in my YMAP is invisible
A new model needs its own .ytyp streamed with it. The forum mapper explains that “YTYP files are meta files, which define new archetypes (registers models to the game)”. Declare the file with DLC_ITYP_REQUEST, which the Data Files page describes as the “Equivalent of PERMANENT_ITYP_FILE”. The custom props guide covers this, and FiveCrate’s props category has ready-made ones.
Removed props come back when I move away
The removed object has a LOD version in another file. A forum answer to exactly this symptom: “This has to do with LOD, which means there is more files that you will need to edit”. Find and edit the LOD entity too. With Method 2, set surviveMapReload to true.
Removed props still show on my server but not on a test server
In one forum thread, edits that failed on a main server worked on a separate test server. The advice was to disable the other resources one by one to find the conflict, because other map mods whose map files conflict cause the same problem. Map resources are also best started before players join: one forum user found that “Live map changes don’t work in fivem (from my experience)”.
Players fall through my new map
The falling through the floor guide covers it, and FiveCrate’s MLO category lists finished interiors.
Next Steps
- Keep streamed models within FiveM’s size limits with the oversized assets guide.
- Stream new prop models with the custom props guide.
- Install finished maps and settle file conflicts with the MLO install guide.
- Pick the right game build for your maps in the sv_enforceGameBuild guide.
Props & world objects: first releases coming soon
Join the FiveCrate Discord to hear when the first releases go live.
Official documentation and repository references
- Cfx.re Docs: Assets manual, Part 4 - Placing Assets & Creating Simple Map Mods
- Cfx.re Docs: Assets manual, Part 6 - LODs (Level of Detail)
- Cfx.re Docs: FxDK World Editor
- Cfx.re Docs: FYI: FiveM and RedM support raw .ymap/.ytyp files
- citizenfx/natives: CREATE_MODEL_HIDE
- CodeWalker by dexyfex (README)
- Sollumz Docs: Maps (.ymap)
- Cfx.re Forum: props missing in game, extents, flags and removing vanilla props
Related guides
How to Add Custom Props to a FiveM Server
How to add props to a FiveM server: stream .ydr, .ytd and .ytyp files, declare DLC_ITYP_REQUEST, find prop names, spawn props by script and place them.
sv_enforceGameBuild: FiveM Game Build List and DLC Setup
Use sv_enforceGameBuild to enable GTA Online DLC on a FiveM server: every game build up to 3889, the default value, Enhanced rules and the common errors.
Falling Through an MLO in FiveM: Collision Causes and Fixes
Falling through an MLO in FiveM means its collision is not in place. Check this_is_a_map, .ytyp lines, duplicate .ybn files, spawn scripts and streaming memory.
How to Install an MLO on a FiveM Server
How to install an MLO on a FiveM server: stream folder, fxmanifest.lua with this_is_a_map and DLC_ITYP_REQUEST, map conflicts, MLO not showing, Enhanced.

