Modding:Basic Item/ru: Difference between revisions

From Vintage Story Wiki
Created page with "== Рабочее пространство == Сначала создайте папку для размещения файлов мода, которая станет ваш..."
(Created page with "== Простой предмет == Первое, что нам нужно, это идея. Что нужно этой игре? Подождите! Я понял ... игр...")
(Created page with "== Рабочее пространство == Сначала создайте папку для размещения файлов мода, которая станет ваш...")
Line 5: Line 5:
Первое, что нам нужно, это идея. Что нужно этой игре? Подождите! Я понял ... игре нужна крутая палочка. Давайте назовем этот мод '''BasicItem''', потому что это руководство по созданию предметов, и мы делаем палочку.
Первое, что нам нужно, это идея. Что нужно этой игре? Подождите! Я понял ... игре нужна крутая палочка. Давайте назовем этот мод '''BasicItem''', потому что это руководство по созданию предметов, и мы делаем палочку.


== Workspace ==
== Рабочее пространство ==
First create a folder to put the mod files in, which will become your '''workspace''' where we will create the mod itself. We will have to add several folders inside the main folder to keep our files organized. The Vintage Story mod loader requires some files to be placed in specific folders so the loader can find what it needs to load. For this mod, everything will go in our namespaced assets folder. For us, this folder is <code>assets/basicwand/</code>. ''Note'': the namespace does not need to be the same as the name of the mod.
Сначала создайте папку для размещения файлов мода, которая станет вашим рабочим пространством, где мы создадим сам мод. Нам придется добавить несколько папок в основную папку, чтобы сохранить наши файлы организованными. Мод-загрузчик Vintage Story требует, чтобы некоторые файлы были помещены в определенные папки, чтобы загрузчик мог найти то, что ему нужно для загрузки. Для этого мода все будет идти в нашей папке ресурсов пространства имен. Для нас эта папка является <code>assets/basicwand/</code>. ''Примичание'': пространство имен не обязательно должно совпадать с именем мода.


All mods that add content must be in the <assets folder> and their own namespace directory. The namespace, for us is <code>basicwand</code>. This convention prevents multiple mods that use the same item code from causing issues. For example, if you enable extended debug info with the command <code>.edi</code>, you may notice that all the items in the game are prefixed with <code>game:</code>, which is the namespace for all the vanilla content.
All mods that add content must be in the <assets folder> and their own namespace directory. The namespace, for us is <code>basicwand</code>. This convention prevents multiple mods that use the same item code from causing issues. For example, if you enable extended debug info with the command <code>.edi</code>, you may notice that all the items in the game are prefixed with <code>game:</code>, which is the namespace for all the vanilla content.