Modding:Asset Type - Patches: Difference between revisions
From Vintage Story Wiki
mNo edit summary |
(Marked this version for translation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
== Usage == | == Usage == <!--T:1--> | ||
'''Patch''' assets are used to change specific parts of other JSON assets. They can be used for changing base game assets, or used for mod compatibility. Patch assets are written in JSON. | '''Patch''' assets are used to change specific parts of other JSON assets. They can be used for changing base game assets, or used for mod compatibility. Patch assets are written in JSON. | ||
=== Asset Location === | === Asset Location === <!--T:2--> | ||
New patch assets can be made by creating new JSON files in a folder called 'patches' in your mod's domain. | New patch assets can be made by creating new JSON files in a folder called '''patches''<nowiki/>' in your mod's domain. | ||
=== Notes === | === Notes === <!--T:3--> | ||
Although patches are written in JSON, it is recommended to use the in-built mod maker program to generate them. | Although patches are written in JSON, it is recommended to use the in-built mod maker program to generate them. | ||
== See Also == | == See Also == <!--T:4--> | ||
<!--T:5--> | |||
* [https://github.com/anegostudios/vsessentialsmod/blob/master/Loading/JsonPatchLoader.cs#L41 JsonPatch on GitHub] | * [https://github.com/anegostudios/vsessentialsmod/blob/master/Loading/JsonPatchLoader.cs#L41 JsonPatch on GitHub] | ||
* {{ll|Modding:JSON Patching|JSON Patching}} | * {{ll|Modding:JSON Patching|JSON Patching}} |
Latest revision as of 12:39, 19 July 2024
Usage
Patch assets are used to change specific parts of other JSON assets. They can be used for changing base game assets, or used for mod compatibility. Patch assets are written in JSON.
Asset Location
New patch assets can be made by creating new JSON files in a folder called 'patches' in your mod's domain.
Notes
Although patches are written in JSON, it is recommended to use the in-built mod maker program to generate them.
See Also
Content Modding | |||||||||
---|---|---|---|---|---|---|---|---|---|
Basics | Content Mods • Developing a Content Mod • Packaging & Release | ||||||||
Tutorials |
|
||||||||
Concepts | Modding Concepts • Modinfo • Variants • Domains • Patching • Remapping • World Properties | ||||||||
Moddable Assets |
|
||||||||
Uncategorized |
|
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 | Item • Entity • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |