File: Battlefield_Format.md

package info (click to toggle)
vcmi 1.6.5%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 32,060 kB
  • sloc: cpp: 238,971; python: 265; sh: 224; xml: 157; ansic: 78; objc: 61; makefile: 49
file content (25 lines) | stat: -rw-r--r-- 795 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Battlefield Format

```json
	// Human-readable name of the battlefield
	"name" : "",
	
	// If set to true, obstacles will be taken from "specialBattlefields" property of an obstacle
	// If set to false, obstacles will be taken from "allowedTerrains" instead
	"isSpecial" : false,
	
	// List of bonuses that will affect all battles on this battlefield
	"bonuses" : { BONUS_FORMAT },
	
	// Background image for this battlefield
	"graphics" : "",
	
	// Optional, filename for custom music to play during combat on this terrain
	"music" : "",
	
	// Optional, filename for custom sound to play during combat opening on this terrain
	"openingSound" : "",
	
	// List of battle hexes that will be always blocked on this battlefield (e.g. ship to ship battles)
	"impassableHexes" : [ 10, 20, 50 ],
```