Changes between Version 4 and Version 5 of CreatingNewUnits


Ignore:
Timestamp:
Nov 30, 2014, 5:30:26 PM (9 years ago)
Author:
leper
Comment:

Include -mod=public so that you can actually play it (mod selector changes), and add some information about mod.json.

Legend:

Unmodified
Added
Removed
Modified
  • CreatingNewUnits

    v4 v5  
    2020[[Image(http://i.imgur.com/jUKk6Tl.png)]]
    2121
    22 Add “-mod=testmod” to the target and press OK.
     22Add '''-mod=public -mod=testmod''' to the target and press OK.
     23If you want to distribute your mod at a later point you should create a mod.json file in your mod folder. See [source:/ps/trunk/binaries/data/mods/public/mod.json the public mod's mod.json] for the syntax (changing `"dependencies": [],` to `"dependencies": ["0ad=0.0.17"],` changing the version number to whatever 0ad version you depend on). This will make your mod show up in the mod selection screen.
    2324
    2425Go back to the mods directory and create a folder called '''testmod'''.