HELLO X4 - ОСНОВА МОДА / STARTER MOD
X4: Foundations 9.00+
https://x4wiki.com/pages/first-extension

РУССКИЙ

1. Распакуйте архив. Переместите папку hello_x4 в папку extensions
   выбранной установки X4. Итог: extensions/hello_x4/content.xml.
   Не создавайте лишний уровень hello_x4/hello_x4.
2. В content.xml уже заданы ID hello_x4, имя Hello X4 и версия 100 (1.00).
   Перед созданием собственного мода замените id, name, author и description.
   Используйте уникальные имена папки, MD-файла и mdscript name;
   при переименовании HelloX4.xml обновите name="HelloX4" внутри файла.
3. Включите расширение в меню игры и перезапустите X4, если потребуется.
   Для проверки используйте отдельный тестовый профиль и новую игру.
4. Включите журнал по инструкции https://x4wiki.com/pages/debugging.
   Учебный cue должен записать Hello, X4! в отладочный журнал.
   На экран сообщение не выводится. Завершённый cue сохраняет состояние;
   загрузка существующего сохранения не обязана повторять сообщение.

В архиве:
content.xml       - настроенный манифест, минимальная версия игры 9.00;
md/HelloX4.xml    - самостоятельный пример Mission Director;
aiscripts/       - место для будущих сценариев AI;
assets/          - место для моделей, компонентов и макросов;
index/           - место для индексов ресурсов, когда они понадобятся;
libraries/       - место для игровых таблиц и их XML diff-патчей;
t/               - место для текстов и переводов;
ui/              - место для будущего интерфейса Lua.

Пустые папки являются заготовками. Они сами не добавляют контент.
Для собственного UI понадобятся отдельное подключение и настройка;
пустая папка ui не запускает Lua. Ненужные папки можно удалить.
Новые XML-файлы создавайте с корректными корневыми элементами,
не добавляйте пустые XML-заглушки. Не устанавливайте две копии с одним ID.

Это самостоятельный учебный пример. Архив и XML проверены автоматически;
отдельный запуск данного примера в игре не заявляется.

ENGLISH

1. Extract the archive. Move hello_x4 into the extensions folder of your
   chosen X4 installation: extensions/hello_x4/content.xml.
   Avoid an extra hello_x4/hello_x4 folder level.
2. content.xml already sets ID hello_x4, name Hello X4 and version 100 (1.00).
   Before making your own mod, change id, name, author and description.
   Use unique folder, MD file and mdscript names. When renaming HelloX4.xml,
   also change name="HelloX4" inside it.
3. Enable the extension in the game menu and restart X4 if required.
   Use a separate test profile and a new game for verification.
4. Enable logging: https://x4wiki.com/en/pages/debugging.
   The learning cue is intended to write Hello, X4! to the debug log.
   It does not display an on-screen message. Completed cue state is saved;
   loading an existing save does not necessarily repeat the message.

Contents:
content.xml       - configured manifest, minimum game version 9.00;
md/HelloX4.xml    - independently authored Mission Director example;
aiscripts/       - future AI scripts;
assets/          - models, components and macros;
index/           - resource indexes when needed;
libraries/       - game tables and their XML diff patches;
t/               - text and translations;
ui/              - future Lua interface files.

Empty folders are placeholders and add no content by themselves.
A custom UI requires its own registration and configuration; an empty ui
folder does not run Lua. Remove folders you do not need. Create new XML
with the correct root elements instead of empty XML placeholder files.
Do not install multiple copies with the same extension ID.

This is an independent learning example. The archive and XML are checked
automatically; a separate in-game run of this example is not claimed.
https://x4wiki.com/en/pages/first-extension
