Workshop

From Empires Wiki
Revision as of 12:09, 4 March 2017 by Thexa4 (talk | contribs) (Created page with "To add something to the workshop, do the following: # Create the folder workshopsrc in the empires folder. # Create a folder with the name of your workshop item in there. Exa...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To add something to the workshop, do the following:

  1. Create the folder workshopsrc in the empires folder.
  2. Create a folder with the name of your workshop item in there. Example: emp_coast
  3. In that folder, create a vpk with your mod contents. (See https://developer.valvesoftware.com/wiki/Vpk for more information)
  4. Create a package.txt file in that folder. For an example of the contents, look below.
  5. Create a PNG image in the workshopsrc folder with the same name as your workshop item. (emp_coast.png)
  6. Open Empires
  7. Open the console
  8. Type workshop_upload emp_coast (replace emp_coast with the name of your workshop item)
  9. The workshop webpage should now open
  10. Subscribe to your own workshop item
  11. Test out the workshop item
  12. If everything works, set the visibility to public.

package.txt

This file controls how the workshop item should be treated.

Example

Package
{
	Name	"emp_coast"
	Author	"Thexa4"
	
	Type	"Map"
	SearchPaths
	{
		game	emp_coast.vpk
	}
}

Fields

  • Name The name of the workshop item
  • Author Who made this workshop item originaly?
  • Type The type of workshop item. Should be one of the following:
    • Map
    • Scripts
    • Modelpack
    • Texturepack
    • Soundpack
    • Plugin
  • GameOverride If set to 1, load the files in this item before normal game files. This can only be set by developers, if you need this for your mod, please post on the forums.
  • SearchPaths A set of searchpaths for files in the item. Normally:
    • game	<name>.vpk