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 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 347: Line 345:
** 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 523: Line 521:
** 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 (Adventure Map)]]
** Value: 1500.
** Value: 1500.
** Frequency: 100.
** Frequency: 100.
Line 962: Line 960:
** 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,106:
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,303: Line 1,301:
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,445:
* 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.{{keywords}}
* 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 ==
== See also ==
* [[Mirror Template]]
* [[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: