> For the complete documentation index, see [llms.txt](https://book.denismakhortov.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.denismakhortov.com/ru/guides/map-editor/map-editor-loading-into-game.md).

# Загрузка в игру

После того, как вы создали карту, вам нужно ее переместить по опред. пути, чтобы загрузить ее. Всегда актуальный путь прописан в левом нижнем углу в редакторе сценариев.

На данный момент это:\
Android: Android/data/com.DenisMakhortov.ColdPath/files/\
Windows: D:/ (Внимание! На windows файл должен называть не exported\_map, а ColdPathexported\_map. Также и с файлом сценария. Не game\_data.json, а ColdPathgame\_data.json Пока не критично, но хорошо бы исправить и сделать автосоздание папки Cold Path при ее отсутствии)

Итак, вы создали карту, положили по нужному пути. Далее зайдите в игру. Новая игра - Карта - выберите Custom Map. У вас прогрузится карта, созданная вами. Сценарий, который там есть, - автоматически сгенерированный. В нем есть только одна страна. Этот сценарий нужен лишь для того, чтобы на его основе сделать свой. Поэтому далее нужно открыть Редактор сценариев, выбрать пользовательскую карту (Custom map), и создать свой сценарий для этой карты. Далее его нужно экспортировать (Export to JSON), потом подгрузить (Load scenario в Dev menu в настройках). Готово! Вы можете играть на своем сценарии на своей карте!

Как играть по сети? Пока нельзя. Нужно будет написать проверку на наличие карты у игроков, которые присоединяются + хорошо протестировать это. Пока отложу


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.denismakhortov.com/ru/guides/map-editor/map-editor-loading-into-game.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
