mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-04 22:14:25 +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
|
```js
|
||||||
{
|
{
|
||||||
|
"background": "own_region_background.bmp",
|
||||||
|
"suffix": ["Enabled", "Selected", "Conquered"],
|
||||||
"prefix": "G3",
|
"prefix": "G3",
|
||||||
"color_suffix_length": 1,
|
"color_suffix_length": 1,
|
||||||
"desc": [
|
"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`
|
- `"background"` optional - use own image name for background instead of adding "_BG" to the prefix as name
|
||||||
- `"inflix"` ised to identify all images related to region. In this example, it will be pictures starting from `G3A_..., G3B_..., G3C_..."`
|
- `"prefix"` used to identify all images related to campaign. In this example (if background parameter wouldn't exists), background picture will be `G3_BG`
|
||||||
- `"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`
|
- `"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
|
## Packing campaign
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user