From 2414032f4c2da40dd0fc4b0524dd69e40a68144e Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sun, 18 Apr 2021 17:40:41 -0700 Subject: [PATCH] Updated Custom campaigns (markdown) --- Custom-campaigns.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Custom-campaigns.md b/Custom-campaigns.md index ac4f925..178e965 100644 --- a/Custom-campaigns.md +++ b/Custom-campaigns.md @@ -18,6 +18,11 @@ This json file should contain a json object, with the following parameters : * `theater`: The map for the campaign (either: `Caucasus`, `Persian Gulf`, `Nevada`, `Normandy`, `Syria` or `The Channel`). * `authors`: The authors of the campaign that will be shown in the New Game wizard. * `description`: A description of the campaign that will be shown in the New Game wizard. +* `version`: The version of the campaign format this campaign was built for. This supports a UI hint in the new game wizard to warn users about campaigns that were built for an incompatible version of the game. + + Note that this field is **not** the DCS Liberation version, but the version of the campaign file format. The latest version is defined by `CAMPAIGN_FORMAT_VERSION` in [game/version.py](https://github.com/Khopa/dcs_liberation/blob/develop/game/version.py). + + If `version` is not set or is `0`, the campaign is from an unknown version of the game and will be marked as incompatible in the new game wizard. * `recommended_player_faction`: The recommended player faction (will be automatically selected by default on the faction selection page) * `recommended_enemy_faction`: The recommended enemy faction (will be automatically selected by default on the faction selection page) * `miz`: The name of the miz file (in the same `resources\campaigns` directory) that describes the campaign.