Modding:Theme Pack: Difference between revisions

From Vintage Story Wiki
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 [[Media:ExampleTexPack.zip|the example theme pack]] for a simple demo of overriding game assets.
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:3-->
== Overriding Mod Files == <!--T:8-->


<!--T:5-->
<!--T:5-->
Overriding assets from other mods is also possible, see [[The_Asset_System#Overwriting assets|the asset system]] page for more details.  
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

Other languages:

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.


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 ItemEntityEntity BehaviorsBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsCollectible 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