Editing Template Editor

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 108: Line 108:
=== Spells ===
=== Spells ===


This setting controls which spells can or cannot appear. Banned spells will not appear in [[Mage Guild]]s, [[Shrine]]s, [[Pyramid]]s, [[Spell Scroll]]s, [[Pandora's Box]] and [[Scholar (Adventure Map)|Scholars]], and will not be granted by Tomes of Magic and [[Spellbinder's Hat]]. But they will still be available as hero starting spells. In particular, note that if the hero [[Gem]] is allowed, her starting spell will always be [[Summon Boat]] if water content setting is "Normal" or "Islands", and [[Bless]] otherwise. Special spells ([[Titan's Lightning Bolt]] and creature abilities: Stone, Poison, Bind, Disease, Paralyze, Aging, Death Cloud, Lightning Strike ([[Thunderbird]]s), Dispel Good, Death Stare and Acid Breath) are not affected by this setting. By default, the following spells are disabled:
This setting controls which spells can or cannot appear. Banned spells will not appear in [[Mage Guild]]s, [[Shrine]]s, [[Pyramid]]s, [[Spell Scroll]]s, [[Pandora's Box]] and [[Scholar]]s, and will not be granted by Tomes of Magic and [[Spellbinder's Hat]]. But they will still be available as hero starting spells. In particular, note that if the hero [[Gem]] is allowed, her starting spell will always be [[Summon Boat]] if water content setting is "Normal" or "Islands", and [[Bless]] otherwise. Special spells ([[Titan's Lightning Bolt]] and creature abilities: Stone, Poison, Bind, Disease, Paralyze, Aging, Death Cloud, Lightning Strike ([[Thunderbird]]s), Dispel Good, Death Stare and Acid Breath) are not affected by this setting. By default, the following spells are disabled:


* [[Summon Boat]], [[Scuttle Boat]] and [[Water Walk]] if a random card is generated with water content: "None".
* [[Summon Boat]], [[Scuttle Boat]] and [[Water Walk]] if a random card is generated with water content: "None".
Line 126: Line 126:
=== Secondary Skills ===
=== Secondary Skills ===


This setting controls which secondary skills can be learned. Banned skills will not appear when a hero levels up, nor anywhere else on the map, including [[Witch Hut]]s, [[Universities]] and [[Scholar (Adventure Map)|Scholars]], but they will still be available as heroes starting skills. By default, the following skills are banned:
This setting controls which secondary skills can be learned. Banned skills will not appear when a hero levels up, nor anywhere else on the map, including [[Witch Hut]]s, [[Universities]] and [[Scholar]]s, but they will still be available as heroes starting skills. By default, the following skills are banned:


* [[Navigation]] if a random map is generated with a water level of "None".
* [[Navigation]] if a random map is generated with a water level of "None".
Line 147: Line 147:
* [[#zone_sparseness|Zone sparseness]] setting;
* [[#zone_sparseness|Zone sparseness]] setting;
* [[#rock_blocks|Rock blocks]] setting. So zone size must be adjusted by trial and error until the right size is obtained. Adjusting [[#zone_sparseness|zone sparseness]] and [[#rock_blocks|rock blocks]] may also help to have better control over zone sizes.
* [[#rock_blocks|Rock blocks]] setting. So zone size must be adjusted by trial and error until the right size is obtained. Adjusting [[#zone_sparseness|zone sparseness]] and [[#rock_blocks|rock blocks]] may also help to have better control over zone sizes.
Note: Template generation works best when all zones are the same size. Size for Junction zone may differ and interfere with neighbour zones' sizes.


<span id="zone_placement"></span>
<span id="zone_placement"></span>
Line 323: Line 321:
** Frequency: 25.
** Frequency: 25.
** Maximum on the map: unlimited.
** Maximum on the map: unlimited.
** Maximum per zone: 1 (cannot be increased).
** Maximum per zone: 1.
** Terrain types: any except water.
** Terrain types: any except water.
* [[Corpse]]
* [[Corpse]]
Line 331: Line 329:
** Maximum per zone: unlimited.
** Maximum per zone: unlimited.
** Terrain types: sand, rough.
** Terrain types: sand, rough.
* [[Derrick]]
** Value: 750.
** Frequency: 30.
** Maximum on the map: unlimited*.
** Maximum per zone: unlimited.
** Terrain types: wasteland.
* [[Marletto Tower]]
* [[Marletto Tower]]
** Value: 1500.
** Value: 1500.
Line 347: Line 339:
** Frequency: 50.
** Frequency: 50.
** Maximum on the map: unlimited.
** Maximum on the map: unlimited.
** Maximum per zone: 1 (cannot be increased).
** Maximum per zone: 1.
** Terrain types: any except water.
** Terrain types: any except water.
* [[Faerie Ring]]
* [[Faerie Ring]]
Line 379: Line 371:
** Maximum per zone: unlimited.
** Maximum per zone: unlimited.
** Terrain types: dirt, grass, swamp, subterranean, highlands.
** Terrain types: dirt, grass, swamp, subterranean, highlands.
* [[Grave]]
** Value: 500.
** Frequency: 30.
** Maximum on the map: unlimited.
** Maximum per zone: unlimited.
** Terrain types: wasteland.
* [[Hut of the Magi]] (disabled by default)
* [[Hut of the Magi]] (disabled by default)
** Value: 100.
** Value: 100.
Line 463: Line 449:
** Maximum per zone: unlimited.
** Maximum per zone: unlimited.
** Terrain types: any except water.
** Terrain types: any except water.
* [[Prospector]]
** Value: 500.
** Frequency: 30.
** Maximum on the map: unlimited*.
** Maximum per zone: unlimited.
** Terrain types: wasteland.
* [[Pyramid]]
* [[Pyramid]]
** Value: 5000.
** Value: 5000.
Line 523: Line 503:
** Maximum per zone: 1 (cannot be increased).
** Maximum per zone: 1 (cannot be increased).
** Terrain types: any except water.
** Terrain types: any except water.
* [[Scholar (Adventure Map)|Scholar]]
* [[Scholar]]
** Value: 1500.
** Value: 1500.
** Frequency: 100.
** Frequency: 100.
Line 565: Line 545:
** Maximum per zone: 1.
** Maximum per zone: 1.
** Terrain types: any except water.
** Terrain types: any except water.
* [[Sirens]]
* [[Mermaids]]
** Value: 100.
** Value: 100.
** Frequency: 20.
** Frequency: 20.
Line 601: Line 581:
** Maximum per zone: 1 (cannot be increased).
** Maximum per zone: 1 (cannot be increased).
** Terrain types: dirt, grass, rough, highlands.
** Terrain types: dirt, grass, rough, highlands.
* [[Trailblazer]]
** Value: 200.
** Frequency: 40.
** Maximum on the map: unlimited*.
** Maximum per zone: 1.
** Terrain types: wasteland.
* [[Learning Stone]]
* [[Learning Stone]]
** Value: 1500.
** Value: 1500.
Line 643: Line 617:
** Maximum per zone: unlimited.
** Maximum per zone: unlimited.
** Terrain types: any except water.
** Terrain types: any except water.
* [[Warlock's Lab]]
** Value: 10000.
** Frequency: 100.
** Maximum on the map: unlimited*.
** Maximum per zone: 1.
** Terrain types: wasteland, snow.
* [[Warrior's Tomb]]
* [[Warrior's Tomb]]
** Value: 6000.
** Value: 6000.
Line 734: Line 702:
** Terrain types: highlands.
** Terrain types: highlands.
* [[Ancient Lamp]] (disabled by default)
* [[Ancient Lamp]] (disabled by default)
** Value: 5000.
** Value: 7000.
** Frequency: 200.
** Frequency: 10.
** Maximum on the map: unlimited.
** Maximum on the map: unlimited.
** Maximum per zone: unlimited.
** Maximum per zone: unlimited.
Line 859: Line 827:
** Value: 30000.
** Value: 30000.
** Frequency: 2.
** Frequency: 2.
* You can also add a [[Pandora's Box]] with a custom level range and a custom set of [[magic school]]s, but there are no default settings for such object.
* You can also add a [[Pandora's Box]] with a custom level range and a custom set of [[school of magic|magic school]]s, but there are no default settings for such object.


If all spells of some [[Pandora's Box]] are banned at template level, then that [[Pandora's Box]] is automatically banned too.
If all spells of some [[Pandora's Box]] are banned at template level, then that [[Pandora's Box]] is automatically banned too.
Line 962: Line 930:
** Maximum on the map: unlimited.
** Maximum on the map: unlimited.
** Maximum per zone: unlimited.
** Maximum per zone: unlimited.
** Terrain types: water.
** Terrain types: any except water.
* [[Temple of the Sea]]
* [[Temple of the Sea]]
** Value: 10000.
** Value: 10000.
Line 1,108: Line 1,076:
There is also a Random Resource object, with its own settings, which is replaced by a specific resource at the start of the game.
There is also a Random Resource object, with its own settings, which is replaced by a specific resource at the start of the game.


<span id="quest_artifact_for_seers_hut"></span> '''[[Seer's Hut]] quest artifact'''. This object is a random artifact of level 1 (treasure artifact), which is not part of any compound artifact. This artifact is unique on the map. When this object is generated, an unguarded [[Seer's Hut]] is created in another zone on the map, looking for the artifact. Usually seer is placed in a neighbour zone or 2 zones away. This object is divided in several categories depending on the reward given by the [[Seer's Hut]].
<span id="quest_artifact_for_seers_hut"></span> '''[[Seer's Hut]] quest artifact'''. This object is a random artifact of level 1 (treasure artifact), which is not part of any compound artifact. This artifact is unique on the map. When this object is generated, an unguarded [[Seer's Hut]] is created in another zone on the map, looking for the artifact. This object is divided in several categories depending on the reward given by the [[Seer's Hut]].


* Maximum on the map: unlimited.
* Maximum on the map: unlimited.
Line 1,238: Line 1,206:
* Gold Mine
* Gold Mine
** Value: 7000.
** Value: 7000.
<div id="*">* This is probably a bug. If you select unlimited in the settings of this object on the map, there will be no more than 32 of them.


==== Creature Rewards ====
==== Creature Rewards ====
Line 1,303: Line 1,268:
Each group is generated as follows. A random number '''total_value''' is generated within the value range of the group's treasure category. Then, an object with a value between '''total_value / 4''' and '''total_value''' is randomly selected among valid objects for this zone. The probability for an object to be selected is proportional to its frequency.
Each group is generated as follows. A random number '''total_value''' is generated within the value range of the group's treasure category. Then, an object with a value between '''total_value / 4''' and '''total_value''' is randomly selected among valid objects for this zone. The probability for an object to be selected is proportional to its frequency.


Then, as long as the value sum '''group_value''' of already generated objects meets one of the conditions '''total_value - group_value &gt;= 1500''' or '''group_value &lt; total_value / 2''', another object with a value between '''0.25*(total_value - group_value)''' and '''1.25*(total_value - group_value)''' is randomly selected and added to the group. This process is repeated until none of the 2 conditions are met, or no valid object can be found within the requested value range. Object groups can be made of a single object.
Then, as long as the value sum '''group_value''' of already generated objects meets one of the conditions '''total_value - group_value &lt; 1500''' or '''group_value &lt; total_value / 2''', another object with a value between '''0.25*(total_value)''' and '''1.25*(total_value - group_value)''' is randomly selected and added to the group. This process is repeated until none of the 2 conditions are met, or no valid object can be found within the requested value range. Object groups can be made of a single object.
 
In HotA strength of treasure object guards that can block the road is limited to one third of zone maximum treasure value (possible bug - it looks like right now the limit is rather ~42,25% instead of 33%. Also take into an account, that number of creatures will always be lower than final value, f.e. if max value in zone is 10000, then max road block is ~4225. However, 76 pixies * 55 = 4180 < 4225, so pixies will block the road).


=== Objects and Connections Guards ===
=== Objects and Connections Guards ===
Line 1,449: Line 1,412:
* It is recommended to ensure that in each zone, there is a sufficient number of one-cell objects - that is, with a single trigger cell and without obstacle cells (for example, Resources, Artifacts, [[Pandora's Box]], [[Serpent Fly Hive]] and fit into treasure ranges. Otherwise, due to the amount of obstacles in the zone, RMG cannot place large objects properly, and may interrupt object generation, leaving some areas empty.
* It is recommended to ensure that in each zone, there is a sufficient number of one-cell objects - that is, with a single trigger cell and without obstacle cells (for example, Resources, Artifacts, [[Pandora's Box]], [[Serpent Fly Hive]] and fit into treasure ranges. Otherwise, due to the amount of obstacles in the zone, RMG cannot place large objects properly, and may interrupt object generation, leaving some areas empty.
* For external dwellings, for [[Pandora's Box]] with creatures, and for [[Seer's Hut]] quest artifacts with creatures, value cannot be customized. It is calculated based on the number of zones with towns/castles of different factions. But you can adjust the treasure ranges of zones so they include required values.
* For external dwellings, for [[Pandora's Box]] with creatures, and for [[Seer's Hut]] quest artifacts with creatures, value cannot be customized. It is calculated based on the number of zones with towns/castles of different factions. But you can adjust the treasure ranges of zones so they include required values.
* When maximal number per zone is defined for [[Pandora's Box]] with creatures and for [[Seer's Hut]] quest artifacts with creatures, it could be doubled if only level of unit is selected. F.e. if only 1 level 2 pandora is allowed, two will be created instead - one with archers and one with marksman (upgraded level 2). Similarly, selecting f.e. max of 1 quest artifact for level 5 may create 3 boxes on neutral zone - troll, gold golem and fangarm.
* External dwellings, [[Pandora's Box]] with creatures and [[Seer's Hut]] quest artifacts with creatures can be generated only in zones where [[#zone_faction|zone faction]] is the same as creature faction. But it is possible to [[#force_neutral_creatures|force zone faction to be neutral]].
* External dwellings, [[Pandora's Box]] with creatures and [[Seer's Hut]] quest artifacts with creatures can be generated only in zones where [[#zone_faction|zone faction]] is the same as creature faction. But it is possible to [[#force_neutral_creatures|force zone faction to be neutral]].
* Sometimes an object is rarely generated due to its low frequency. Increasing object frequency increases the probability of generation.
* Sometimes an object is rarely generated due to its low frequency. Increasing object frequency increases the probability of generation.
* Entrance to a building will not be generated directly above another building entrance, at least 1 square will be left. F.e. shrine will not be placed directly on top of another shrine. This doesn't count pickable objects or terrain. [pending for tests]
== See also ==
* [[Mirror Template]]
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: