Skip to content

Mod Templates

UnShame edited this page Jul 22, 2018 · 1 revision

When creating a mod, a template folder will be copied to act as a boilerplate for your mod. You can customize this template or create your own.

  • The template folder is determined by template_dir in .vmbrc. This path can be relative or absolute. If not absolute, it will be relative to the directory of the executable.
  • Certain strings will be replaced with their corresponding values when creating a new mod. These are %%name, %%title and %%description for content of files and %%name for names of files and folders.
  • Files which should be excluded from such alteration can be specified in template_core_files. They will simply be copied over.

Every template must have item_preview.jpg in it as that is used for the mod preview picture. If you want to change the name or the format of this file, specify it in .vmbrc -> template_preview_image.

Clone this wiki locally