Laserlicht 1 år sedan
förälder
incheckning
d7211859e9
1 ändrade filer med 7 tillägg och 3 borttagningar
  1. 7 3
      docs/modders/Campaign_Format.md

+ 7 - 3
docs/modders/Campaign_Format.md

@@ -182,6 +182,8 @@ Predefined campaign regions are located in file `campaign_regions.json`
 
 ```js
 {
+    "background": "own_region_background.bmp",
+		"suffix": ["Enabled", "Selected", "Conquered"],
     "prefix": "G3",
     "color_suffix_length": 1,
     "desc": [
@@ -192,9 +194,11 @@ Predefined campaign regions are located in file `campaign_regions.json`
 },
 ```
 
-- `"prefix"` used to identify all images related to campaign. In this example, background picture will be `G3_BG`
-- `"inflix"` ised to identify all images related to region. In this example, it will be pictures starting from `G3A_..., G3B_..., G3C_..."` 
-- `"color_suffix_length"` identifies suffix length for region colourful frames. 1 is used for `R, B, N, G, O, V, T, P`, value 2 is used for `Re, Bl, Br, Gr, Or, Vi, Te, Pi`
+- `"background"` optional - use own image name for background instead of adding "_BG" to the prefix as name
+- `"prefix"` used to identify all images related to campaign. In this example (if background parameter wouldn't exists), background picture will be `G3_BG`
+- `"suffix"` optional - use other suffixes than the default `En`, `Se` and `Co` for the three different images
+- `"infix"` ised to identify all images related to region. In this example, it will be pictures starting from `G3A_..., G3B_..., G3C_..."` 
+- `"color_suffix_length"` identifies suffix length for region colourful frames. 0 is no color suffix (no colorisation), 1 is used for `R, B, N, G, O, V, T, P`, value 2 is used for `Re, Bl, Br, Gr, Or, Vi, Te, Pi`
 
 ## Packing campaign