Modding:Asset System: Difference between revisions

From Vintage Story Wiki
Wiped redundant "Overwriting assets" heading.
No edit summary
(Wiped redundant "Overwriting assets" heading.)
Line 235: Line 235:


To overwrite the bed blocktype you can put your own json flie inside your mod zip archive with the following path: <code>assets/game/blocktypes/bed.json</code>. So Vintagestory will load your json file instead of the original one.
To overwrite the bed blocktype you can put your own json flie inside your mod zip archive with the following path: <code>assets/game/blocktypes/bed.json</code>. So Vintagestory will load your json file instead of the original one.
Theme packs can only override assets that do not effect game mechanics, the other mod types can override any asset.


= Themepacks =
= Themepacks =


You can install a themepack by copying the file into the Themepacks directory inside your [[Vintagestory folder]].
You can install a themepack by copying the file into the Themepacks directory inside your [[Vintagestory folder]].
== Overwriting assets ==
Themepacks have the same structure as mods. They can overwrite assets of any domain. However they cannot use categories which affect gameplay. Meaning a themepack can overwrite textures, but not blocktypes for example.


{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
94

edits