> For the complete documentation index, see [llms.txt](https://docs.sollumz.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sollumz.org/2.4/documentation/map-data.ymap-todo.md).

# Map Data (.ymap)

Map Data such as object locations, car generators, occlusions, and lod lights are stored in the .ymap file format.

### Prerequisite Knowledge

* Basic Blender skills
* Basic CodeWalker skills

### What you will need

* A Drawable positioned at the world location you want it to be at

### Creating A new YMAP in blender

Open The 'N' Toolbar and navigate to Sollumz Tools -> Map Data

Then Click 'Create YMAP'

<figure><img src="https://content.gitbook.com/content/hGcNKRMetkzIyWw4fER5/blobs/6zjDimZZ7vyoss0iyvd4/image.png" alt=""><figcaption></figcaption></figure>

we can go ahead and rename our new ymap object, but ensure you rename it here as well.

<figure><img src="https://content.gitbook.com/content/hGcNKRMetkzIyWw4fER5/blobs/wU5lIy3ncD7MvT9H6jti/image.png" alt=""><figcaption></figcaption></figure>

Now, depending on what you will be using in this YMAP, we can return to the Map Data tab, and create the necessary groups.&#x20;

with the ymap selected, click 'Entities'.

Next, parent your drawable positioned at the world position to the new 'Entities' object. (Shift + Drag)

<figure><img src="https://content.gitbook.com/content/hGcNKRMetkzIyWw4fER5/blobs/BI8qzfPrbiPmnChLKNOp/gqSdKjh.gif" alt=""><figcaption></figcaption></figure>

Next, we can now export our YMAP. Select the YMAP object, and by either pressing V to open the Sollumz Pie Menu, or navigating to Sollumz Tools -> General -> 'Export CodeWalker XML', Export your YMAP Object.&#x20;

### Export Options

There is a handful of export options related to ymap in the export window, keep these in mind in case you are running into any issues.

<figure><img src="https://content.gitbook.com/content/hGcNKRMetkzIyWw4fER5/blobs/nkUGsZoI5ZLo44wYciAE/image.png" alt=""><figcaption></figcaption></figure>

Lastly, convert the .XML file back to the binary .YMAP by dragging the .XML into any RPF archive in CodeWalker RPF Explorer. It's Recommended you create a new RPF archive in your GTA 5 Root Directory.&#x20;

<figure><img src="https://content.gitbook.com/content/hGcNKRMetkzIyWw4fER5/blobs/vN4B8sugAZXhL8SQQ59u/CmLabQ1.gif" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sollumz.org/2.4/documentation/map-data.ymap-todo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
