Changes between Version 19 and Version 20 of Modding_Guide
- Timestamp:
- Dec 19, 2015, 9:30:14 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Modding_Guide
v19 v20 29 29 Or if you prefer, mods can be selected via command line arguments. You can run the game with the `-mod` option, like so: 30 30 {{{ 31 #!sh 31 32 pyrogenesis.exe -mod=mymod -mod=anothermod ... 32 33 }}} … … 69 70 The following is a (nearly minimal) sample: 70 71 {{{ 72 #!js 71 73 { 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"] 77 79 } 78 80 }}} … … 89 91 90 92 {{{ 93 #!sh 91 94 binaries/system/pyrogenesis -mod=mod -archivebuild=binaries/data/mods/mymod -archivebuild-output=mymod.zip -archivebuild-compress 92 95 }}}