start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
start [2020/07/14 13:02] – maxime | start [2021/08/31 10:38] – [The mod.json file] maxime | ||
---|---|---|---|
Line 42: | Line 42: | ||
===== The mod.json file ===== | ===== The mod.json file ===== | ||
- | The json file is loaded early and give basic information on your mod, without having to load your LUA scripts: | + | The json file is loaded early and give basic information on your mod, without having to load your LUA scripts. |
- | < | + | |
+ | In addition, this file contains the list of your mod's custom maps and their info, if any. | ||
+ | |||
+ | < | ||
{ | { | ||
- | " | + | |
- | " | + | " |
- | " | + | " |
- | " | + | " |
+ | |||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
} | } | ||
</ | </ | ||
- | |||
===== The mod.lua script ===== | ===== The mod.lua script ===== | ||
First, you have to create your new mod instance: | First, you have to create your new mod instance: |
start.txt · Last modified: 2022/03/30 10:53 by maxime