Modding:Content Mods: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
m (Small changes for readibility.)
Line 14: Line 14:


=== Adding Content === <!--T:11-->
=== Adding Content === <!--T:11-->
Adding content to Vintage Story is easy, and nearly all of the game's assets are built using the modding system. By navigating the [[Modding:Asset System|Asset System]] for the game, you can see thousands of examples that can be edited and expanded upon. New blocks, items, entities and more can be added by simply creating new files based on these existing JSON files.  
Nearly all of Vintage Story's assets are created in JSON files, and this is identical to how modders can add new content. By navigating the [[Modding:Asset System|Asset System]] for the game, you can see thousands of in-game examples that can be edited and expanded upon. New blocks, items, entities and more can be added by simply creating new files based on these existing JSON files.  


=== Modifying Game Content === <!--T:12-->
=== Modifying Game Content === <!--T:12-->
Although content can be modified by overwriting entire JSON files, it is highly recommended to use the patching system that is built in to the game. For an extensive look on how to do this, see the [[Modding:JSON Patching|JSON Patching]] modding page.  
To allow modders to make small modifications to existing JSON files, Vintage Story uses a detailed patching system that is built in to the game. For an extensive look on how to make small changes and patch files, see the [[Modding:JSON Patching|JSON Patching]] modding page.  


== First Steps == <!--T:13-->
== First Steps == <!--T:13-->


=== Create your own Content Mod === <!--T:14-->
=== Creating your own Content Mod === <!--T:14-->
For a content mod to work, it needs to be set up correctly. See [[Modding:Developing a Content Mod|Developing a Content Mod]] for information on how to create, navigate, and update a content mod.
For a content mod to work, it needs to be set up correctly. See [[Modding:Developing a Content Mod|Developing a Content Mod]] for information on how to create, navigate, and update a content mod.


Line 28: Line 28:


<!--T:6-->
<!--T:6-->
In the '''Modding''' navigation box below, any non-highlighted links do not require C# code to achieve. Content mods can be quite complex at times, so it is recommended to start with one of the above tutorials.
In the '''Modding''' navigation box below, any non-highlighted pages do not require knowledge of C# code. Some content mods can be quite complex at times, so it is recommended to start with one of the above tutorials.


<!--T:16-->
<!--T:16-->
{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
</translate>
</translate>

Revision as of 15:42, 22 March 2024

Other languages:
  • English

This page was last verified for Vintage Story version 1.19.4.

Content Mods are mods that add or change existing JSON assets within the game, using the type "content".

Content Mod Usage

As stated in Getting Started, Vintage Story contains an extensive system to add and modify game content by just using JSON files.

If you plan on modifying game content, it is recommended to backup your assets folder before beginning.

Adding Content

Nearly all of Vintage Story's assets are created in JSON files, and this is identical to how modders can add new content. By navigating the Asset System for the game, you can see thousands of in-game examples that can be edited and expanded upon. New blocks, items, entities and more can be added by simply creating new files based on these existing JSON files.

Modifying Game Content

To allow modders to make small modifications to existing JSON files, Vintage Story uses a detailed patching system that is built in to the game. For an extensive look on how to make small changes and patch files, see the JSON Patching modding page.

First Steps

Creating your own Content Mod

For a content mod to work, it needs to be set up correctly. See Developing a Content Mod for information on how to create, navigate, and update a content mod.

Following the Wiki Tutorials

When you are familiar with how to create a content mod, consider taking a look at the basic tutorials. You can create a Basic Block, Basic Item, Recipes, and many more.

In the Modding navigation box below, any non-highlighted pages do not require knowledge of C# code. Some content mods can be quite complex at times, so it is recommended to start with one of the above tutorials.

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 Theme Pack
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