This wiki is archived from 2021-09-05

Template:Mod Packaging: Difference between revisions

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
Mod specific files must be saved under a unique path using lowercase names.
Mod specific files must be saved under a unique path using lowercase names.


eg ui/mods/com.palobby.some_mod_name/
eg ui/mods/com.palobby.some-mod-name/


With user interface modding the convention for filenames is based on the scene name.
With user interface modding the convention for filenames is based on the scene name.


eg ui/mods/com.palobby.some_mod_name/server_browser.js
eg ui/mods/com.palobby.some-mod-name/server_browser.js
 
Please make sure you only include mod files in your zip and exclude any files not required. eg src, artwork, etc

Latest revision as of 12:24, 17 April 2016

Mods are packaged as zip archives.

Every mod must have a modinfo.json at the top level.

Mod specific files must be saved under a unique path using lowercase names.

eg ui/mods/com.palobby.some-mod-name/

With user interface modding the convention for filenames is based on the scene name.

eg ui/mods/com.palobby.some-mod-name/server_browser.js

Please make sure you only include mod files in your zip and exclude any files not required. eg src, artwork, etc