Modding:Getting Started/ru: Difference between revisions

From Vintage Story Wiki
(Created page with "== Типы модов ==")
(Created page with "В целом существует 3 основных типа модов, которые можно создать для Vintage Story, каждый из которых им...")
Line 19: Line 19:
== Типы модов ==
== Типы модов ==


In general there are 3 main types of mods one can create for Vintage Story, with each having different levels of complexity:
В целом существует 3 основных типа модов, которые можно создать для Vintage Story, каждый из которых имеет разные уровни сложности:


* [[Modding:Theme Packs | Theme Packs]]: These are mods that only affect visuals and don't add more content or change features significantly.
* [[Modding:Theme Packs | Theme Packs]]: These are mods that only affect visuals and don't add more content or change features significantly.

Revision as of 06:58, 21 February 2022

Other languages:

Эта страница проверялась в последний раз для версии Vintage Story 1.15.


В Vintage Story встроена обширная система моддинга, позволяющая любому пользователю вносить свои изменения и дополнения по своему усмотрению.

Обзор системы моддинга и философии игры см. на странице [1] на веб-сайте Vintage Story.

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

Какие моды я могу сделать?

Нынешняя система моддинга для Vintage Story невероятно гибкая и довольно простая в использовании, даже если вы не знаете, как программировать. Вы можете добавлять в игру полнофункциональные блоки, предметы и даже сущности, даже не открывая IDE. Хотя рекомендуется научиться использовать её, если вы планируете много модифицировать в будущем, так как она очень удобна.

Это связано с тем, что почти каждая функция игры основана на использовании «JSON», которые представляют собой текстовые документы, использующие гибкий, удобный для чтения формат. Вы можете открыть эти файлы в любом текстовом редакторе, и, немного потренировавшись, вы научитесь форматировать их, чтобы избежать ошибок. Лучший способ узнать это — изучить существующие файлы JSON, которые видны всем, у кого установлена игра. Для этого вам нужно найти папку Vintage Story Assets, о которой вы можете узнать на странице Страница системы ассетов.

Если вы хотите добавить более сложные системы в Vintage story, вы также можете это сделать, но, скорее всего, вы не сможете сделать это только с помощью JSON. Vintage Story написана на C#, и настоятельно рекомендуется изучить основы программирования и C# в целом, прежде чем переходить к более сложным модификациям, которые невозможно реализовать только с помощью JSON.

Типы модов

В целом существует 3 основных типа модов, которые можно создать для Vintage Story, каждый из которых имеет разные уровни сложности:

  • Theme Packs: These are mods that only affect visuals and don't add more content or change features significantly.
  • Content Mods: These are mods that add additional content (i.e. blocks, items, mobs) to the game but don't utilize C# code and are mostly limited to JSONs.
  • Code Mods: These are mods that add more complex features and systems that require the use of C# code to accomplish.

Moving Forward

If you're just starting out it is certainly best to begin with a content mod, as most code mods simply extend the features of blocks, items and entities made from a content mod anyway. Once you've mastered content mods you can move onto coding if you want to add some really special things to your Vintage Story experience.

More advanced programmers may be tempted to jump to code mods immediately, but it is still highly suggested you familiarize yourself with content mods first since you'll almost certainly be using them in tandem with any C# code you write.

The first thing you can do while starting your first content mod is to familiarize yourself with the Asset System. This is where most of the magic in Vintage Story is accomplished, and you'll be using these resources constantly while modding.

Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Пакет тем
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository