Changes between Version 19 and Version 20 of Modding_Guide


Ignore:
Timestamp:
Dec 19, 2015, 9:30:14 AM (8 years ago)
Author:
leper
Comment:

Make the sample mod.json valid JSON.

Legend:

Unmodified
Added
Removed
Modified
  • Modding_Guide

    v19 v20  
    2929Or if you prefer, mods can be selected via command line arguments. You can run the game with the `-mod` option, like so:
    3030{{{
     31#!sh
    3132pyrogenesis.exe -mod=mymod -mod=anothermod ...
    3233}}}
     
    6970The following is a (nearly minimal) sample:
    7071{{{
     72#!js
    7173{
    72     name: "samplemod",
    73     version: "1.2.34",
    74     label: "Sample Mod",
    75     description: "This is an example discription",
    76     dependencies: ["0ad=0.0.19"]
     74    "name": "samplemod",
     75    "version": "1.2.34",
     76    "label": "Sample Mod",
     77    "description": "This is an example discription",
     78    "dependencies": ["0ad=0.0.19"]
    7779}
    7880}}}
     
    8991
    9092{{{
     93#!sh
    9194binaries/system/pyrogenesis -mod=mod -archivebuild=binaries/data/mods/mymod -archivebuild-output=mymod.zip -archivebuild-compress
    9295}}}