Map Object Format
Description
Full object consists from 3 parts:
- Object group - set of objects that have similar behavior and share same identifier in H3 (towns, heroes, mines, etc)
- Object type - object with fixed behavior but without fixed appearance. Multiple objects types may share same group
- Object template - defines appearance of an object - image used to display it, its size & blockmap. These entries only describe templates that will be used when object is placed via map editor or generated by the game. When new object is created its starting appearance will be copied from template
Object group format
Object types
Moddable types
These are object types that are available for modding and have configurable properties
configurable
- see Rewardable. Visitable object which grants all kinds of rewards (gold, experience, Bonuses etc...)bank
- see Creature Bank. Object that grants award on defeating guardians. Deprectated in favor of Rewardabledwelling
- see Dwelling. Object that allows recruitments of units outside of townsmarket
- see Market. Trading resources, artifacts, creatures and suchboat
- see Boat. Object to move across different terrains, such as waterflaggable
- see Flaggable. Object that can be flagged by a player to provide Bonus or resourceshillFort
- TODO: documentation. See config files in vcmi installation for referenceshipyard
- TODO: documentation. See config files in vcmi installation for referenceterrain
- Defines terrain overlays such as magic grounds. TODO: documentation. See config files in vcmi installation for reference
Common types
These are types that don't have configurable properties, however it is possible to add additional map templates for this objects, for use in editor or in random maps generator
static
- Defines unpassable static map obstacles that can be used by RMGgeneric
- Defines empty object type that provides no functionality. Note that unlikestatic
, objects of this type are never used by RMGborderGate
borderGuard
magi
mine
obelisk
subterraneanGate
whirlpool
resource
denOfThieves
garrison
keymaster
pandora
prison
questGuard
seerHut
sign
siren
monolith
Internal types
These are internal types that are generally not available for modding and are handled by vcmi internally.
hero
town
monster
randomArtifact
randomHero
randomResource
randomTown
randomMonster
randomDwelling
artifact
event
heroPlaceholder