Object instance format
From VCMI Project Wiki
Contents
- 1 Base formats
- 2 OH3 objects
- 2.1 Abandoned mine
- 2.2 Artifact
- 2.3 Creature generator
- 2.4 Garrison
- 2.5 Grail
- 2.6 Hero
- 2.7 Event
- 2.8 Mine
- 2.9 Monster
- 2.10 Ocean bottle
- 2.11 Pandoras box
- 2.12 Quest guard
- 2.13 Random dwelling
- 2.14 Resource
- 2.15 Scholar
- 2.16 Seer hut
- 2.17 Shipyard
- 2.18 Shrine of magic
- 2.19 Spell scroll
- 2.20 Town
- 2.21 Witch hut
Base formats
Owner format
All ownable objects
{
//mandatory
"owner": "red"
}
Stack instance format
{
"creCount" : 1,
"creID" : "skeleton",
//optional default false only make sense fro monsters
"randomCount" : false
}
OH3 objects
Abandoned mine
[Todo]
Artifact
[Todo]
Creature generator
[Todo]
Garrison
[Todo]
Grail
[Todo]
Hero
[Todo]
Event
[Todo]
Mine
[Todo]
Monster
- since 1.0
- editor support [Done]
- engine support [Todo]
{
//mandatory
"character" : 2,
//required if randomCount is false
"count" : 19,
//optional, default false
"noGrowing" : true
//optional, default false
"neverFlees" : false,
//optional, default false
"randomCount" : false,
//optional, artifact id
"rewardArtifact" : "",
//optional,
"rewardMessage" : "",
//all fields optional
"rewardResources" : {
"crystal" : 0,
"gems" : 0,
"gold" : 0,
"mercury" : 0,
"mithril" : 0,
"ore" : 0,
"sulfur" : 0,
"wood" : 0
}
}
Ocean bottle
[Todo]
Pandoras box
[Todo]
Quest guard
[Todo]
Random dwelling
[Todo]
Resource
[Todo]
Scholar
[Todo]
Seer hut
[Todo]
Shipyard
[Todo]
Shrine of magic
[Todo]
Spell scroll
[Todo]
Town
[Todo]
Witch hut
[Todo]