Map Editor: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
 
(30 intermediate revisions by 3 users not shown)
Line 4: Line 4:
[[File:Map editor icon.png|left|Base Homm3 Map Editor]]
[[File:Map editor icon.png|left|Base Homm3 Map Editor]]
[[File:Map editor icon (HotA).png|left|Updated HotA Map Editor]]
[[File:Map editor icon (HotA).png|left|Updated HotA Map Editor]]
Each expansion updated the map editor, adding new [[List_of_adventure_map_objects (HotA)|Adventure map objects]] and features; as a result, only maps with the same or older version than the one usWed by the editor itself can be created or altered.  
Each expansion updated the map editor, adding new [[List_of_adventure_map_objects|Adventure map objects]] and features; as a result, only maps with the same or older version than the one used by the editor itself can be created or altered.  


All changes made to a map using a more updated map editor than the one the map was originally made with will automatically update the map to the newer version.  
All changes made to a map using a more updated map editor than the one the map was originally made with will automatically update the map to the newer version.  


The Hota Map Editor {{withmapedhota}} is the most recently updated version of the editor.<sup>{{unk}}</sup>
The {{hota}} Map Editor {{withmapedhota}} is the most recently updated version of the editor.


= Layout =
= Layout =
Line 41: Line 41:
: * Yellow: These tiles are a part of objects and may be visited. Usually, they should be accessible. If they are surrounded by impassable tiles, they will be unreachable to heroes.  
: * Yellow: These tiles are a part of objects and may be visited. Usually, they should be accessible. If they are surrounded by impassable tiles, they will be unreachable to heroes.  
: * Not-colour: These tiles are passable, but not interactable.  
: * Not-colour: These tiles are passable, but not interactable.  
: Note, that the exact passage to each object can be found by following the arrow-icons on the appropriate [[List of adventure map objects (HotA)|object's wiki entry]]. All monsters cover one tile and guard all tiles around them, except for land tiles by monsters placed on water and vice versa.  
: Note, that the exact passage to each object can be found by following the arrow-icons on the appropriate [[List of adventure map objects|object's wiki entry]]. All monsters cover one tile and guard all tiles around them, except for land tiles by monsters placed on water and vice versa.  
* View -> ''Object animation'' (Ctrl + A) can be used to switch on or off the animation of all objects on the currently edited map. It is advised to turn off the animation when using slower devices.  
* View -> ''Object animation'' (Ctrl + A) can be used to switch on or off the animation of all objects on the currently edited map. It is advised to turn off the animation when using slower devices.  
* View -> ''Terrain animation'' (Ctrl + T) can be used to switch on or off the animation of the terrain, particularly the water, on the currently edited map. It is advised to turn off the animation when using slower devices.  
* View -> ''Terrain animation'' (Ctrl + T) can be used to switch on or off the animation of the terrain, particularly the water, on the currently edited map. It is advised to turn off the animation when using slower devices.  
Line 54: Line 54:
* Tools -> ''Validate Map'' (or pressing M {{withmapedhota}}) can be used to find errors or issues in the map. Note that maps may work without fixing some of the issues. Possible issues include, among others, lack of players, inaccessible visitable cells, lack of customization in the Map Specifications (particularly the title, description and the players), presence of [[Border Guard]]s without their appropriate [[Keymaster's Tent]]s and vice versa, presence of unconnected [[Monolith]]s or [[Subterranean Gate]]s and presence of [[Subterranean Gate]]s without the underground layer. Note that some issues will ''not'' be pointed by this tool, for example presence of Airships on Water, not next to shore (where they cannot be accessed).  
* Tools -> ''Validate Map'' (or pressing M {{withmapedhota}}) can be used to find errors or issues in the map. Note that maps may work without fixing some of the issues. Possible issues include, among others, lack of players, inaccessible visitable cells, lack of customization in the Map Specifications (particularly the title, description and the players), presence of [[Border Guard]]s without their appropriate [[Keymaster's Tent]]s and vice versa, presence of unconnected [[Monolith]]s or [[Subterranean Gate]]s and presence of [[Subterranean Gate]]s without the underground layer. Note that some issues will ''not'' be pointed by this tool, for example presence of Airships on Water, not next to shore (where they cannot be accessed).  
{{clear|both}}
{{clear|both}}
* Tools -> ''Options'' can be used to customize the following Map Editor features:
** "Frequency of decorative terrain tiles" (they will automatically appear whenever a new terrain patch is placed),
** "Repaint entire map with this setting" may be used to "beautify" the map with decorative terrain tiles.
** "AutoSave options" (whether it's unabled and how often should the map AutoSave),
** Object panel size (in the number of objects per line and the size of each object, respectively).
==Player==
==Player==
<span style='float:right;'>
<span style='float:right;'>
[[File:Help maped.png|Help]]
[[File:Player maped.png|200px|Player]]
[[File:Player maped.png|200px|Player]]
</span>
</span>
Line 63: Line 68:
{{clear|both}}
{{clear|both}}
==Help==
==Help==
* Help. Seemingly, help does not work, except for the "About Map Editor" tab. <sup>{{unk}}</sup>
<span style='float:right;'>
[[File:Help maped.png|Help]]
</span>
* Help. Seemingly, help does not work, except for the "About Map Editor" tab.  


{{clear|both}}
{{clear|both}}
= Tools =
= Tools =
All of the following tools can be accessed via Tools ->, as well as by pressing their appropriate icons on the Mode bar. Their variations appear on the Object bar, replacing usual objects.  
All of the following tools can be accessed via Tools ->, as well as by pressing their appropriate icons on the Mode bar. Their variations appear on the Object bar, replacing usual objects.  
Line 131: Line 140:


{{clear|both}}
{{clear|both}}
= Objects =
[[File:Tools objects maped.png|thumb|x200px|Tools -> Objects menu]]
Objects appropriate for each Terrain can be found in Tools -> Objects, on the Mode bar, as well as by pressing pressing a key from Q to A {{withmapedhota}}, depending on the placement of the Object Terrain type on the Mode bar:
* Q: Dirt objects
* W: Sand objects
* E: Grass objects
* R: Snow objects
* T: Swamp objects
* Y: Rough objects
* U: Subterranean objects
* I: Lava objects
* O: Highland objects
* P: Wasteland objects
* [: Water objects
* ]: Miscellaneous decorations
* A: Miscellaneous active objects
* {{unk}}


Note, that without Hota, the order ignores the Highland and Wasteland objects, as well as Miscellaneous decorations and active objects, instead placing "All-Terrain Objects" at the end {{withmaped}}.
== Objects ==


Objects appear on the Object Bar on the right and can be scroled through using the slider on the right (or with the mouse scroll {{withmapedhota}}). Pressing right-click on an object on the Object bar shows its description and default effect.  
See: [[Map Editor - Objects]].  


Opening an object on the wiki will show 4 types of cells on it or around it:
== Map Specifications ==
* Red cells: These cells are part of the object and are not passable. Heroes cannot move onto them. Identical cells appear around the object when using the View -> Passability option.
Map Specifications, accessible through Tools ->, as well as by pressing Ctrl+Enter, consist of various customizable map rules.  
* Yellow cells: These cells are part of the object and may be visited. If there is more than one yellow cell in an object (f.e. [[Magic Spring]]), usually, a hero can move from one of the yellow cells to another. Identical cells appear on  the object when using the Passability option. <sup>{{unk}}</sup>
* Arrowed cells: These cells show where a hero must stand to visit this object, and which cell they can enter. 
* Empty cells: These cells are neither a part of the object, nor can the object be visited from them.  


{{clear|both}}
=== General ===  
== Object Properties ==
Object Properties can be accessed by pressing Enter once an object was chosen, by clicking on an object with the left mouse button twice (double-clicking) or by selecting an object and pressing "Properties" icon on the Toolbar (portraying a hand holding a piece of paper). The object properties can be used to modify the object. If an object or some of its properties remain unaltered, the object will have either the default property or a randomly chosen one, depending on the object. Randomly chosen properties will change every time the scenario is start (or restarted).


{{clear|both}}
The general map specifications specify:
== All-Terrain Objects ==
* Map version. Note, that Map Editors cannot recognize other map versions than those they can save as; as a result, [[SoD]] Map Editor {{withmaped}} will only recognize [[RoE]]{{-wr}}, [[AB]]{{-wa}} and [[SoD]]{{-ws}} map versions. The [[HotA]] Map Editor {{withmapedhota}} will state the map version to be HotA, even if the last saved edit was done in an older map editor version.  
This category of objects includes all [[Creature Dwelling]]s, non-terrain specific [[List of adventure map objects (HotA)|Adventure map locations]], Random Creature generators, [[Creature Bank]]s, [[Monolith]]s, [[Garrison]]s, [[Border Guard]]s and [[Border Gate|Gates]], [[Quest Guard]]s and [[Quest Guard|Gates]], [[Terrain#Magical Terrains|Magical Terrains]], and [[Event]]s.
* Map [[Difficulty|difficulty]]. Note, that despite what the [[Difficulty]] page states, Easy, Normal, Hard, Expert and Impossible Map difficulty determine AI behaviour and are entirely separate from 80%, 100%, 130%, 160%, 200% (also known as Easy, Normal, Hard, Expert, Impossible) game difficulty, which primarily controls human and AI resources, AI growth and resource growth as well as the AI behaviour, but to a much lesser extent. Map difficulty is set here in the Map Specifications, while the game difficulty is set by the player when starting a scenario.  
 
* Allowed game Difficulty {{withmapedhota}}. The player will not be able to select other difficulty than one from the list.  
In HotA {{withmapedhota}}, the All-Terrain objects are divided into 5 categories:
* Existance of the underground ("Two level map"). Note, that the Underground may be added or removed during the game.  
"Miscellaneous active objects" (A), "Creature Generators" (J), "Teleporters" (K), "Garrisons, Border Guards and Tents" (L), as well as "Magical Terrain" (;).  
* Whether monster/plague weeks should be allowed {{withmapedhota}}. If disabled, all weeks will have no effect.  
 
* Whether the map is an Arena {{withmapedhota}}.As the Map Editor itself states: "An arena map is a map designed for a single fight of two heroes with a preliminary preparation. Such map must contain at least one combat place." The HotA Map Editor will warn the first time a map is set as an Arena; however, disagreeing with the message (to revert the change) has no effect and the message never reappears.
Note that many all-terrain objects have their terrain-specific counterparts in Terrain Object sections.
* Hero experience level limit. Heroes will not be able to level up past that level. This option is unavailable in {{roe}}. See: [[Map Editor - Objects#Heroes]] for more information.
 
* Combat round limit {{withmapedhota}}: This can be used to limit players from using strategies such as [[Harpy Hag]] kiting. The limit will apply to all battles, and once it's crossed, the attacking player will automatically lose.  
 
* Map name (max 30 characters; this field is required for maps to be visible in the game).  
<span class="mw-customtoggle-TerrainObjects" style="color:blue">'''<big>List of All-Terrain Objects and their properties</big>'''</span>
* Map description (max 300 characters).
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-TerrainObjects">
 
{{clear|both}}
=== Decorations ===
Each Terrain has a number of decorations, usually of the same size for each terrain, including mountain ranges, forests, as well as singular tress or rocks. In HotA {{withmapedhota}}, All-Terrain decorations are available under the "Miscellaneous decorations". These include bridges, fences, walls, pillars, [[Map Editor#River Delta|river deltas]], waterfalls, fire, burnt structures, as well as crates, sacks and various animals. 
 
{{clear|both}}
=== [[Sign]]s and [[Ocean Bottle]]s ===
[[File:Ocean bottle properties.png|thumb|Ocean bottle properties]]
Signs, when visited, display a customized message. No message appears as default.<sup>{{unk}}</sup>
 
Usually, instead of Signs, Ocean Bottles are used on Water. They display a custom message as well (no message as default), but disappear once opened. The AI is unable to interact with the Ocean Bottles. As a result, they can be used to block an area from the AI. Note that Signs may be placed on Water and Ocean bottles may be placed on land.
 
{{clear|both}}
=== [[Creature Bank]]s ===
[[File:Creature bank properties.png|thumb|Creature bank properties]]
In HotA {{withmapedhota}}, all Creature Banks can be customized in regards to guard size and the reward obtained, including customization of the randomly obtained artifacts (and artifacts banned in the Map Specifications may be selected).
 
<span class="mw-customtoggle-Rewards" style="color:blue">'''List of Creature Banks'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Rewards">
 
All terrains:
* [[Cyclops Stockpile]]
* [[Dwarven Treasury]]
* [[Griffin Conservatory]]
* [[Imp Cache]]
* [[Medusa Stores]]
* [[Naga Bank]]
* [[Dragon Fly Hive]]
* [[Mansion]] {{withmapedhota}}
* [[Red Tower]] {{withmapedhota}}
* [[Black Tower]] {{withmapedhota}}
* [[Churchyard]] {{withmapedhota}}
* [[Experimental Shop]] {{withmapedhota}}
* [[Wolf Raider Picket]] {{withmapedhota}}
* [[Dragon Utopia]]
* [[Ancient Altar]] {{withmapedhota}}
 
Dirt, Sand, Grass, Snow and Swamp only:
* [[Crypt]]
 
Sand and Snow only:
* [[Ivory Tower]] {{withmapedhota}}
 
Swamp only:
* [[Spit]] {{withmapedhota}}
 
Rough only:
* [[Pirate Cavern]] {{withmapedhota}}
 
Highlands {{withmapedhota}} only:
* [[Ruins]] {{withmapedhota}}
 
Water only:
* [[Beholders' Sanctuary]] {{withmapedhota}}
* [[Temple of the Sea]] {{withmapedhota}}
* [[Shipwreck]]
* [[Derelict Ship]]
</div>
 
{{clear|both}}
=== [[Witch Hut]]s ===
[[File:Witch hut properties.png|thumb|Witch Hut properties]]
Witch Huts can be customized to give a chosen skill, or a random skill out of a chosen pool. If a skill offered by the Witch Hut is unavailable on the map (see: [[Map Editor#Map Specifications|Map Specifications]], the Witch Hut will instead display a message regarding its abandonment by the previous tenant, the witch. Note, that Witch Huts can be used to teach a hero otherwise unavailable skills, such as [[Water Magic]] to [[Mercenary|Mercenaries]].
 
{{clear|both}}
=== [[Black Market]]s ===
In Hota {{withmapedhota}}, the Black Market can be customized to offer specific artifacts on the first month.<sup>{{unk}}</sup>
 
{{clear|both}}
=== [[Warrior's Tomb]]s ===
In HotA {{withmapedhota}}, Warrior's Tombs random artifact can be customized.
 
{{clear|both}}
=== [[University|Universities]] ===
[[File:University properties.png|thumb|University properties]]
In HotA {{withmapedhota}}, Universities can be customized. The allowed skill can be chosen. By default, Resistance and Necromancy are unmarked and do not contribute to the random skill pool. Note, that Universities cannot teach heroes skills that are otherwise unavailable for them, i.e. they have 0% chance of obtaining them (such as [[Water Magic]] for [[Mercenary|Mercenaries]].
 
{{clear|both}}
=== [[Prison]]s and [[Hero Camp]]s  ===
[[File:Prison properties.png|thumb|Prison properties]]
Prison and Hero camps {{withmapedhota}} can be customized to contain a specific hero. If either of these two objects is ''not'' customized, the hero will be randomly chosen ''when the object is placed on the map'', and not when the scenario is started or restarted. This is in contrast to all other objects. Heroes in Prisons and Hero camps can be customized just like any other Hero. See: [[Map Editor#Hero Properties|Hero  Properties]].
 
{{clear|both}}
=== [[Tree of Knowledge|Trees of Knowledge]] ===
In HotA {{withmapedhota}}, the Trees of Knowledge price can be customized.  
 
{{clear|both}}
=== [[Campfire]]s ===
See: [[Map Editor#Tools and options#Objects#Treasures#Campfires]].
 
{{clear|both}}
=== [[Shrine|Shrines of Magic]] ===
Shrines of Magic include the [[Shrine of Magic Incantation]], the [[Shrine of Magic Gesture]], the [[Shrine of Magic Thought]] and the [[Shrine of Magic Mystery]], for spells of levels 1 to 4 respectively. By default they teach a randomly chosen available spell; when customized, they instead teach a chosen spell, including those banned by the Map Specifications.
 
{{clear|both}}
=== [[Abandoned Mine]]s ===
[[File:Abandoned mine properties.png|thumb|Abandoned mine properties]]
Abandoned Mines are always unassigned to any player at the start of a map. The resource they provide, once their guards are defeated, is randomly chosen from a list (which, by default, includes all resources except for wood {{W}}). The list of possible resources obtained from an Abandoned Mine can be customized. At least one resource must be selected.
 
In HotA {{withmapedhota}}, Abandoned Mine's guards may be customized. Unlike all other monster, army or guard customizations, only one unit type is allowed and their number range may be selected manually. The resulting army will be of random size from the selected range.
 
{{clear|both}}
=== Flaggable structures ===
[[File:Mine properties.png|thumb|Mine properties]]
Flaggable structures are adventure map objects that can be owned by a player (or be unaligned), but cannot be customized. Instead, their Properties can be altered to assign them to a chosen player or unassign their ownership.
 
<span class="mw-customtoggle-allterrainunedit" style="color:blue">'''List of flaggable structures'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-allterrainunedit">
* [[Mine]]s,
* [[Lighthouse]]s,  
* [[Shipyard]]s,  
* [[Airship Yard]]s {{withmapedhota}},  
* [[Creature dwelling]]s.
 
{{clear|both}}
=== [[Mine]]s ===
Mines with different graphics appear as objects for each Terrain.
 
{{clear|both}}
=== [[Shipyard]]s ===
Shipyards may ''not'' be placed on Water, Rock or in-land. They may be only placed on shore. Correct placement of a Shipyard is such that at least one of the tiles neighbouring it (including diagonals) is a Water tile. Once again, note, that tiles that are half-land and half-water count as water tiles.
 
{{clear|both}}
=== Random Creature Generator ===
<span style='float:right;'>
[[File:Random dwelling 6 properties.png|x200px|Random dwelling level 6 properties]]
[[File:Random dwelling properties.png|x200px|Random dwelling of any level properties]]
</span>
Random Creature Generators can belong to a specified or a non-specified level. Specified level creature generators will choose a random town and replace the creature generator with the one of appropriate level of the same town, when the scenario is started or restarted. Neutral town may not be chosen, therefore a random creature generator can never be a dwelling of [[Neutral creature]]s, with the exception of the [[Golem Factory]]. If a town has more than 1 dwelling of a specific level (this only applies to Rampart with two different version of the [[Unicorn Glade]] and Factory {{withmapedhota}} and their two level 7 units ([[Dreadnought]]s available in the [[Gantry]] and the [[Couatl]]s available in the [[Serpentarium]] as well as their two level 1 creature generators, [[Halfling Adobe]] and the [[Thatched Hut]]), a random dwelling out of the available ones from that town will be chosen.  
 
Non-specified level creature generators work the same way, except a random creature level is chosen from the available pool. The minimum and maximum level can be chosen by checking the object properties.
 
All types of random creature generators can be assigned to be of a random alignment out of a chosen pool, or to be the same as a chosen Town on the map. Choosing random alignment on a map without some of the Towns available causes the map to randomly choose between the random alignments allowed and all new, non-banned alignments available in the played version of the game. As a result, choosing random alignment to be one of "Castle" in the [[Shadow of Death]] mapmaker will cause the dwelling to be assigned, randomly, to either Castle, Cove or Factory, provided the map is generated or restarted in [[Horn of the Abyss]].<sup>{{unk}}</sup>
 
Random Creature Generators, unless their level range is restricted, are often frowned upon.
</div>
 
{{clear|both}}
=== [[Subterranean Gate]], [[Monolith]] and [[Whirlpool]] ===
Subterranean Gates always connect in pairs. If the number of underground gates on the map is odd, the lonely, unlinked gate will display a message describing how the gate is blocked with rubble. The underground gates connect to the nearest, in coordinates, gate on the other side of the map. Coordinates to the left and top of the map are always prioritized when the connection is established. <sup>{{unk}}</sup>
 
Two-way monoliths always connect to all other two-way monoliths of the same color on the map. One way entrance monoliths connect to all one way exit monoliths on the map of the same color (a random exit will be chosen whenever a hero enters the entrance).  
 
Whirlpools work the same way as Water Two-Way Monoliths {{withmapedhota}}, except a player using it loses half the creatures in the stack with the lowest number of hit points in his army.  
 
Whirlpools and Water Monoliths {{withmapedhota}} may not be placed on land and vice-versa.  
 
{{clear|both}}
=== [[Garrison]]s ===
Garrisons's army can be customized. Its ownership may be assigned to a chosen player. The "Troops are removable" option allows any player who controls the garrison to remove creatures from the garrison; it does '''not''' forbid placement of creatures in the Garrison. As a result, assigned garrisons with "troops are removable" set to true can serve as a reinforcement for the owner or an outpost; meanwhile neutral garrisons with "troops are removable", can, once defeated, serve as an outpost for any Hero's units.
 
Two Garrison types are available: standard Garrisons and [[Anti-Magic Garrison]]s. The latter block access to all spells during combat.  
 
Garrisons can also be horizontal or vertical. This only changes their placement on the map.
 
{{clear|both}}
=== [[Quest Guard]], [[Quest Gate|Quest Gate]], and [[Seer's Hut]] ===
==== Quests ====
Quest Guards and Quest Gates {{withmapedhota}} can be customized to require a completion of one quest.  
 
<span class="mw-customtoggle-Quests" style="color:blue">'''List of available Quests'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Quests">
<span style='float:right;'>
[[File:Quest guard properties.png|Quest guard properties]]
[[File:Edit quest.png|Editing quest screen]]
</span>
* None (the first hero to approach it fulfills the condition)
* Achieve experience level,
* Achieve primary skill level, (4 values, one for each primary skill)
* Defeat a specific hero (the hero has to already be placed somewhere on the map, in [[Prison]] or in a [[Hero Camp]] {{-wh)). Only the first time the hero is defeated is required),
* Defeat a specific monster (the specific monster refers to a Wandering Monster on a specified map coordinate. The monster has to already be placed somewhere on the map),  
* Return with artifact(s) (the artifacts don't have to be available on the map at all),
* Return with creature(s) (the creatures don't have to be available on the map at all),
* Return with resources (they don't have to be available at all),
* Be a specific hero (the hero doesn't have to be available on the map at all),
* Belong to a specific player (the player doesn't have to be available on the map at all).  
 
</div>
Seer's Huts quests have the same properties as Quest Guard passage requirements.
 
Quests can be customized to have a deadline. If a player approaches a Quest Guard, a Quest Gate, or a Seer's Hut after the deadline, their quest will be unavailable and the player will never be allowed to complete it.<sup>{{unk}}</sup>
 
In [[HotA]] {{withmapedhota}}, Seer's Huts can offer more than one quest. The quests can be ordered, and the Seer's Hut will only offer one quest at a time, starting from the top of the list. Once all one-time quests have been fulfilled, the Seer's Hut will offer the multiple quests, one by one, starting from the top of the list. Once all multiple quests have been fulfilled, the Seer's Hut will offer all multiple quests, starting from the top of the list, again. This way, fulfillment of some quests higher up the list can be a requirement to fulfill quests lower in the list. As a result, quests with multiple rewards or requirements, divided into subsequent quests, can be created.  


If a quest's deadline expires, it cannot be completed, and neither can any quest further down the list in a Seer's Hut.
=== Player Specs ===


{{clear|both}}
For each player present on the map (i.e. with at least one hero or one town), the following specifications can be applied:
==== Rewards ====
* Has main town: This option seems to only have an effect on the AI behaviour and for generation of starting heroes.
Seer's Huts can offer only one reward for each quest.  
* Generate hero at Random Town: A random hero will be added to the map once the scenario is started, as the visitor of the main town. The random hero will be replaced by a chosen hero when selecting a scenario. Note, that the randomly generated hero is created ''after'' other random heroes on the map are assigned, and therefore if a player has one or more Random Heroes and has a random hero generated for them at their main town, they will only be able to customize one of the Random Heroes, and not the generated one, when choosing their starting town and hero.
* Playability: A player may be both available for the AI and the Human player, or only for the AI.
* Forbid hiring heroes {{withmapedhota}}: This option can be used to make the player unable to ever hire any heroes, including his own heroes if they surrender or flee combat. Use it with caution.
* Behavior: This setting can be used to specify the behaviour of the AI player (by default it is random). For more information, see: [[AI Behavior]].
* Allowed Alignments: (by default "Random") state which Towns are available to the player. The Random town pool will only roll from the available towns.  


<span class="mw-customtoggle-Rewards" style="color:blue">'''List of available Rewards'''</span>
=== Teams ===
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Rewards">
* None (this can be useful to create quests with multiple requirements {{withmapedhota}}),
* Experience,
* Spell points,
* Morale,
* Luck,
* Resource
* Primary Skill,
* Secondary Skill,
* Artifact (Including those banned in the Map Specifications),
* Spell (Including those banned in the Map Specifications),
* Creatures.
</div>


{{clear|both}}
If teams are enabled, up to 7 teams may be set with each player belonging to one, chosen Team. Teams cannot be customized if there are less than 3 players on the map.  
=== Scholars ===
See: [[Map Editor#Tools and options#Objects#Treasures#Scholars]].  


{{clear|both}}
=== Rumors ===
=== Uneditable all-terrain objects ===
Some objects may not be edited in any way.


<span class="mw-customtoggle-allterrainunedit" style="color:blue">'''List of uneditable objects for all terrains'''</span>
Rumors appear in the Tavern. If customized, the prepared rumors will take precedence over the generic ones.  
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-allterrainunedit">
* [[Airship]] {{withmapedhota}} (Note: While Airships may be placed on water, unless they are on the shore, they will be inaccessible),
* [[Town Gate]] {{withmapedhota}},
* [[Tavern]],
* [[Sanctuary]],
* [[War Machine Factory]],
* [[Cannon Yard]] {{withmapedhota}},
* [[Refugee Camp]],
* [[Arena]],  
* [[Colosseum of the Magi]] {{withmapedhota}},
* [[Mercenary Camp]],
* [[Marletto Tower]],
* [[Star Axis]],
* [[Garden of Revelation]],
* [[School of Magic]],
* [[School of War]],
* [[Library of Enlightenment]],
* [[Altar of Sacrifice]],
* [[Idol of Fortune]],
* [[Rally Flag]],
* [[Temple]],
* [[Temple of Loyalty]] {{withmapedhota}},
* [[Magic Well]],
* [[Windmill]],
* [[Warehouse of Wood]] {{withmapedhota}},
* [[Warehouse of Mercury]] {{withmapedhota}},
* [[Warehouse of Ore]] {{withmapedhota}},
* [[Warehouse of Sulfur]] {{withmapedhota}},
* [[Warehouse of Crystal]] {{withmapedhota}},
* [[Warehouse of Gems]] {{withmapedhota}},
* [[Warehouse of Gold]] {{withmapedhota}},
* [[Freelancer's Guild]],
* [[Den of Thieves]],
* [[Redwood Observatory]],
* [[Cover of Darkness]],
* [[Hut of the Magi]],
* [[Eye of the Magi]],
* [[Cartographer|Cartographer (Surface)]],
* [[Border Guard]],
* [[Keymaster's Tent]].  
</div>


{{clear|both}}
=== Special Victory condition ===
==== [[River|River Delta]] ====
River deltas are purely decorational, non-interactable objects. There are 4 river delta types (clear, icy, muddy, lava) in 4 directions. Different river deltas may be found in Terrain objects, f.e. clear and muddy river deltas in "Dirt Objects".


{{clear|both}}
Special Victory condition may be set to one of the following:
==== [[Obelisk]]s ====
* [[File:Defeat All Enemies.png]] None (therefore only the standard condition, Defeat all enemies, applies);
Each terrain has its own Obelisk model, with a different color.  
* [[File:Acquire Artifact.png]] Acquire a specific artifact.<sup>1</sup> The specific Artifact can be the Grail, but it cannot be a Spell Scroll. The artifact does ''not'' have to exist on the map or be allowed in the Map Specifications.
* [[File:Accumulate Creatures.png]] Accumulate creatures.<sup>1,2</sup> A chosen amount of a specific creature can be set. Note, that the mapmaker may not specify more than one creature type here.
* [[File:Accumulate Resources.png]] Accumulate resources.<sup>1,2</sup> A chosen amount of one specific resource can be set.
* [[File:Upgrade Town.png]] Upgrade a specific Town.<sup>2</sup> One Hall upgrade and one Castle level must be chosen.
* [[File:Build a Grail Structure.png]] Build the Grail structure. The destination town for the Grail may be customized, or left as default - Any Town. Note, that if a player builds the Grail structure in a town other than the one chosen, the game won't end until only one player remains.
* [[File:Defeat All Monsters.png]] Eliminate all monsters {{withmapedhota}}.<sup>2</sup>
* [[File:Defeat Hero.png]] Defeat a specific hero. The hero must be present on the map or in Prison. Note, that if a player is the owner of the hero, either through hiring them or starting with them, they cannot win the game. If the hero is defeated by somebody else than the player (f.e. a Dragon Utopia), the game is not finished until only one player remains.
* [[File:Capture Town.png]] Capture a specific town.<sup>1,2</sup>
* [[File:Defeat Monster.png]] Defeat a specific monster.<sup>2</sup> The monster must be present somewhere on the map.
* [[File:Flag All Creature Dwellings.png]] Flag all creature dwellings.<sup>1,2</sup>
* [[File:Flag All Mines.png]] Flag all mines.<sup>1,2</sup>
* [[File:Transport Artifact.png]] Transport a specific artifact.<sup>1</sup> The specific Artifact can be the Grail, but it cannot be a Spell Scroll. The artifact does ''not'' have to exist on the map or be allowed in the Map Specifications. The destination town must be customized.
* [[File:Survive Until Time Expires.png]] Survive for a certain time {{withmapedhota}}.<sup>2</sup> After the chosen time, the first human player in player order (1-8) automatically wins.
<sup>1</sup> For these victory conditions, the special victory condition may be set to also apply to computer opponents.
<br><sup>2</sup> For these victory conditions, standard victory (defeat all enemies) can also be set. If it is not set, the game will go on until the special victory condition is met.  


</div>
Note, that special victory conditions for which applicability of the standard victory condition (defeat all enemies) ''cannot'' be customized (Acquire Artifact, Transport Artifact, Build a Grail structure) by default allow the standard victory condition.  
{{clear|both}}
== Terrain objects ==
Despite their name and placement on the Toolbar, Terrain objects can be placed on any Terrain, except for Rock (where no object may be placed) and Water (where only some of the objects may not be placed, notably Towns, Heroes (changed in HotA {{withmapedhota}}, where Heroes appear in Ships if placed on water) and Shipyards). Some (but not all) Water objects may be placed on land.  


{{clear|both}}
=== Special Loss condition ===
<span class="mw-customtoggle-sand" style="color:blue">'''List of Sand objects'''</span>
* [[File:Lose All Your Towns and Heroes.png]] None: The players lose when they lose all their towns and heroes, or they don't have any towns for a period of at least 7 days.
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-sand">
* [[File:Lose Town.png]] Lose a specific town: The town must be specified. The first ''player'' (including AI) to lose this town loses the game. The town does ''not'' have to be under the control of any players for this condition to be set. If the town is neutral, conquering it for the first time will ''not'' result in a victory/loss.
{{clear|both}}
* [[File:Lose Hero.png]] Lose a specific hero: The first player (including AI) to lose this hero loses the game. Note, that the hero may be imprisoned.  
=== [[Corpse]] ===
* [[File:Time Expires.png]] Time expires: The first human player to start their turn on the chosen date loses the game.
The Corpse is accessible in Sand and Rough objects. In HotA {{withmapedhota}}, Corpses can be customized to either provide Nothing, a random chance for a random available artifact (default) or a specified artifact, including those banned in the Map Specifications.  
[[File:Corpse properties.png|thumb|Corpse properties {{withmapedhota}}]]


{{clear|both}}
=== Timed Events ===
An unlimited number of timed events can be added. Timed events automatically sort by date, but their order on a specific day can be customized, using "Move Up" and "Move Down" buttons. The following properties of events may be edited:


=== [[Pyramid]] ===
[[File:Pyramid properties.png|thumb|Pyramid properties]]
Pyramids are accessible as a Sand object. In HotA {{withmapedhota}}, they can be customized to grant a specified [[List of spells|5th level spell]] (including those banned in the Map Specifications) as a reward.
</div>
{{clear|both}}
<span class="mw-customtoggle-snow" style="color:blue">'''List of Snow objects'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-snow">
=== [[Lean To]] ===
The Lean To is only accessible as a Snow object. In HotA {{withmapedhota}}, it can be customized to grant a specific amount of a chosen resource (at least 1 of any resource, maximum 32767 of that resource).
</div>
{{clear|both}}
<span class="mw-customtoggle-rough" style="color:blue">'''List of Rough objects'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-rough">
{{clear|both}}
=== [[Corpse]] ===
The Corpse is accessible in Sand and Rough objects. In HotA {{withmapedhota}}, Corpses can be customized to either provide Nothing, a random chance for a random available artifact (default) or a specified artifact, including those banned in the Map Specifications.
[[File:Corpse properties.png|thumb|Corpse properties {{withmapedhota}}]]
{{clear|both}}
=== [[Wagon]] ===
The Wagon is only accessible as a Rough object. In HotA {{withmapedhota}}, the Wagon can be customized to either provide a random reward (default), a chosen artifact (including those banned in the Map Specifications), a customized amount of a chosen resource, or nothing.
</div>
{{clear|both}}
<span class="mw-customtoggle-wstlnd" style="color:blue">'''List of Wasteland {{withmapedhota}} objects'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-wstlnd">
{{clear|both}}
=== [[Grave]] {{withmapedhota}} ===
By default, Graves provide a random amount between 500 and 5000 gold {{G}}, and a random available [[Artifact#Class|treasure or minor artifact]]. They can be customized to instead provide a chosen amount of gold {{G}} (at least 1, maximum 32767) and a chosen treasure or minor artifact (including those banned in the Map Specifications).
</div>
{{clear|both}}
<span class="mw-customtoggle-water" style="color:blue">'''List of Water objects'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-water">
{{clear|both}}
=== [[Seafaring Academy]] ===
By default, Seafaring Academy will teach Navigation and 2 random available skills. It can be customized to instead teach Navigation and two other, chosen skills. Note, that Seafaring Academy will always teach Navigation as one of its skills and cannot teach heroes otherwise unavailable skills, just like the [[Map Editor#Tools and options#Objects#All-terrain objects#Universities|Universities]].
{{clear|both}}
=== [[Flotsam]], [[Jetsam]] and [[Sea Chest]]s ===
By default, Flotsam and Jetsam {{withmapedhota}} provide randomly either nothing, 5 Wood {{W}}, 5 Wood {{W}} and 200 Gold {{G}} or 5 Wood {{W}} and 500 gold {{G}}. The reward is identical for Jetsam, except Wood {{W}} is replaced for Ore {{O}}. Sea Chests, by default, provide Nothing (20%), 1500 gold {{G}} (70%) or 1000 gold {{G}} and a random available treasure artifact.
However, unlike majority of other resource-providing objects in the mapmaker, neither of these objects can be customized to provide a chosen amount of the chosen resources. Instead, the mapmaker can only choose one of the resource gains (that can randomly occur). Sea Chests can only give artifacts if "1000 gold and Treasure artifact" option is chosen; then, the mapmaker may choose any artifact, including those banned by the Map Specifications.
{{clear|both}}
=== [[Sea Barrel]] ===
By default, Sea Barrels have a 20% chance of providing nothing, and an 80% chance of providing 3-6 of a random rare resource. They can be customized to provide a chosen amount of a chosen rare resource (Mercury {{M}}, Sulfur {{S}}, Crystal {{C}} or Gems {{Gem}}) or to provide nothing.
{{clear|both}}
=== [[Shipwreck Survivor]] ===
Shipwreck Survivor's reward (random available artifact by default) may be customized for any artifact, including those banned in the Map Specifications.
{{clear|both}}
=== [[Vial of Mana]] ===
The Vial of Mana provides a random amount of Spell Points, between 30 and 60. It can be customized to provide a chosen exact number of spell points (but only either exactly 30, 40, 50 or 60).
</div>
{{clear|both}}
=== Uneditable Terrain objects ===
Some terrain-specific objects may not be edited in any way.
{{clear|both}}
<span class="mw-customtoggle-unedit" style="color:blue">'''List of Uneditable Terrain objects'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-unedit">
Dirt and Grass:
* [[Swan Pond]],
* [[Stables]].
Dirt, Grass and Snow:
* [[Water Wheel]].
Dirt, Grass and Swamp:
* [[Fountain of Fortune]],
* [[Mystical Garden]].
Dirt, Grass, Swamp, Water ( {{withmapedhota}}):
* [[Fountain of Youth]].
Dirt, Grass, Swamp, Highlands {{withmapedhota}}:
* [[Faerie Ring]].
Dirt, Grass, Swamp, Highlands {{withmapedhota}}, Wasteland {{withmapedhota}}:
* [[Hill Fort|Hill Fort]].
Dirt, Grass, Rough, Highlands {{withmapedhota}}:
* [[Trading Post]].
Dirt, Subterranean:
* [[Skeleton Transformer]] {{withmapedhota}}.
Sand:
* [[Oasis]] - Sand.
Snow and Wasteland {{withmapedhota}}:
* [[Warlock's Lab]] {{withmapedhota}}.
Rough:
* [[Watering Hole]],
* [[Watering Place]],
* [[Magic Spring]].
Subterranean:
* [[Cartographer|Cartographer (Underground)]]
Highlands {{withmapedhota}}:
* [[Gazebo]] {{withmapedhota}},
* [[Hermit's Shack]] {{withmapedhota}},
* [[Mineral Spring]] {{withmapedhota}},
* [[Junkman]] {{withmapedhota}}.
Wasteland {{withmapedhota}}:
* [[Trailblazer]] {{withmapedhota}},
* [[Derrick]] {{withmapedhota}},
* [[Prospector]] {{withmapedhota}}.
Water:
* [[Boat]] - This object may only be placed on Water,
* [[Whirlpool]] - This object may only be placed on Water as well,
* [[Sirens]],
* [[Mermaids]],
* [[Buoy]],
* [[Observatory]] {{withmapedhota}},
* [[Altar of Mana]] {{withmapedhota}},
* [[Observation Tower]] {{withmapedhota}},
* [[Cartographer|Cartographer (Sea)]] {{withmapedhota}},
* [[Favorable Winds]].
</div>
{{clear|both}}
== Towns ==
Towns are accessible in Tools -> Objects -> Towns, and on the Mode bar, as well as by pressing S {{withmapedhota}}. Each of the standard Towns is available, as well as a Random Town.
{{clear|both}}
=== Town Properties ===
<span class="mw-customtoggle-townprop" style="color:blue">''' List of Town Properties'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-townprop">
<gallery mode="packed-overlay" heights=200px>
File:Town properties.png|Town properties > General
File:Town properties 2.png|Town properties > Garrison
File:Town properties 3 h3hotamaped.png|Town properties > Buildings
File:Town properties 4 h3hotamaped.png|Town properties > Spells
File:Town properties 5.png|Town properties > Timed Events
</gallery>
Towns can be customized in the following ways:
* General:
: * Player: This denotes the owner of the town.
: * Name: The name of the town. By default, a random name is chosen.
: * Visiting Hero: A Hero may be added here. They will stand in the gate of the castle once the map is generated. The hero can be customized just like any other hero (including Patrol). (See: [[Map Editor#Heroes]]). This option is only available if the town has an owner. Note, that if the player already has 8 heroes, an attempt to transfer a town with a hero in garrison to his ownership will be met with a warning message.
* Garrison: An army standing in the Garrison can be added. By default, no creatures appear in the garrison.
: * Formation: The Garrison army's formation (spread or grouped) can be set.
* Buildings: By default, towns have a fort, a tavern, and level 1 and 2 dwellings. Each building can be customized to be enabled (default), disabled (player cannot build it), not built (default) or already built. This can be quickly organized by using "Build All", "Demolish All", "Allow All" {{withmapedhota}} and "Forbid All" {{withmapedhota}} buttons. Note, that buildings may not be built without building their direct requirements (these are not actual building requirements, but rather the order buildings are placed in the expandable lists in the Map Editor. They usually include unupgraded versions of the same building, such as Mage Guild Level 1 being a direct requirement for the Mage Guild Level 2).
: * Has fort: Changes the default to exclude (or include) the fort.
* Spells: This allows for customization of spells appearing in the Mage Guild. Spells which "MUST appear" will always appear, while Spells which "MAY appear" will only appear if there are slots left once the mandatory spells have been given out. If no spells are available, and only some or none are necessary, the Mage Guild will use random available spells on the map. On the other hand, provided less spells than necessary are marked as possible and necessary to appear (and there is complete overlap between the two), the Mage Guild will contain empty spell slots that cannot be filled.
: * Spell Research {{withmapedhota}}: This allows the town to utilise the HotA's spell research mechanic. Note, that spells that "MUST appear" may ''not'' be replaced by spell research.
* Timed Events: In this section, Timed Events applying to the town can be added. Timed Events will always go one by one from the top to the bottom on the list, and only when their chosen day occurs. If two Timed Events have the same Day of occurrence, the one on the top of the list will take place first. Note, that town's timed events only apply to the player, who owns the town, provided they are of the right type (human or computer) as specified by the event.
: * General: The mapmaker can customize the event name, message, applicable players, whether human or computer players can benefit from the event (or both), the day of first occurrence, as well as how often the event repeats ("subsequent occurrences").
: * Resources: This determines which resources are given or taken away from the player to whom the event applies. If the supply of any resource is not enough to fulfill a "Take" event, instead it is set to zero: there cannot be a negative amount of resources.
: * Buldings: A building may be built as a town event. This includes buildings disabled in the "Buildings" section of the town. If the building has already been built, nothing happens (but the Event message still plays).
: * Creatures: Chosen creatures will be added to the available recruitment pool. No creatures may be added if the player does not own their appropriate Creature Generator. Only basic creatures can be added to the supply (but if the player has the Upgraded Creature Generator, they may upgrade them immediately once the Event occurs).
</div>
{{clear|both}}
=== Random Towns ===
[[File:Random town small.png|right|thumb|The way a random town appears in the map editor.]]
Random Towns can be used by the mapmaker to replace any other town. Except for standard town properties, their Alignment can be customized to be one of the following:
* Same as Owner or Random - If an owner has a specified alignment (either by choice, randomly chosen when the map is generated or set in the Map Specifications), a Town of this Alignment will replace the Random Town when the map is generated or restarted. If the Town is unowned, the Alignment is random, and a random town will replace the Random Town when the map is generated or restarted.
* Same as player (number) (color) - Only works if the player has a specified alignment, otherwise the town alignment will be randomly chosen instead. Note, that the player does ''not'' have to be the owner of the Town for this setting to apply.
* Not as player (number) (color) {{withmapedhota}} - Only works if the player has a specified alignment. The town will be replaced with a randomly chosen town but ''not'' the one assigned to the player. The player may still be the owner of the Town, even if that setting is chosen (but it will be a differently aligned town).
Random Towns can be used to give a player a town of their choice. By setting the alignment to "Same as Owner or Random" and marking a player as the owner, the player may choose the town when they choose their alignment before the game.
Random Town buildings customization is different than normal: instead of enabling, forbidding, building or demolishing specific buildings, the mapmaker may do all of the above on building alternatives: Level i Creature Generators, Level i Creature Hordes, etc. As a result, unique buildings may ''not'' be built, and neither can some non-special buildings (such as: Gunpowder Warehouse, Gantry or the Vault of Ashes).
In HotA {{withmapedhota}}, this has been fixed and expanded, and Random Towns can be customized to enable, forbid, build or demolish any unique and special buildings.
{{clear|both}}
== Monsters ==
Monsters are accessible in Tools -> Objects -> Monsters, on the Mode bar, and by pressing D {{withmapedhota}}. Monsters include all Faction-related and Neutral creatures in the order of their level, upgrade, with towns in the order of their alignment (with Cove and Factory placed last, right before the Neutral alignment), as well as Random Monsters.
Note, that all Monsters (both 1-hex and 2-hex ones) occupy only one cell on the map. All monsters guard all cells that directly neighbour their cell, either vertically, horizontally or diagonally. Monsters only guard water cells if they are on water and vice versa.
Pressing Right-Click on a Monster shows their level, alignment and default quantity.
{{clear|both}}
=== Monster Properties ===
Monsters may be customized in the Monster Properties.
<span class="mw-customtoggle-monsterprop" style="color:blue">''' List of Monster Properties'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-monsterprop">
<gallery mode="packed-overlay" heights=200px>
File:Monster properties h3hotamaped.png|Monster properties > General
File:Monster properties h3hotamaped 2.png|Monster properties > Treasure
</gallery>
* General:
: * Quantity: Determines the amount of Monsters, placed when the game is generated or restarted. It is vital to set monster Quantity for monsters with large range in AI values (particularly level 7 and 7+ units, whose strength can be even 2-3 times greater between two stacks when the random quantity is chosen)
:: * Quantity does not grow: This setting stops monsters from growing. By default it is off, which lets Monsters grow by around 10% per week.
:: * Value {{withmapedhota}}: Instead of customizing amount of monsters, the value of the stack can be set. This is particularly useful for customizing random monsters. Value can be calculated from the AI value with the following equation: Value = AI_value / 2.5 + 2300. For calculating the AI value from value (including from value below 2300) the following equation is used: AI_value = max(Value - 500, 0) x 1.5 + max(Value - 5000, 0) x 1.
: * Disposition: Here, likelihood to join the hero can be set. Note, that the likelihood of joining is not set in stone, and is affected by [[Diplomacy]], [[Diplomat's Cloak|Diplomacy artifacts]], and hero's army strength. Disposition takes a value of 1-10, where 1 means "will always join" (no matter what) and 10 is "will never join" (again, no matter the previously mentioned modifiers).
:: * Compliant: Refers to a disposition value of 1.
:: * Friendly: Refers to a disposition value randomly chosen from 1-7.
:: * Aggesive: Refers to a disposition value randomly chosen from 1-10.
:: * Hostile: Refers to a disposition value randomly chosen from 4-10.
:: * Savage: Refers to a disposition value of 10.
:: * Precise setup {{withmapedhota}}: A specific disposition value may be chosen.
: * Joining monster percentage of total count {{withmapedhota}}: If the monsters decide to join the hero, and the player agrees, their percentage, equal to this value, will end up in the hero's army. Only values of 25, 50, 75 or 100% may be chosen. This value is 100% by default (and always in the [[Shadow of Death]]).
: * Monster never flees: The monster won't flee (but they may still decide to join the hero or attack him).
: * Join only for money {{withmapedhota}}: Provided the monsters decide to join (see: [[Map Editor#Monster Properties|Disposition]]), they will ask for a monetary benefit. If this option is chosen, and the Joining monster percentage of total count is set to anything other than 100%, the monsters will ask for enough gold to pay for all of them, even though only a fraction will join the hero. Majority of standard multiplayer templates use these two options.<sup>{{unk}}</sup> This option is off by default (and always in the [[Shadow of Death]]). 
: * [[{{unk}}|Stack count]] {{withmapedhota}}: Instead of letting the number of stacks be directly dependent on the army strength comparison, the number of stacks may be customized. This option is set to default, if not customized, and always in [[Shadow of Death]].
:: * Average: This option does not differ from default.<sup>{{unk}}</sup>
:: * One less, one more {{withmapedhota}}: The number of stacks will be calculated normally, and then an extra stackk will be removed / added.
:: * 1-7: The troops will split into this exact number of stacks.
: * Custom message: This message will play before the fight. Note, that the message will ''not'' provide an option to back out from the battle.
* Treasure: Any number of any resources, as well as a chosen artifact (including those banned in the Map Specifications) may be added to the monster's treasure. The treasure will be awarded to the hero, provided they won the battle. If both the monster and the hero is defeated (f.e. due to [[Armageddon]]), the treasure will be lost.<sup>{{unk}}</sup> By default, monsters do not have any treasure.
</div>
{{clear|both}}
=== Random Monsters ===
Random Monsters can be of a specified or a non-specified level. Specified-level random monsters will be replaced with the random monster, of the appropriate level (randomly upgraded or unupgraded), when the map is generated or restarted. Their quantity will be randomly generated from the quantity pool for that monster (which is visible when right-clicking the appropriate monsters on the right). Note, that a random monster's properties may be customized just like any other monster's. Note, that the chosen quantity will override any default quantity, and thus if the random monster is particularly stronger than their equivalent-level comrades, the chosen quantity will pose an extra threat to the payer. Value option {{withmapedhota}} may be used to alter the quantity of monsters to always as closely resemble a chosen Value as possible (remember, that Value = AI_value / 2.5 +2300). This is particularly noticeable on lower-level creatures - since they have lower AI value per unit, the map editor will more readily replace them with the appropriate AI value. At the same time, a difference of up to a few thousand points of value can have no impact on the quantity of very powerful creatures, such as [[Crystal Dragon]]s, whose Value of 34000 and 41500 would produce 2 Crystal Dragons in each case, despite a 7500 Value difference.
Non-specified level random monsters increase the pool of available monsters to all creatures, from a [[Peasant]] to an [[Azure Dragon]]. It is recommended to avoid using this feature.
{{clear|both}}
== [[Heroes]] ==
Heroes can be found in Tools -> Objects -> Heroes, on the Mode bar (helmet icon), or by pressing F {{withmapedhota}}. Heroes (selected by [[Hero class|class]]) may not be placed without first assigning a player in the [[Map Editor#Tools and options|Player setting]], (or by pressing Ctrl+1, Ctrl+2, etc. appropriately for each respective player). Heroes may not be placed on water (changed in HotA {{withmapedhota}}, where heroes placed on water are automatically placed inside a ship).
Instead of selecting a hero by class, a Random Hero or a Hero Placeholder may be used.
Note, that only one of each hero identity may exist on the map. If a hero is located in a Prison, Hero Camp, or are located somewhere on the map, there may not be a second hero with the same identity added.
{{clear|both}}
=== Hero Properties ===
<span class="mw-customtoggle-heroprop" style="color:blue">''' List of Hero Properties'''</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-heroprop">
<gallery mode="packed-overlay" heights=200px>
File:Hero properties.png|Hero properties > General
File:Hero properties 2.png|Hero properties > Biography
File:Hero properties 3.png|Hero properties > Creatures
File:Hero properties 4.png|Hero properties > Primary Skills
File:Hero properties 5.png|Hero properties > Secondary Skills
File:Hero properties 6.png|Hero properties > Artifacts
File:Hero properties 7.png|Hero properties > Spells
</gallery>
* General:
: * Class: Hero's class may ''not'' be altered. Instead, remove the hero from the map and replace him with one of the appropriate class.
: * Player: By default, this is set to the chosen player with the Player setting when placing the hero.
: * Identity: A specific hero out of the chosen class may be assigned, as long as they're allowed in the Map Specifications.
: * [[Experience]]: The amount of experience when starting the game may be assigned.
:: * Level {{withmapedhota}}: The hero's exact level may be set, instead of choosing to assign the experience points. An assigned level can cross the hero experience limit, as long as "Hero can't gain experience" is set to true.
:: * Always add skills {{withmapedhota}}: By default set to true, this setting allows for the automatic levelling up of a higher-level hero when the map is generated or restarted to no longer add any secondary skills. As a result, no matter the hero level, they will always have only the starting secondary skills (be it customized or default). Their primary skills will still increase.<sup>{{unk}}</sup>
:: * Hero can't gain experience {{withmapedhota}}: This hero's level will never change (and may cross the maximum level threshold).
: * Portrait: A portrait for any of the heroes in the game, including campaign heroes, may be chosen. In [[HotA|HotA 1.7.0]] {{withmapedhota}} portraits of all campaign heroes, including those from [[Heroes Chronicles]] {{withhc}} (such as [[Tarnum]]), have been added to the map Editor and are accessible for heroes. Portraits are organized by town, with Campaign heroes placed at the end.
: * Gender: The hero's gender only changes their outward appearance on the adventure map.
: * Patrol: Patrol is an invisible statistic that does not apply to human players. AI will only move heroes with a set value of patrol onto tiles within the range of their Patrol. In other words, if an AI Hero has a patrol of 9, he can only move within the area with the center of his placement on the map, and the radius of 9 tiles. The maximum value of Patrol is 10 (changed in HotA {{withmapedhota}} for 99).
* Biography
* Creatures: Hero's starting army may be replaced. By default, the creatures will be appropriate to the hero's identity. If customized, only the creatures added in this tab will appear as the starting army. Ballista and First Aid Tent will still be given to heroes with appropriate specialties, even if their starting armies are customized.
* Primary skills: The starting primary skills may be replaced. Note, that hero's with greater experience than 0 and experience level than 1 will gain primary skills as a result of leveling up.
* Secondary skills: The starting secondary skills may be replaced. Note, that hero's with a great experience than 0 or an experience level above 1 will gain secondary skills as if levelled up by AI when the map is generated or restarted. This can be avoided with the "Always add skills" setting.
* Artifacts: Hero's starting artifacts (including the [[Spell Book]], [[War Machine]]s and artifacts in the [[Backpack]]) may be customized. The added artifacts don't have to be allowed in the Map Specifications. The Grail may ''not'' be added to a hero's backpack.
* Spells: {{unk}}
</div>
{{clear|both}}
=== Random Heroes ===
Instead of placing a hero, a Random hero may be chosen. Random heroes will be randomly chosen from the available heroes of the player's faction when the scenario is started or restarted. Note, that one Random Hero may be customized by a player before the start of the game, during scenario selection. If there isn't enough available hero's from the player's faction to replace all Random heroes, a random available hero from any faction will be chosen.
Random heroes may be customized just like normal heroes, except for their class, identity, name, portrait, gender and biography.
Instead of adding specific creatures to the army of a Random Hero, instead the mapmaker may add random creatures of a chosen level (upgraded or unupgraded) to the hero's army. These creatures will be replaced with the appropriate creatures from the Town the random hero belongs to.
{{clear|both}}
=== Hero Placeholder ===
Hero Placeholders are used in campaign maps, following the first one, to allow a Hero to move on from one map to another, while retaining everything chosen in [[Campaign Editor|Crossover Options]]. When a scenario with Hero Placeholders is started or restarted, the heroes from the previous map will be replace the Hero Placeholders. When used outside of the campaign, Hero Placeholders are removed from the map when the scenario is started or restarted. The player's starting hero, however, may not be a Hero assigned to a Hero Placeholder, ''even if the hero Placeholder will be removed from the map anyway''. As a result, in non-campaign scenarios, Hero Placeholders may be used to limit the starting Hero pool without placing heroes in Prisons or Hero Camps. 
Hero placeholders may be customized only in the following ways:
* General:
: * Owner: See: [[Map Editor#Hero Properties|Hero Properties]]
: * Identity: See: [[Map Editor#Hero Properties|Hero Properties]]
:: * Any Hero -> Power rating: This option allows for placement of heroes in a next map of a campaign in order of their power, calculated using their secondary skills, primary skills and creatures.<sup>{{unk}}</sup>
:: * Specific Hero: Here, a hero may be chosen (by class and identity).
* Creatures: See: [[Map Editor#Hero Properties|Hero Properties]]
* Artifacts: See: [[Map Editor#Hero Properties|Hero Properties]]. Note that unlike normal heroes, Hero placeholders may ''not'' be given [[War Machine]]s as artifacts, but may instead start with [[Spell Scroll]]s.
{{clear|both}}
== [[Artifact]]s ==
Artifacts can be accessed by using Tools -> Objects -> Artifacts, on the Mode bar (trophy icon), or by pressing G {{withmapedhota}}. Artifacts placed on the map don't have to be allowed with the Map Specifications.
{{clear|both}}
=== Artifact Properties ===
<gallery mode="packed-overlay" heights=200px>
File:Artifact properties 1.png|Artifact properties > General
File:Artifact properties 2.png|Artifact properties > Guardians
</gallery>
* General:  
* General:  
: * Message: This message will play out every time the artifact is interacted with. If the artifact is guarded, the player will be able to choose yes/no. The message should be worded in such a way, where answering "yes" should designate combat for the artifact, and "no" backing out. In [[Shadow of Death]], this feature is bugged and as a result the player may only choose to initiate combat (fixed in HotA {{withmapedhota}}).<sup>{{unk}}</sup>
** Event name: This name only appears in the Map Editor and can help the mapmaker organize their work.
: * Special artifact pickup conditions {{withmapedhota}}: The artifact may be made inaccessible to heroes without a certain skill (Wisdom or Leadership), or require payment of gold (and possibly resources). Each special artifact pickup condition chosen will be added to a pool, and one of the available conditions will be randomly chosen at the start (or restart) of a scenario. Note, that if "Combat with monsters" is not the applying pickup condition, the guards will not attack.  
** Message: This message will play out to the players as the Event takes place.
* Guardians: Here, the artifact's guardians may be added. They will attack once combat is initiated, following an agreement to the artifact's message.
** Players to which it applies: Specific players may be added to ignore this event. At least one player has to be marked.
 
** Apply event to human players: If ticked, the event will ''also'' apply to humans.  
{{clear|both}}
** Apply event to computer players: If ticked, the event will ''also'' apply to AI. Note, that at least one of these two options has to be marked.  
=== [[Spell Scroll]]s ===
** Day of first occurrence: The event will play on the chosen date.  
On top of normal properties, Spell Scroll's spell may be customized (including spells banned on the map). By default, it's a random spell allowed in the Map Specifications.  
** Subsequent occurrences: If set to "Never", the event will not repeat. If set to a different value, the event will repeat every chosen time interval. Note, that repeating events take priority over other events lower down the list.  
* Resources: Here, resources given or taken from the player to which the event applies may be customized.  


{{clear|both}}
Note that some timed events only apply to specific towns. See: [[Map Editor - Objects#Town properties]]
=== Random Artifacts ===
Instead of a specific artifact, a Random Artifact may be chosen. Random Artifacts are replaced with a random, available on the map artifact when the scenario is started (or restarted), while the Random Artifacts of a specified level (1-4, where 1 is treasure, 2 is minor, 3 is major and 4 is relic) are instead replaced by a random artifact available on the map of the appropriate level. They may be customized, just like any other artifact. It is recommended to avoid using Random Artifacts without a specified level, as they're a source of extraordinary variance (a Random Artifact may be replaced with a [[Centaur's Axe]] or an [[Armageddon's Blade (artifact)|Armageddon's Blade]], provided both are allowed in the Map Specifications).


{{clear|both}}
=== Heroes ===
=== The Grail ===
The mapmaker can ban, enable and edit chosen heroes. This includes campaign heroes (such as [[Gelu]], [[Dracon]] or [[Frederick]], as well as banned-by-default heroes (such as [[Galthran]] in {{hota}}).  
The Grail, even though technically an artifact, differs from others. It may ''not'' be placed freely or guarded on the map; it may ''not'' be placed in any other object, as owned by a hero, or in any other way like all other artifacts. The Grail also may not be placed on Water. The only way to place it is to place it buried. The Grail will be available to dig-up from the spot it is placed on or any random, non-occupied, non-visitable, non-blocked by an obstacle spot within the "allowable placement radius", 0 by default. The Grail is placed once the scenario is started or restarted. Note, that allowed cells are those that are neither red nor yellow when checking for [[Map Editor#Tools and options|Passability]] and may be unreachable by players if a hole exists between different obstacles and the Grail randomly spawns there. There may be only 1 Grail on the map.  


Remember, that in order to uncover and dig out the Grail, the players will need to visit Obelisks. Obelisks uncover 1/N part of the puzzle, where N is the number of Obelisks.
==== Editing Heroes ====
For editing heroes placed on the map, see [[Map Editor - Objects#Hero properties]].  


{{clear|both}}
Heroes can be customized on the map as a whole in the following ways:
== Treasures ==
* General
Available through Tools -> Objects -> Treasures, on the Mode bar (Treasure chest icon), or by pressing H {{withmapedhota}}, this tab is primarily comprised of resources.  
** Name.
** Experience (and Experience level {{withmapedhota}}).
** Portrait. Note, that portraits ''can'' repeat between different heroes; on top of that, heroes may use campaign portraits.
** Gender. This only changes the appearance on the map.
** Always add skills {{withmapedhota}}: If set to true, the hero will gain extra skills from the additional experience customized above.
** Hero can't gain experience {{withmapedhota}}: If set to true, the hero will not be able to gain any experience, no matter the experience level limit for the map.
** May be hired by: The following players may hire this hero. Other players will not see the hero in the tavern, or in the Adventure Map [[Tavern]]. Note, that heroes in [[Prison]]s or [[Hero Camp]]s{{-wh}} may be hired, even if this option states otherwise.
* Biography.
* Primary skills: These are the ''starting'' primary skills. Higher level heroes will be automatically levelled up, and therefore will have the appropriately higher primary skills.
* Secondary skills: These are the ''starting'' secondary skills. See Primary skills.
* Artifacts: Various artifacts, excluding the Grail and Spell scrolls {{withmaped}} (available in {{hota}}), may be added here.
** Has spellbook.
* Spells: These spells will appear in the hero's spellbook, provided he has one, at the beginning of the game.  


{{clear|both}}
Note, that specialities and starting armies may ''not'' be customized. Therefore it is advised to customize a hero with the appropriate specialty to fit your desired hero.
=== [[Campfire]]s ===
In the [[Shadow of Death]] Map Editor {{withmaped}}, campfires are only available as Terrain Objects and cannot be edited, always providing the default 400-600 gold and 4-6 of a random resource other than gold.
In HotA, campfires are available as Treasures and may be customized to provide a chosen amount of gold and chosen amount of a single resource (minimum 1, maximum 32767) and the exact amount of a chosen resource other than gold (again, minimum 1, maximum 32767).  


Additional campfires with different graphics appear as a Sand, Snow, Subterranean and Lava objects.  
=== Artifacts ===
Chosen artifacts may be banned here. They will not be ''randomly'' spawned as a reward or as a replacement for Random Artifacts. They may still be added to Heroes, Creature Banks, Seer's Hut rewards or placed on the map by the mapmaker.  


{{clear|both}}
=== Spells ===
=== [[Treasure Chest]]s ===
The mapmaker may ban chosen spells here (only in {{sod}} and {{hota}} Map Editor). They will not ''randomly'' spawn in Mage guilds or Spell scrolls and won't be accessible from artifacts such as Spell scrolls, [[Tome of Air|Tomes of elements]] or the [[Spellbinder's Hat]]. Adding them to a Mage guild manually won't work.
Without HotA{{-wh}}, Treasure Chests may not be customized and instead provide the default reward of 32% chance of 1000 gold {{G}} or 500 XP {{Exp}}, 32% chance of 1500 gold {{G}}or 1000 XP {{Exp}}, 31% chance of 2000 gold {{G}} or 1500 XP {{Exp}} and 5% chance of a random [[Artifact#Class|Treasure class artifact]]. With HotA, one of the aforementioned rewards can be chosen to always appear, and if the Treasure Artifact is chosen, it can be chosen to be Random or customized, including artifacts that are not allowed in the Map Specifications. Note, that unlike other resource-providing objects, the exact reward may ''not'' be customized.
 
{{clear|both}}
=== [[Ancient Lamp]]s ===
This object allows a player to hire [[Master Genie]]s. Once all of them have been recruited, it will disappear from the map. This can be used to block/open a path. The number of available Master Genies is by default 4-7, but can be customized to be any value from 1 to 32767.
 
{{clear|both}}
===== [[Scholar]]s =====
Scholars provide to the first visiting hero a random [[Spell]], [[Primary Skill|Primary]] or [[Secondary Skill]]. The reward can be customized, including banned Spells and banned Secondary Skills in the Map Specifications.
 
Without HotA{{-wh}}, Scholars are available as All-Terrain objects {{withmaped}}.
 
{{clear|both}}
=== [[Resource]]s ===
Resources include [[Wood]] {{W}}, [[Mercury]] {{M}}, [[Ore]] {{O}}, [[Sulfur]] {{S}}, [[Crystal]] {{C}}, [[Gems]] {{Gem}} and [[Gold]] {{G}}. They can be customized in the following ways:
 
General:
* Quantity: By default, "Random" is chosen and corresponds to 5-10 Wood {{W}} and Ore {{O}}, 3-6 Rare Resources or 500 - 1000 Gold {{G}}. Instead, the value may be customized to equal a chosen amount of the particular resource, from 1 to 99999. Note, that for gold the chosen value will be multiplied by 100.
* Message: This message will play out every time the resource is interacted with. If the resources is guarded, the player will be able to choose yes/no. The message should be worded in such a way, where answering "yes" should designate combat for the resource, and "no" backing out. In [[Shadow of Death]] {{withmaped}}, this feature is bugged and as a result the player may only choose to initiate combat (fixed in HotA {{withmapedhota}}.<sup>{{unk}}</sup>
Guardians: Here, the resource's guardians may be added. They will attack once combat is initiated, following an agreement to the message.
 
{{clear|both}}
=== Random resources ===
Random resources are replaced by a randomly chosen resource when the scenario is created or restarted. They can be customized the same way Resources are customized.
 
== Map Specifications ==
Map Specifications, accessible through Tools ->, as well as by pressing Ctrl+Enter, consist of various customizable map rules.
 
=== General ===
 
The general map specifications specify:
* Map version. Note, that Map Editors cannot recognize other map versions than those they can save as; as a result, [[SoD]] Map Editor {{withmaped}} will only recognize [[RoE]]{{-wr}}, [[AB]]{{-wa}} and [[SoD]]{{-ws}} map versions. The [[HotA]] Map Editor {{withmapedhota}} will state the map version to be HotA, even if the last saved edit was done in an older map editor version.
* Map [[Difficulty|difficulty]]. Note, that despite what the [[Difficulty]] page states, Easy, Normal, Hard, Expert and Impossible Map difficulty determine AI behaviour and are entirely separate from 80%, 100%, 130%, 160%, 200% (also known as Easy, Normal, Hard, Expert, Impossible) game difficulty, which primarily controls human and AI resources, AI growth and resource growth as well as the AI behaviour, but to a much lesser extent. Map difficulty is set here in the Map Specifications, while the game difficulty is set by the player when starting a scenario.
* Allowed game Difficulty {{withmapedhota}}. The player will not be able to select other difficulty than one from the list.
* Existance of the underground ("Two level map"). Note, that the Underground may be added or removed during the game.
* Whether monster/plague weeks should be allowed {{withmapedhota}}. If disabled, all weeks will have no effect.
* Whether the map is an Arena {{withmapedhota}}. Arena maps nullify all victory conditions and instead force the two players two fight at the of the first turn. Arena maps cannot be played normally. The HotA Map Editor will warn the first time a map is set as an Arena; however, disagreeing with the message (to revert the change) has no effect and the message never reappears.
* Hero experience level limit. Heroes will not be able to level up past that level. See: [[Map Editor#Heroes]] for more information.
* Combat round limit {{withmapedhota}}: This can be used to limit players from using strategies such as [[Harpy Hag]] kiting. The limit will apply to all battles, and once it's crossed, the attacking player will automatically lose.
* Map name.
* Map description.  


=== Secondary skills ===
Available secondary skills can be customized by banning or enabling chosen skills. Heroes who start with a banned skill will still be able to upgrade them, but other heroes won't be able to learn these skills, apart from the Universities (as long as they're customized to give the chosen skill), customized Scholars, Events and Pandora's Boxes. Witch Huts will automatically ignore banned skills when choosing a random skill to teach, and if customized to only provide a banned skill, will appear empty, with an appropriate message.


{{Fanopinion|
{{Fanopinion|
Maximum amount of resources for some of the objects, 32767, is most likely due to a limit of 15 bits used to code the number of resources. This is supported by the fact, that 32767 decimal {{=}} 1111111111111 in binary.
For further support with the Map Editor, see [[Map Editor - Guide]].  
For further support with the Map Editor, see [[Map Editor - Guide]].  
}}<!-- end of fan opinion -->
}}<!-- end of fan opinion -->
Line 821: Line 268:
File:Warning no available heroes maped.png|Warning that displays when hero limit is exceeded {{withmapedhota}} (identical in the [[Shadow of Death]] Map Editor {{withmaped}})
File:Warning no available heroes maped.png|Warning that displays when hero limit is exceeded {{withmapedhota}} (identical in the [[Shadow of Death]] Map Editor {{withmaped}})
File:Player0 Warning Maped.png|Warning that displays when no player is chosen when placing a hero {{withmapedhota}} (identical in the [[Shadow of Death]] Map Editor {{withmaped}})
File:Player0 Warning Maped.png|Warning that displays when no player is chosen when placing a hero {{withmapedhota}} (identical in the [[Shadow of Death]] Map Editor {{withmaped}})
File:Add artifact to hero.png|Add artifact to hero
File:Add artifact to hero (HotA).png|Add artifact to hero ({{hota}})
File:Lighthouse properties.png|Lighthouse properties
</gallery>
</gallery>


=See Also=
{{Map Editor 'see also'}}
* [[Map Attributes]]
* [[Map Editor - Guide]]
* [[Map Editor - Guide - Seer's Hut quests]]


External resources (in Polish only):  
External resources (in Polish only):  

Latest revision as of 12:07, 4 October 2024

Map Editor is an official tool, used to create custom maps. It can be found in the game folder as "h3maped.exe" (Map Editor) and "h3hota_maped.exe" Horn of the Abyss (Horn of the Abyss (Campaign/Custom)).

Map versions[edit | hide | hide all]

Base Homm3 Map Editor
Base Homm3 Map Editor
Updated HotA Map Editor
Updated HotA Map Editor

Each expansion updated the map editor, adding new Adventure map objects and features; as a result, only maps with the same or older version than the one used by the editor itself can be created or altered.

All changes made to a map using a more updated map editor than the one the map was originally made with will automatically update the map to the newer version.

The Horn of the Abyss Map Editor Horn of the Abyss (Campaign/Custom) is the most recently updated version of the editor.

Layout[edit | hide]

The Map Editor consists of the following layout:

On the top of the Map Editor, from top to bottom, are placed the Menu bar, the Toolbar and the Mode bar. The map is placed in the middle, and around it are x- and y- coordinates. The minimap on the right shows the visible minimap of the currently shown layer. Below it lies the object bar, where currently chosen objects (be in on the Mode bar or using Tools -> Objects) are shown.

You can browse the objects from a chosen category on the Object Bar, using the slider (changed for the mouse scroll in HotA Horn of the Abyss (Campaign/Custom)). You can move the map using the sliders below and directly on the right of the map, or by using the arrow keys, the mouse scroll Map Editor or by pressing the middle mouse button and moving the cursor towards the desired part of the map.

Menu bar tabs[edit | hide]

All of the following tabs and tools appear in the Menu bar.

File[edit | hide]

File menu
  • All custom text in a map, including all timed events, Hero names, Hero backstories, Pandora's Boxes and Events messages, Artifact and Monster messages, etc. can be exported (through File -> Export Text) into a map_name.txt file, where map_name is the name of the map. The text can be then edited in any text editor, f.e. Notepad. As long as the placement of line breaks between custom texts and custom text descriptions are unaltered, this file can then be imported (via File -> Import Text) back into the map, replacing all custom text.

Edit[edit | hide]

Edit menu
  • Edit -> Undo and Redo (also accessible on the Toolbar as the two arrows, or by pressing Ctrl + Z and Ctrl + Y respectively) can be used on any and all changes to the map.
  • 'Edit -> 'Cut, Copy, Paste and Delete (also available on the Toolbar) can be used on a single object at a time. They cannot be used on Basic Terrain, Roads, or Rivers. These four tools can be activated using standard Windows keys, namely Ctrl + X, Ctrl + C, Ctrl + V and Delete.
  • The Find tool (Edit -> Find, or in the ) can be used to find all objects of a specified object type on the map. It can be activated using Ctrl+F. The subsequent objects of the same type can be found by pressing F3. In HotA Horn of the Abyss (Campaign/Custom), the search tool can be used to find Border Gates, Keymaster's Tents and Monoliths of a specified color ( Horn of the Abyss (Campaign/Custom)).

View[edit | hide]

View menu
  • 'View -> Zoom in and View -> Zoom out (note that both are available on the Toolbar as looking glass icons with + and - sign, appropriately)
  • View -> Underground (Ctrl+ U) can be used to switch between the surface and the underground of the map, provided the map has an underground layer. It's also available on the Toolbar as a red arrow pointing downwards on a black square.
  • View -> Grid (Ctrl + G) can be used to view the grid separating each tile. This option is available on the right side of the Toolbar as a grid icon.
  • View -> Passability (Ctrl + P, or one yellow and 2 red squares on the Toolbar) can be used to view the accessibility of different objects and visit cells. This can allow the mapmaker to see which tiles are accessible from where, whether a monster guards an object, etc. Passability shows three tile colors:
* Red: These tiles are not passable (f.e. because they contain an obstacle or a part of an object).
* Yellow: These tiles are a part of objects and may be visited. Usually, they should be accessible. If they are surrounded by impassable tiles, they will be unreachable to heroes.
* Not-colour: These tiles are passable, but not interactable.
Note, that the exact passage to each object can be found by following the arrow-icons on the appropriate object's wiki entry. All monsters cover one tile and guard all tiles around them, except for land tiles by monsters placed on water and vice versa.
  • View -> Object animation (Ctrl + A) can be used to switch on or off the animation of all objects on the currently edited map. It is advised to turn off the animation when using slower devices.
  • View -> Terrain animation (Ctrl + T) can be used to switch on or off the animation of the terrain, particularly the water, on the currently edited map. It is advised to turn off the animation when using slower devices.
  • View -> Toolbar, Mode Bar and Status Bar can be used to switch the appropriate bars on or off. See the Map Editor#Layout

Tools[edit | hide]

Eraser tool Tools menu

  • Tools -> Erase (also available through the Mode Bar as the pencil eraser icon) can be used to remove all objects except Basic Terrains. The size of the brush is customizable - 1x1, 2x2, 4x4 or Area Brush. These Eraser brushes are available by pressing Shift + Z, Shift + X, Shift + C and Shift + V respectively.
  • Tools -> Validate Map (or pressing M Horn of the Abyss (Campaign/Custom)) can be used to find errors or issues in the map. Note that maps may work without fixing some of the issues. Possible issues include, among others, lack of players, inaccessible visitable cells, lack of customization in the Map Specifications (particularly the title, description and the players), presence of Border Guards without their appropriate Keymaster's Tents and vice versa, presence of unconnected Monoliths or Subterranean Gates and presence of Subterranean Gates without the underground layer. Note that some issues will not be pointed by this tool, for example presence of Airships on Water, not next to shore (where they cannot be accessed).
  • Tools -> Options can be used to customize the following Map Editor features:
    • "Frequency of decorative terrain tiles" (they will automatically appear whenever a new terrain patch is placed),
    • "Repaint entire map with this setting" may be used to "beautify" the map with decorative terrain tiles.
    • "AutoSave options" (whether it's unabled and how often should the map AutoSave),
    • Object panel size (in the number of objects per line and the size of each object, respectively).

Player[edit | hide]

Player

  • Player -> No player and Player -> Player (number) (color) can be used to assign on all Towns, Mines, Creature Generators and Heroes placed after the setting was chosen to the currently chosen player. If the "No player" option is chosen, no Heroes can be placed on the map, and all new Towns, Mines and Creature Generators are assigned to be neutral. Note, that changing player once an object remains on the map will not have any effect on it.

Help[edit | hide]

Help

  • Help. Seemingly, help does not work, except for the "About Map Editor" tab.

Tools[edit | hide]

All of the following tools can be accessed via Tools ->, as well as by pressing their appropriate icons on the Mode bar. Their variations appear on the Object bar, replacing usual objects.

Terrain[edit | hide]

Terrain tool Tools -> Terrain Terrain can be placed using the Terrain Tool (first icon on the Mode bar). The size of the brush is customizable - 1x1, 2x2, 4x4 or Area Brush (accessible on the Tool Bar, in Tools ->, as well as once "Z", "X", "C" or "V" are pressed Horn of the Abyss (Campaign/Custom), respectively), where the latter can be used to drag over a chosen area to cover it with the chosen terrain. Placing different types of terrain next to each other, particularly when using Rock or Water, causes the Map Editor to automatically adjust the shape of the terrain to best match the covered tiles. The Map Editor will try to minimize small pools of Water and Rock and connect nearby patches of a similar terrain. Note, that tiles that are half-land and half-water count as water tiles, and tiles that are half-land half-rock count as rock tiles (and half-water half-rock still counts as rock).

In the HotA Map Editor Horn of the Abyss (Campaign/Custom), Terrains can be chosen by pressing the following keys:

  • 1: Dirt
  • 2: Sand
  • 3: Grass
  • 4: Snow
  • 5: Swamp
  • 6: Rough
  • 7: Subterranean
  • 8: Lava
  • 9: Highland
  • 0: Wasteland
  • -: Water
  • =: Rock

Note that for heroes on land, Water cells count as impassable (blocked) cells and vice versa. Rock is always impassable, and additionally, no objects may be placed on Rock (even if only one cell of an object lies on the Rock, the Map Editor will reject and revert that placement).

Rivers[edit | hide]

River tool

Rivers can be placed using the River Tool (second icon on the Mode bar). There are 4 types of rivers available:

  • Clear rivers (Alt + 1 Horn of the Abyss (Campaign/Custom))
  • Icy rivers (Alt + 2 Horn of the Abyss (Campaign/Custom))
  • Muddy rivers (Alt + 3 Horn of the Abyss (Campaign/Custom))
  • Lava rivers (Alt + 4 Horn of the Abyss (Campaign/Custom))

A special eraser for rivers is available under the same part of the toolbar (Alt + 5).

Rivers may not be placed on Rock or Water terrain.

Roads[edit | hide]

Road tool

Roads can be placed using the Road Tool (3rd icon on the Mode bar). There are 3 types of roads available:

  • Dirt roads (Shift + 1 Horn of the Abyss (Campaign/Custom))
  • Gravel roads (Shift + 2 Horn of the Abyss (Campaign/Custom))
  • Cobblestone roads (Shift + 3 Horn of the Abyss (Campaign/Custom))

Roads have a special eraser, available under the same part of the toolbar (Shift + 4).

Roads may not be placed on Rock or Water terrain.

Obstacles[edit | hide]

Obstacle tool before selecting area Obstacle tool after selecting area Random, terrain-fitting obstacles can be placed on the map in a brushed area by using the Obstacle Tool (5th icon on the Mode bar). The obstacle brush can be "solid" (obstacles appear only and exactly on all passable and impassable tiles on which the solid brush was placed) or "fuzzy" (obstacles appear on all passable and impassable tiles of the solid part of the fuzzy brush, and may appear on random non-solid tiles on which the fuzzy brush was placed). The size of the brush is customizable (1x1, 2x2, 4x4, Area) and is accessible through Tools -> Obstacles or by pressing Shift + Q, Shift + W, Shift + E and Shift + R for the Solid Brush (respectively for each size) and Shift + Alt + Q, Shift + Alt + W, Shift + Alt + E, Shift + Alt + R for the fuzzy brush (again, respectively for each size).

Obstacle tool has its own Eraser that can be used to clear the solid or fuzzy brush. The "solid eraser" removes both the solid and the fuzzy brush, while the "fuzzy eraser" removes the solid and the fuzzy brush and replaces all tiles marked with either obstacle brush surrounding the cleared tiles with a fuzzy obstacle tool brush. The obstacle erasers are accessible through Tools -> Obstacles, as well as by pressing Shift + A, Shift + S, Shift + D and Shift + F for the solid eraser (respectively for each size) or Shift + Alt + A, Shift + Alt + S, Shift + Alt + D and Shift + Alt + F for the fuzzy eraser (again, respectively for each size).

Once the desired area is brushed with either fuzzy or solid brush strokes, the mapmaker may use the Place Obstacles tool (Shift + O) to fill the brushed area with random, terrain-fitting obstacles.

Objects[edit | hide]

See: Map Editor - Objects.

Map Specifications[edit | hide]

Map Specifications, accessible through Tools ->, as well as by pressing Ctrl+Enter, consist of various customizable map rules.

General[edit | hide]

The general map specifications specify:

  • Map version. Note, that Map Editors cannot recognize other map versions than those they can save as; as a result, SoD Map Editor Map Editor will only recognize RoE Restoration of Erathia, AB Armageddon's Blade and SoD Shadow of Death map versions. The HotA Map Editor Horn of the Abyss (Campaign/Custom) will state the map version to be HotA, even if the last saved edit was done in an older map editor version.
  • Map difficulty. Note, that despite what the Difficulty page states, Easy, Normal, Hard, Expert and Impossible Map difficulty determine AI behaviour and are entirely separate from 80%, 100%, 130%, 160%, 200% (also known as Easy, Normal, Hard, Expert, Impossible) game difficulty, which primarily controls human and AI resources, AI growth and resource growth as well as the AI behaviour, but to a much lesser extent. Map difficulty is set here in the Map Specifications, while the game difficulty is set by the player when starting a scenario.
  • Allowed game Difficulty Horn of the Abyss (Campaign/Custom). The player will not be able to select other difficulty than one from the list.
  • Existance of the underground ("Two level map"). Note, that the Underground may be added or removed during the game.
  • Whether monster/plague weeks should be allowed Horn of the Abyss (Campaign/Custom). If disabled, all weeks will have no effect.
  • Whether the map is an Arena Horn of the Abyss (Campaign/Custom).As the Map Editor itself states: "An arena map is a map designed for a single fight of two heroes with a preliminary preparation. Such map must contain at least one combat place." The HotA Map Editor will warn the first time a map is set as an Arena; however, disagreeing with the message (to revert the change) has no effect and the message never reappears.
  • Hero experience level limit. Heroes will not be able to level up past that level. This option is unavailable in Restoration of Erathia. See: Map Editor - Objects#Heroes for more information.
  • Combat round limit Horn of the Abyss (Campaign/Custom): This can be used to limit players from using strategies such as Harpy Hag kiting. The limit will apply to all battles, and once it's crossed, the attacking player will automatically lose.
  • Map name (max 30 characters; this field is required for maps to be visible in the game).
  • Map description (max 300 characters).

Player Specs[edit | hide]

For each player present on the map (i.e. with at least one hero or one town), the following specifications can be applied:

  • Has main town: This option seems to only have an effect on the AI behaviour and for generation of starting heroes.
  • Generate hero at Random Town: A random hero will be added to the map once the scenario is started, as the visitor of the main town. The random hero will be replaced by a chosen hero when selecting a scenario. Note, that the randomly generated hero is created after other random heroes on the map are assigned, and therefore if a player has one or more Random Heroes and has a random hero generated for them at their main town, they will only be able to customize one of the Random Heroes, and not the generated one, when choosing their starting town and hero.
  • Playability: A player may be both available for the AI and the Human player, or only for the AI.
  • Forbid hiring heroes Horn of the Abyss (Campaign/Custom): This option can be used to make the player unable to ever hire any heroes, including his own heroes if they surrender or flee combat. Use it with caution.
  • Behavior: This setting can be used to specify the behaviour of the AI player (by default it is random). For more information, see: AI Behavior.
  • Allowed Alignments: (by default "Random") state which Towns are available to the player. The Random town pool will only roll from the available towns.

Teams[edit | hide]

If teams are enabled, up to 7 teams may be set with each player belonging to one, chosen Team. Teams cannot be customized if there are less than 3 players on the map.

Rumors[edit | hide]

Rumors appear in the Tavern. If customized, the prepared rumors will take precedence over the generic ones.

Special Victory condition[edit | hide]

Special Victory condition may be set to one of the following:

  • None (therefore only the standard condition, Defeat all enemies, applies);
  • Acquire a specific artifact.1 The specific Artifact can be the Grail, but it cannot be a Spell Scroll. The artifact does not have to exist on the map or be allowed in the Map Specifications.
  • Accumulate creatures.1,2 A chosen amount of a specific creature can be set. Note, that the mapmaker may not specify more than one creature type here.
  • Accumulate resources.1,2 A chosen amount of one specific resource can be set.
  • Upgrade a specific Town.2 One Hall upgrade and one Castle level must be chosen.
  • Build the Grail structure. The destination town for the Grail may be customized, or left as default - Any Town. Note, that if a player builds the Grail structure in a town other than the one chosen, the game won't end until only one player remains.
  • Eliminate all monsters Horn of the Abyss (Campaign/Custom).2
  • Defeat a specific hero. The hero must be present on the map or in Prison. Note, that if a player is the owner of the hero, either through hiring them or starting with them, they cannot win the game. If the hero is defeated by somebody else than the player (f.e. a Dragon Utopia), the game is not finished until only one player remains.
  • Capture a specific town.1,2
  • Defeat a specific monster.2 The monster must be present somewhere on the map.
  • Flag all creature dwellings.1,2
  • Flag all mines.1,2
  • Transport a specific artifact.1 The specific Artifact can be the Grail, but it cannot be a Spell Scroll. The artifact does not have to exist on the map or be allowed in the Map Specifications. The destination town must be customized.
  • Survive for a certain time Horn of the Abyss (Campaign/Custom).2 After the chosen time, the first human player in player order (1-8) automatically wins.

1 For these victory conditions, the special victory condition may be set to also apply to computer opponents.
2 For these victory conditions, standard victory (defeat all enemies) can also be set. If it is not set, the game will go on until the special victory condition is met.

Note, that special victory conditions for which applicability of the standard victory condition (defeat all enemies) cannot be customized (Acquire Artifact, Transport Artifact, Build a Grail structure) by default allow the standard victory condition.

Special Loss condition[edit | hide]

  • None: The players lose when they lose all their towns and heroes, or they don't have any towns for a period of at least 7 days.
  • Lose a specific town: The town must be specified. The first player (including AI) to lose this town loses the game. The town does not have to be under the control of any players for this condition to be set. If the town is neutral, conquering it for the first time will not result in a victory/loss.
  • Lose a specific hero: The first player (including AI) to lose this hero loses the game. Note, that the hero may be imprisoned.
  • Time expires: The first human player to start their turn on the chosen date loses the game.

Timed Events[edit | hide]

An unlimited number of timed events can be added. Timed events automatically sort by date, but their order on a specific day can be customized, using "Move Up" and "Move Down" buttons. The following properties of events may be edited:

  • General:
    • Event name: This name only appears in the Map Editor and can help the mapmaker organize their work.
    • Message: This message will play out to the players as the Event takes place.
    • Players to which it applies: Specific players may be added to ignore this event. At least one player has to be marked.
    • Apply event to human players: If ticked, the event will also apply to humans.
    • Apply event to computer players: If ticked, the event will also apply to AI. Note, that at least one of these two options has to be marked.
    • Day of first occurrence: The event will play on the chosen date.
    • Subsequent occurrences: If set to "Never", the event will not repeat. If set to a different value, the event will repeat every chosen time interval. Note, that repeating events take priority over other events lower down the list.
  • Resources: Here, resources given or taken from the player to which the event applies may be customized.

Note that some timed events only apply to specific towns. See: Map Editor - Objects#Town properties

Heroes[edit | hide]

The mapmaker can ban, enable and edit chosen heroes. This includes campaign heroes (such as Gelu, Dracon or Frederick, as well as banned-by-default heroes (such as Galthran in Horn of the Abyss).

Editing Heroes[edit | hide]

For editing heroes placed on the map, see Map Editor - Objects#Hero properties.

Heroes can be customized on the map as a whole in the following ways:

  • General
    • Name.
    • Experience (and Experience level Horn of the Abyss (Campaign/Custom)).
    • Portrait. Note, that portraits can repeat between different heroes; on top of that, heroes may use campaign portraits.
    • Gender. This only changes the appearance on the map.
    • Always add skills Horn of the Abyss (Campaign/Custom): If set to true, the hero will gain extra skills from the additional experience customized above.
    • Hero can't gain experience Horn of the Abyss (Campaign/Custom): If set to true, the hero will not be able to gain any experience, no matter the experience level limit for the map.
    • May be hired by: The following players may hire this hero. Other players will not see the hero in the tavern, or in the Adventure Map Tavern. Note, that heroes in Prisons or Hero Camps Horn of the Abyss may be hired, even if this option states otherwise.
  • Biography.
  • Primary skills: These are the starting primary skills. Higher level heroes will be automatically levelled up, and therefore will have the appropriately higher primary skills.
  • Secondary skills: These are the starting secondary skills. See Primary skills.
  • Artifacts: Various artifacts, excluding the Grail and Spell scrolls Map Editor (available in Horn of the Abyss), may be added here.
    • Has spellbook.
  • Spells: These spells will appear in the hero's spellbook, provided he has one, at the beginning of the game.

Note, that specialities and starting armies may not be customized. Therefore it is advised to customize a hero with the appropriate specialty to fit your desired hero.

Artifacts[edit | hide]

Chosen artifacts may be banned here. They will not be randomly spawned as a reward or as a replacement for Random Artifacts. They may still be added to Heroes, Creature Banks, Seer's Hut rewards or placed on the map by the mapmaker.

Spells[edit | hide]

The mapmaker may ban chosen spells here (only in Shadow of Death and Horn of the Abyss Map Editor). They will not randomly spawn in Mage guilds or Spell scrolls and won't be accessible from artifacts such as Spell scrolls, Tomes of elements or the Spellbinder's Hat. Adding them to a Mage guild manually won't work.

Secondary skills[edit | hide]

Available secondary skills can be customized by banning or enabling chosen skills. Heroes who start with a banned skill will still be able to upgrade them, but other heroes won't be able to learn these skills, apart from the Universities (as long as they're customized to give the chosen skill), customized Scholars, Events and Pandora's Boxes. Witch Huts will automatically ignore banned skills when choosing a random skill to teach, and if customized to only provide a banned skill, will appear empty, with an appropriate message.

User commentary

[Show user commentary]
[Hide user commentary]
Some may find the information in this section subjective or irrelevant.

For further support with the Map Editor, see Map Editor - Guide.


Gallery[edit | hide]

See also:[edit | hide]


External resources (in Polish only):