Skip to content

Command : Create

UnShame edited this page Jul 22, 2018 · 5 revisions

Create a mod from template.

vmb create <mod_name> [-d <description>] [-t <title>] [-l <language>] 
                      [-v {private|public|friends}] [-c <content_folder>] 
                      [--tags "<tag1>; <tag2>;..."]
                      [--template <template_folder>]

Description

Copy the template from specified template folder (either in .vmbrc or via the --template parameter) to a new folder, upload a placeholder mod to the workshop (the item is private by default), add its item ID to itemV1.cfg or itemV2.cfg (depending on which game is specified in the .vmbrc or via -g parameter) in the new mod folder and open a browser window for you to subscribe to the mod. This is needed for the game to recognize the mod.
By default, the template is for VMF-dependent mods. To create a VMF-independent mod specify .template as the template. See Mod Templates.

Parameters

Upload params

--description <description> or -d <description> - workshop and in-game description of the mod.
--title <title> or -t <title> - readable title of the mod.
--language <language> or -l <language> - language of the mod.
--visibility {private|public|friends} or -v {private|public|friends} - visibility of the mod on the workshop.

  • private - visible to you and admins.
  • public - visible to everyone.
  • friends - visible to you, people from your friendlist and admins.

--content <content_folder> or -c <content_folder> - path to the content folder. Can be relative or absolute. When not absolute, it is relative to the mod's folder.
--tags "<tag1>; <tag2>;..." - workshop tags of your mod.

Template params

--template <template_folder> - which template folder to use. See Mod Templates.

Clone this wiki locally