Modding:Theme Pack: Difference between revisions
mNo edit summary |
(Marked this version for translation) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/><translate> | <languages/><translate> | ||
{{GameVersion|1.19}} | <!--T:7--> | ||
{{GameVersion|1.19.8}} | |||
__TOC__ | __TOC__ | ||
Line 13: | Line 14: | ||
<!--T:4--> | <!--T:4--> | ||
Replacing game files is fairly easy, just create a directory names "assets" with a directory named "game" inside it, then copy replacements for any asset in the game's "assets" directory here. For example, to overwrite the texture for low fertility soil blocks (<code>assets/survival/textures/block/soil/fertlow.png</code>) you would place your replacement at <code>assets/game/textures/block/soil/fertlow.png</code> inside your zip file. Note that the original file is stored in the 'survival' folder, however the overwritten folder is stored within the 'game' folder. This is because all base-game blocks use the 'game' prefix in their ID. | Replacing game files is fairly easy, just create a directory names "assets" with a directory named "game" inside it, then copy replacements for any asset in the game's "assets" directory here. For example, to overwrite the texture for low fertility soil blocks (<code>assets/survival/textures/block/soil/fertlow.png</code>) you would place your replacement at <code>assets/game/textures/block/soil/fertlow.png</code> inside your zip file. Note that the original file is stored in the 'survival' folder, however the overwritten folder is stored within the 'game' folder. This is because all base-game blocks use the 'game' prefix in their ID. | ||
Check out [ | Check out [https://github.com/Nateonus/vsmodexamples/releases/tag/ThemePackExample an example theme pack] for a simple demo of overriding game assets. | ||
== Overriding Mod Files == <!--T: | == Overriding Mod Files == <!--T:8--> | ||
<!--T:5--> | <!--T:5--> | ||
Overriding assets from other mods is also possible, see | Overriding assets from other mods is also possible, see {{ll|The_Asset_System#Overwriting assets|the asset system}} page for more details. | ||
Line 24: | Line 25: | ||
{{Navbox/modding|Vintage Story}} | {{Navbox/modding|Vintage Story}} | ||
</translate> | </translate> | ||
[[Category:Modding{{#translation:}}]] | |||
[[Category:Modding:Basics{{#translation:}}]] | |||
[[Category:Modding:Content{{#translation:}}]] |
Latest revision as of 16:51, 21 November 2024
This page was last verified for Vintage Story version 1.19.8.
Theme Packs are mods that do not change the game mechanics, only visuals, sounds, etc. They are packed like any other mod, using the type "theme"
.
Due to the way they work, theme packs never add new content, only replace existing content. These mods only affect the player who has them installed (the client), not the server.
Overriding Game Files
Replacing game files is fairly easy, just create a directory names "assets" with a directory named "game" inside it, then copy replacements for any asset in the game's "assets" directory here. For example, to overwrite the texture for low fertility soil blocks (assets/survival/textures/block/soil/fertlow.png
) you would place your replacement at assets/game/textures/block/soil/fertlow.png
inside your zip file. Note that the original file is stored in the 'survival' folder, however the overwritten folder is stored within the 'game' folder. This is because all base-game blocks use the 'game' prefix in their ID.
Check out an example theme pack for a simple demo of overriding game assets.
Overriding Mod Files
Overriding assets from other mods is also possible, see the asset system page for more details.
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 • Entity Behaviors • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • Collectible 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 |