Modding:Theme Pack: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
mNo edit summary
Line 1: Line 1:
<languages/><translate>
<languages/><translate>
{{GameVersion|1.19}}
__TOC__
<!--T:1-->
<!--T:1-->
'''Theme Packs''' are mods that do not change the game mechanics, only visuals, sounds, etc. They are [[Mod_Packaging|packed like any other mod]], using the type <code>"theme"</code>.
'''Theme Packs''' are mods that do not change the game mechanics, only visuals, sounds, etc. They are [[Mod_Packaging|packed like any other mod]], using the type <code>"theme"</code>.


<!--T:2-->
<!--T:2-->
Due to the way they work, theme packs never add new content, only replace existing content.
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 Files == <!--T:3-->
== Overriding Game Files == <!--T:3-->


<!--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/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.
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.
 
== Overriding Mod Files == <!--T:3-->


<!--T:5-->
<!--T:5-->