RageKit

How to make a custom map (ymap) for FiveM

A FiveM map is a resource that streams a .ymap (where things are placed) and usually a .ytyp (what they are), plus any custom models and textures. RageKit's Map Studio places game props and your own models on the 3D map, can build an MLO interior, generates LODs, writes the .ymap and .ytyp, and builds the resource with its manifest.

Updated

Before you start

  • Your GTA V install, so the game world shows around your project.
  • Any custom models as .ydr, .ydd or .yft (convert FBX with Model Import).
  • Premium for the final Build.

Steps

  1. Start a project

    In Map Studio pick Map mod, Your own models, Interior (MLO) or Edit an existing map.

  2. Place props

    Add game props or your own models and position them with the move, rotate and scale gizmos.

  3. Set up models

    On the Models step set each archetype's texture dictionary and bounds.

  4. Generate LODs

    Set draw distances from size and Generate LODs for big maps.

  5. Bake collision if needed

    Turn on Bake collision for a static .ybn from your placed models. It's off by default.

  6. Check

    Fix anything the Check step lists, and read the generated .ymap and .ytyp XML if you want to.

  7. Build

    Build a FiveM resource. Put it in resources/ and add ensure <name> to server.cfg.

ymap and ytyp in one sentence each

A .ytyp defines archetypes: a model's name, its texture dictionary, bounds and, for interiors, rooms and portals.

A .ymap places entities of those archetypes in the world, with position, rotation, LOD distance and flags.

Questions

Can I edit a map someone else made?

Yes. Choose Edit an existing map and import its .ymap or .ytyp.

Can I just move a game prop?

Yes, in the World Viewer: move it and Save to map. The edit is saved to a copy in mods/.

Tools in this guide

Get RageKit

Free for Windows 10 and 11. No account needed.

There's no Windows installer on the latest release yet. Check the changelog for when it lands.