Template:Scenario: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(191 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{{description}}}
<includeonly><span style="float:right; padding-right:1em;">__TOC__</span>
{{#ifexist: File:{{{scenario}}} map large.{{{image_type|png}}} | [[File:{{{scenario}}} map large.{{{image_type|png}}}]] | <span class="plainlinks">[//heroes.thelazy.net/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{scenario}}} map large.{{{image_type|png}}}}} Upload World Map]</span> }}
{| border=1 style=" background-color: #{{Blue 1}}; color: white; border: 1px solid #{{Blue 2}}; text-align:left; {{Sans}}"
{{{no_underground|{{#ifexist: File:{{{scenario}}} underground map large.{{{u_image_type|png}}} | [[File:{{{scenario}}} underground map large.{{{u_image_type|png}}}]] | <span class="plainlinks">[//heroes.thelazy.net/index.php?title=Special:Upload&wpDestFile={{urlencode:{{{scenario}}} underground map large.{{{u_image_type|png}}}}} Upload Underground Map]</span> }}}}}
|- style="background-color: #{{Blue 1}};"
! rowspan=6 {{#if: {{{Cmap|}}} |  | style="display: none;"}} | {{#invoke:cmap|cmap|{{{Cmap|}}}|400px|300px}}
! style="color: #{{Gold 2}}; {{Shadow}} height:10px;" colspan="2" |<!--Scenario Name:<br>--><span style="font-size:180%; {{Serif}}">{{{scenario|Name}}}</span>
| width="32px" style="text-align:center; vertical-align:center;"| {{#switch: {{{source|}}}| roe = [[File: Restoration of Erathia map icon.png|Restoration of Erathia|link=Expansions]] | ab = [[File: Armageddon's Blade map icon.png|Armageddon's Blade|link=Expansions]]| sod = [[File: Shadow of Death map icon.png|Shadow of Death|link=Expansions]]| hc = [[File: Heroes Chronicles map icon.png|Heroes Chronicles|link=Expansions]]| hota = [[File: Horn of the Abyss map icon.png|Horn of the Abyss|link=Expansions]]| }}
| width="32px" style="text-align:center; vertical-align:center;"| {{#if:{{{num_play|}}}|{{scenario player count|total={{#explode:{{{num_play}}}|/|0}}|human={{#explode:{{{num_play}}}|/|1}}}}}}
| width="32px" style="text-align:center; vertical-align:center;"| {{{{{size|S}}} map size icon}}
| width="32px" style="text-align:center; vertical-align:center;"| {{Underground map icon {{{underground|enabled}}}}}
|-
| colspan="6" width="500px" style="white-space:wrap; vertical-align:top;" |<!--<span style="color: #{{Gold 2}}; {{Shadow}}">Scenario Description:</span><br>-->{{{description|Scenario description goes there.}}}
|- style="height:10px;"
| width="250px" | <span style="color: #{{Gold 2}}; {{Shadow}}">Victory condition:</span><br>{{#switch: {{{victory|}}}| get_cr = [[File:Accumulate Creatures.png|link=Victory and Loss Conditions]] Accumulate Creatures | get_res = [[File:Accumulate Resources.png|link=Victory and Loss Conditions]] Accumulate Resources or Defeat All Enemies | get_res2 = [[File:Accumulate Resources.png|link=Victory and Loss Conditions]] Accumulate Resources | get_art = [[File:Acquire Artifact.png|link=Victory and Loss Conditions]] Acquire Artifact or Defeat All Enemies | get_art2 = [[File:Acquire Artifact.png|link=Victory and Loss Conditions]] Acquire Artifact | get_grail = [[File:Build a Grail Structure.png|link=Victory and Loss Conditions]] Build a Grail Structure or Defeat All Enemies  | get_grail2 = [[File:Build a Grail Structure.png|link=Victory and Loss Conditions]] Build a Grail Structure | get_town = [[File:Capture Town.png|link=Victory and Loss Conditions]] Capture Town or Defeat All Enemies | get_town2 = [[File:Capture Town.png|link=Victory and Loss Conditions]] Capture Town | def_all = [[File:Defeat All Enemies.png|link=Victory and Loss Conditions]] Defeat All Enemies | def_all_mon = [[File:Defeat All Monsters.png|link=Victory and Loss Conditions]] Defeat All Monsters or Defeat All Enemies | def_all_mon2 = [[File:Defeat All Monsters.png|link=Victory and Loss Conditions]] Defeat All Monsters | def_hero = [[File:Defeat Hero.png|link=Victory and Loss Conditions]] Defeat Hero or Defeat All Enemies | def_mon = [[File:Defeat Monster.png|link=Victory and Loss Conditions]] Defeat Monster or Defeat All Enemies | def_mon2 = [[File:Defeat Monster.png|link=Victory and Loss Conditions]] Defeat Monster | flag_cr = [[File:Flag All Creature Dwellings.png|link=Victory and Loss Conditions]] Flag All Creature Dwellings or Defeat All Enemies | flag_cr2 = [[File:Flag All Creature Dwellings.png|link=Victory and Loss Conditions]] Flag All Creature Dwellings | flag_mine = [[File:Flag All Mines.png|link=Victory and Loss Conditions]] Flag All Mines or Defeat All Enemies | flag_mine2 = [[File:Flag All Mines.png|link=Victory and Loss Conditions]] Flag All Mines | survive = [[File:Survive Until Time Expires.png|link=Victory and Loss Conditions]] Survive Until Time Expires | trans_art = [[File:Transport Artifact.png|link=Victory and Loss Conditions]] Transport Artifact or Defeat All Enemies | trans_art2 = [[File:Transport Artifact.png|link=Victory and Loss Conditions]] Transport Artifact | up_town = [[File:Upgrade Town.png|link=Victory and Loss Conditions]] Upgrade Town or Defeat All Enemies | up_town2 = [[File:Upgrade Town.png|link=Victory and Loss Conditions]] Upgrade Town | }}{{#if:{{{victory_hint|}}}|<nowiki>:</nowiki> {{{victory_hint}}}}}
| colspan="5" width="250px" | <span style="color: #{{Gold 2}}; {{Shadow}}">Loss condition:</span><br>{{#switch: {{{loss|}}}| all = [[File:Lose All Your Towns and Heroes.png|link=Victory and Loss Conditions]] Lose All Your Towns and Heroes | hero = [[File:Lose Hero.png|link=Victory and Loss Conditions]] Lose Hero | town = [[File:Lose Town.png|link=Victory and Loss Conditions]] Lose Town | time = [[File:Time Expires.png|link=Victory and Loss Conditions]] Time Expires | }}{{#if:{{{loss_hint|}}}|<nowiki>:</nowiki> {{{loss_hint}}}}}
|- style="height:10px;"
| Allies: {{{allies|{{red}}}}}
| colspan=5 | Enemies: {{{enemies|}}}
|- {{#if: {{{difficulty|}}} | style="height:10px; text-align:center;" | style="display: none;"}}
| colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br><!--<span style="float:left;">-->{{{bonus|{{-}}}}}<!--</span>-->
| colspan=2 align="center" | {{#ifeq:{{{difficulty|}}}|||{{{{{difficulty|Normal}}} difficulty}}}}
|- {{#if: {{{carry|}}} | style="height:10px; text-align:center; vertical-align:top;" | style="display: none;"}}
| colspan=4 | <span style="color: #{{Gold 2}}; {{Shadow}}">Carried to next scenario:</span><br>{{{carry|}}}
| colspan=2 | <span style="color: #{{Gold 2}}; {{Shadow}}">Max level:</span><br><span style="font-size:140%;">[[File:Exp2.gif|40px]]{{{max_lvl|}}}</span>
|}
{{clear|left}}<span style='float:left;'>
{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=border=1 style="background-color: #{{Blue 1}}; 1px solid #{{Blue 2}};"|else=style="display:none;"}}
|- {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 1}};"|else=style="display:none;"}}
| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|170px]]|else=}}
|}</span><span style='float:left;'>
{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} minimap.png|then=border=1 style="background-color: #{{Blue 1}}; 1px solid #{{Blue 2}};"|else=style="display:none;"}}
|- {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 1}};"|else=style="display:none;"}}
|  {{exists|page=File:{{{imagelink|{{{scenario}}}}}} minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} minimap.png|170px]]|else=}}
|}</span><span style='float:left;'>
{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|then=border=1 style="background-color: #{{Blue 1}}; 1px solid #{{Blue 2}};"|else=style="display:none;"}}
|- {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 1}};"|else=style="display:none;"}}
|  {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|then=[[File:{{{imagelink|{{{scenario}}}}}} underground map {{{u_image_size|auto}}}.{{{u_image_type|png}}}|170px]]|else=}}
|}</span><span style='float:left;'>
{| {{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|then=border=1 style="background-color: #{{Blue 1}}; 1px solid #{{Blue 2}};"|else=style="display:none;"}}
|- {{exists|page=File:{{{imagelink|{{{scenario}}}}}} map {{{image_size|auto}}}.{{{image_type|png}}}|then=style="vertical-align:top; background-color: #{{Blue 1}};"|else=style="display:none;"}}
{{exists|page=File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|then=[[File:{{{imagelink|{{{scenario}}}}}} underground minimap.png|170px]]|else=}}
|}</span>


== See also ==
{{clear|left}}
* [[List of maps]]
* [[List of maps (HotA)]]


[[Category:Maps]]</includeonly><noinclude>
{{#if: {{{difficulty|}}} | [[Category:Campaign scenarios]] |
[[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]]}}{{#ifeq:{{PAGENAME}}|Scenario||{{hide page title}}}}</includeonly><noinclude>
==Lazy Variables==
* image_size: small, huge, etc. (default is auto)
* u_image_size: small, huge, etc. (default is auto)


==Variables==
{{ScenarioVars table}}
* scenario
* description
* no_underground
* image_type
* u_image_type


==Usage==
==Examples==
<pre>{{scenario
===Single Scenario===
|scenario=Emerald Isles
{{scenario
|description=The Emerald Isles lie along a major shipping route, which several Barons each seek to control for themselves. You have been chosen to 'persuade' the others to give up their claims.
| scenario       = Emerald Isles
|no_underground=
| description   = The Emerald Isles lie along a major shipping route, which several Barons each seek to control for themselves. You have been chosen to 'persuade' the others to give up their claims.
}}</pre>
| num_play      = 4/4
| size          = M
| source        = roe
| victory        = def_all
| loss          = all
| allies        = {{red}}
| enemies        = {{blue}}{{tan}}{{purple}}
| underground    = disabled
}}
===Campaign Scenario===
{{scenario
| scenario      = Savaging the Scavengers
| description    = Obliterate your opponents, but once again do not lose the hero Mutare. To do so would mean instant destruction. Mutare will be limited to eighteenth level, but will carry over the Dragon Scale Shield to use in the next scenario.
| num_play      = 3/1
| size          = L
| source        = ab
| victory        = def_all
| loss          = hero
| allies        = {{red}}
| enemies        = {{tan}}{{green}}
| bonus          = {{BonusArt|Quiet Eye of the Dragon}}{{BonusArt|Dragon Wing Tabard}}{{BonusCr|Medusa|4}}
| difficulty    = Hard
| Cmap          =
}}


Use <span class=plainlinks>[https://tinypng.com/ TinyPNG.com]</span> to compress the map images before uploading.


{{scenario
| scenario      = Little Timmy's Campaign Map
| description    = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
| underground    = disabled
| num_play      = 5/3
| size          = XH
| source        = sod
| victory        = get_cr
| victory_hint  = 1 {{Cn|Peasant|noname=}}
| loss          = time
| loss_hint      = 6 months
| allies        = {{red}}{{green}}
| enemies        = {{blue}}{{tan}}{{purple}}
| difficulty    = impossible
| bonus          = {{BonusCr|Wyvern Monarch|3}}{{BonusArt|Skull Helmet}}{{BonusR|Gold|5000}}{{BonusB|Castle|Stables}}
| carry          = {{Hn|Dracon|noname=}}{{An|Shield of the Yawning Dead|noname=}}<br>{{carry|3}}
| max_lvl        = 13
| Cmap          = [[File:Campaign map - colored province.png|400px|Beat the bad guys before they do the bad stuff!]]
}}
Use <span class=plainlinks>[https://tinypng.com TinyPNG.com (<5MB)] or [https://compresspng.com compresspng.com (>5MB)] or [https://www.iloveimg.com/compress-image iloveimg.com (>50MB)]</span> to compress the map images before uploading. (The author of [https://github.com/FreeHeroes FreeHeroes] is working on a method of auto generating map images. So as soon as that is done we will be able to easily complete this without manually uploads anymore.)
__NOTOC__
[[Category:Map templates]]</noinclude>
[[Category:Map templates]]</noinclude>

Latest revision as of 17:45, 21 October 2024

Lazy Variables[edit | hide | hide all]

  • image_size: small, huge, etc. (default is auto)
  • u_image_size: small, huge, etc. (default is auto)

Variables

NOTE: Defaults are in bold. No bold means the default is blank.

Variable name Variable description Options Displayed
scenario Scenario name (text)
size Map size Size S
M
L
XL
H
XH
G
Size 1 (36×36) - S
Size 2 (72×72) - M
Size 3 (108×108) - L
Size 4 (144×144) - XL
Size 5 (180×180) - H
Size 6 (216×216) - XH
Size 7 (252×252) - G
image_type
u_image_type
Image type
for map pics
png
jpg
gif
etc.
underground underground
exists on map
disabled
enabled
Underground disabled
Underground enabled
description Scenario description (text)
victory Victory conditions Victory Condition get_cr
get_res
get_res2
get_art
get_art2
get_grail
get_grail2
get_town
get_town2
def_all
def_all_mon
def_all_mon2
def_hero
def_mon
def_mon2
flag_cr
flag_cr2
flag_mine
flag_mine2
survive
trans_art
trans_art2
up_town
up_town2
Accumulate Creatures
Accumulate Resources or Defeat All Enemies
Accumulate Resources
Acquire Artifact or or Defeat All Enemies
Acquire Artifact
Build a Grail Structure or Defeat All Enemies
Build a Grail Structure
Capture Town or Defeat All Enemies
Capture Town
Defeat All Enemies
Defeat All Monsters or Defeat All Enemies
Defeat All Monsters
Defeat Hero or Defeat All Enemies
Defeat Monster or Defeat All Enemies
Defeat Monster
Flag All Creature Dwellings or Defeat All Enemies
Flag All Creature Dwellings
Flag All Mines or Defeat All Enemies
Flag All Mines
Survive Until Time Expires
Transport Artifact or Defeat All Enemies
Transport Artifact
Upgrade Town or Defeat All Enemies
Upgrade Town
loss Loss conditions Loss Condition all
hero
town
time
Lose All Your Towns and Heroes
Lose Hero
Lose Town
Time Expires
allies
enemies
List of colors:
allied (min: 1)
enemy (min: 0)
{{red}}
{{blue}}
{{tan}}
{{green}}
{{orange}}
{{purple}}
{{teal}}
{{pink}}
Red
Blue
Tan
Green
Orange
Purple
Teal
Pink
source Expansion
added
Source roe
ab
sod
hc
hota




num_play # of players
(total/human)
Total Players / Human Players (total players)/(human players)
5 Total Players / 3 Human Players
3
5
difficulty Campaign default
difficulty
Easy
Normal
Hard
Expert
Impossible
Difficulty 1: Easy - The player starts with a large advantage in resources, and the computer plays poorly.Difficulty 2: Normal - The player starts with a moderate advantage in resources, and the computer plays reasonably well.
Difficulty 3: Hard - The player and the computer start with the same resources, and the computer plays to the best of its ability.Difficulty 4: Expert - The player starts with a handicap in resources, and the computer plays to the best of its ability.Difficulty 5: Impossible - The player starts with no resources, and the computer plays to the best of its ability.
bonus Campaign scenario
bonuses
{{BonusCr|(Creature Name)|(number)|loc=(location)}}
{{BonusB|(Town)|(Building)}}
{{BonusR|(resource)|(amount)}}
{{BonusArt|(artifact)}}
{{BonusH|(hero name)}}
{{BonusPri|(Skill)|(amount)}}
{{BonusSec|(Skill)|(Level)}}
{{BonusSp|(Spell)}}
Start with 3 Giant(s)
3
 Start with Stables 
Start with +12 Crystal
12
 Start with Rib Cage 
 OrrinOrrin 
Start with +3 Defense
3
 Start with Advanced Sorcery  Start with (a scroll of) Death Ripple 
Cmap Campaign map file [[File:(Campaign level filename)|400px|(right-click text)]] Queen Catherine has departed to elicit military support from King Gavin Magnus of Bracada. Other generals are fanning through the region. Establish a base of operations, rally local militia, determine the extent of the Nighon occupation, and find their invasion route.
carry Anything that carries over
to the next scenario
{{Hn|(Specific Hero)|noname=}}
{{An|(Specific Artifact)|noname=}}
{{carry|(# strongest heroes)}}
(text)
ClancyClancyLadybird of Luck
 4 strongest heroes
all artifacts
all troops
max_level Maximum hero level (level number) 18

Examples[edit | hide]

Single Scenario[edit | hide]

Emerald Isles Restoration of Erathia
4 Total Players / 4 Human Players
4
4
Size 2 (72×72) - M Underground disabled
The Emerald Isles lie along a major shipping route, which several Barons each seek to control for themselves. You have been chosen to 'persuade' the others to give up their claims.
Victory condition:
Defeat All Enemies
Loss condition:
Lose All Your Towns and Heroes
Allies: Red Enemies: BlueTanPurple
Choose a bonus:
 
Carried to next scenario:
Max level:

Campaign Scenario[edit | hide]

Savaging the Scavengers Armageddon's Blade
3 Total Players / 1 Human Player
1
3
Size 3 (108×108) - L Underground enabled
Obliterate your opponents, but once again do not lose the hero Mutare. To do so would mean instant destruction. Mutare will be limited to eighteenth level, but will carry over the Dragon Scale Shield to use in the next scenario.
Victory condition:
Defeat All Enemies
Loss condition:
Lose Hero
Allies: Red Enemies: TanGreen
Choose a bonus:
 Start with Quiet Eye of the Dragon  Start with Dragon Wing Tabard 
Start with 4 Medusa(s)
4
Difficulty 3: Hard - The player and the computer start with the same resources, and the computer plays to the best of its ability.
Carried to next scenario:
Max level:


Beat the bad guys before they do the bad stuff! Little Timmy's Campaign Map Shadow of Death
5 Total Players / 3 Human Players
3
5
Size 6 (216×216) - XH Underground disabled
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Victory condition:
Accumulate Creatures: 1 Peasant 
Loss condition:
Time Expires: 6 months
Allies: RedGreen Enemies: BlueTanPurple
Choose a bonus:
Start with 3 Wyvern Monarch(s)
3
 Start with Skull Helmet 
Start with +5000 Gold
5000
 Start with Stables 
Difficulty 5: Impossible - The player starts with no resources, and the computer plays to the best of its ability.
Carried to next scenario:
DraconDraconShield of the Yawning Dead
 3 strongest heroes
Max level:
13

Use TinyPNG.com (<5MB) or compresspng.com (>5MB) or iloveimg.com (>50MB) to compress the map images before uploading. (The author of FreeHeroes is working on a method of auto generating map images. So as soon as that is done we will be able to easily complete this without manually uploads anymore.)