mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
docs
This commit is contained in:
parent
d2e24e01b4
commit
d7211859e9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user