From 086a44d7031e29eef5ec4b6fa7af94e3569c8445 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 13 Jul 2024 10:39:08 +0300 Subject: [PATCH] add english version of resources.md --- doc/en/main-page.md | 2 ++ doc/en/resources.md | 22 ++++++++++++++++++++++ doc/ru/main-page.md | 2 ++ doc/ru/resources.md | 2 +- 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 doc/en/resources.md diff --git a/doc/en/main-page.md b/doc/en/main-page.md index 919f6a9b..193b4279 100644 --- a/doc/en/main-page.md +++ b/doc/en/main-page.md @@ -12,3 +12,5 @@ - [Scripting](scripting.md) - [Console](console.md) - [Block models](block-models.md) +- [Rigging](rigging.md) +- [Resources (resources.json)](resources.md) diff --git a/doc/en/resources.md b/doc/en/resources.md new file mode 100644 index 00000000..2643f6d7 --- /dev/null +++ b/doc/en/resources.md @@ -0,0 +1,22 @@ +# Resources + +Resources include: +- cameras +- effects slots +- framebuffers +- and other limited resources + +At the moment only **cameras** are implemented. + +The resources requested by the pack are specified through the *resources.json* file in the format: +```json +{ + "resource-type": [ + "resources", + "names" + ] +} +``` + +After loading the pack, resource names will have the pack prefix. For example camera +*cinematic* in the base package will be *base:cinematic*. diff --git a/doc/ru/main-page.md b/doc/ru/main-page.md index e33b25ae..c0f52e61 100644 --- a/doc/ru/main-page.md +++ b/doc/ru/main-page.md @@ -12,3 +12,5 @@ - [Скриптинг](scripting.md) - [Консоль](console.md) - [Модели блоков](block-models.md) +- [Риггинг](rigging.md) +- [Ресурсы (resources.json)](resources.md) diff --git a/doc/ru/resources.md b/doc/ru/resources.md index c689df54..e8ea1b93 100644 --- a/doc/ru/resources.md +++ b/doc/ru/resources.md @@ -18,5 +18,5 @@ } ``` -После загрузки пара имена ресурсов получат префикс пака. Например камера +После загрузки пака имена ресурсов получат префикс пака. Например камера *cinematic* в паке base получает имя *base:cinematic*.