Modding:Getting Started: Difference between revisions

From Vintage Story Wiki
(Written "Types of Mods" section)
 
(Added mod difference table)
Line 9: Line 9:
* [[Code Mod]]: A mod that contains code and/or modifies assets
* [[Code Mod]]: A mod that contains code and/or modifies assets


'''Content Mod''' represent "assets" folder contains '''textures''', '''sounds''', '''models''' and other '''JSON''' files, that's just a catch all for blocks, configs, dialogs, entities, items, journals, music, patches, recipes, shapes, worldgen, and world properties.
'''Content Mod''' represent /assets folder contains '''textures''', '''sounds''', '''models''' and other '''JSON''' files, that's just a catch all for blocks, configs, dialogs, entities, items, journals, music, patches, recipes, shapes, worldgen, and world properties.


'''Theme Pack''' is '''Content Mod''' but is allowed to use only "Affects Gameplay : false" [[Modding:The_Asset_System#Categories|assets]].
'''Theme Pack''' is '''Content Mod''' but is allowed to use only "Affects Gameplay : false" [[Modding:The_Asset_System#Categories|assets]].


'''Code mode''' is extended '''Content Mod''' that contains code written in '''C#''' that modifies the behavior of the game. These mods can also include all content allowed in a Content mod.
'''Code mode''' is extended '''Content Mod''' that contains code written in '''C#''' that modifies the behavior of the game. These mods can also include all content allowed in a Content mod.
{| class="wikitable" style="text-align:center;"
|-
! <!-- empty --> !! Not Gameplay Affected !! Gameplay Affected !! Can use C# code
|-
| style="background:#eaecf0;" | '''Theme Pack''' || style="background:#D9EAD3;" | + || style="background:#F4CCCC;" | - || style="background:#F4CCCC;" | -
|-
| style="background:#eaecf0;" | '''Content Mod''' || style="background:#D9EAD3;" | + || style="background:#D9EAD3;" | + || style="background:#F4CCCC;" | -
|-
| style="background:#eaecf0;" | '''Code mode''' || style="background:#D9EAD3;" | + || style="background:#D9EAD3;" | + || style="background:#D9EAD3;" | +
|}

Revision as of 16:14, 10 May 2020

Sapling-birch.png

This article is a stub.
This article does not contain as much information as we would like. If you wish to contribute, you can request wiki edit access on the forum or the Discord.


Types of Mods

There are 3 main types of modes one can create:

  • Theme Pack: A mod that only modifies textures and shapes
  • Content Mod: A mod that only modifies any game assets without programming
  • Code Mod: A mod that contains code and/or modifies assets

Content Mod represent /assets folder contains textures, sounds, models and other JSON files, that's just a catch all for blocks, configs, dialogs, entities, items, journals, music, patches, recipes, shapes, worldgen, and world properties.

Theme Pack is Content Mod but is allowed to use only "Affects Gameplay : false" assets.

Code mode is extended Content Mod that contains code written in C# that modifies the behavior of the game. These mods can also include all content allowed in a Content mod.

Not Gameplay Affected Gameplay Affected Can use C# code
Theme Pack + - -
Content Mod + + -
Code mode + + +