Template:ScenarioVars table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Update to new underground options)
(swap def_all_mon with def_all_mon2 to line up with all other params)
 
(24 intermediate revisions by 3 users not shown)
Line 3: Line 3:
{| class="wikitable"
{| class="wikitable"
|- style="font-weight:bold;"
|- style="font-weight:bold;"
! Variable name
! colspan=2 | Variable description
! Options
! Displayed
|-
! scenario
! scenario
| colspan=2 | Scenario name
| (text)
|
|-
! size
! size
| Map size
| [[File:Size map icon.png|Size|link=Map Attributes]]
| S<br>M<br>L<br>XL<br>H<br>XH<br>G
| {{S map size icon}}<br>{{M map size icon}}<br>{{L map size icon}}<br>{{XL map size icon}}<br>{{H map size icon}}<br>{{XH map size icon}}<br>{{G map size icon}}
|-
! image_type<br>u_image_type
! image_type<br>u_image_type
| colspan=2 | Image type<br>for map pics
| '''png'''<br>jpg<br>gif<br>etc.
|
|-
! underground
! underground
| colspan=2 | underground<br>exists on map
| disabled<br>'''enabled'''
| {{Underground map icon disabled}}<br>{{Underground map icon enabled}}
|-
! description
! description
| colspan=2 | Scenario description
| (text)
|
|-
! victory
! victory
| Victory conditions
| [[File:Victory Condition map icon.png|Victory Condition|link=Victory and Loss Conditions]]
| get_cr<br>get_res<br>get_res2<br>get_art<br>get_art2<br>get_grail<br>get_grail2<br>get_town<br>get_town2<br>def_all<br>def_all_mon<br>def_all_mon2<br>def_hero<br>def_mon<br>def_mon2<br>flag_cr<br>flag_cr2<br>flag_mine<br>flag_mine2<br>survive<br>trans_art<br>trans_art2<br>up_town<br>up_town2
| [[File:Accumulate Creatures.png]] Accumulate Creatures<br>[[File:Accumulate Resources.png]] Accumulate Resources or Defeat All Enemies<br>[[File:Accumulate Resources.png]] Accumulate Resources<br>[[File:Acquire Artifact.png]] Acquire Artifact or or Defeat All Enemies<br>[[File:Acquire Artifact.png]] Acquire Artifact<br>[[File:Build a Grail Structure.png]] Build a Grail Structure or Defeat All Enemies<br>[[File:Build a Grail Structure.png]] Build a Grail Structure<br>[[File:Capture Town.png]] Capture Town or Defeat All Enemies<br>[[File:Capture Town.png]] Capture Town<br>[[File:Defeat All Enemies.png]] Defeat All Enemies<br>[[File:Defeat All Monsters.png]] Defeat All Monsters or Defeat All Enemies<br>[[File:Defeat All Monsters.png]] Defeat All Monsters<br>[[File:Defeat Hero.png]] Defeat Hero or Defeat All Enemies<br>[[File:Defeat Monster.png]] Defeat Monster or Defeat All Enemies<br>[[File:Defeat Monster.png]] Defeat Monster<br>[[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings or Defeat All Enemies<br>[[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings<br>[[File:Flag All Mines.png]] Flag All Mines or Defeat All Enemies<br>[[File:Flag All Mines.png]] Flag All Mines<br>[[File:Survive Until Time Expires.png]] Survive Until Time Expires<br>[[File:Transport Artifact.png]] Transport Artifact or Defeat All Enemies<br>[[File:Transport Artifact.png]] Transport Artifact<br>[[File:Upgrade Town.png]] Upgrade Town or Defeat All Enemies<br>[[File:Upgrade Town.png]] Upgrade Town
|-
! loss
! loss
! allies
| Loss conditions
! enemies
| [[File:Loss Condition map icon.png|Loss Condition|link=Victory and Loss Conditions]]
| all<br>hero<br>town<br>time
| <span style="white-space:nowrap;">[[File:Lose All Your Towns and Heroes.png]] Lose All Your Towns and Heroes</span><br>[[File:Lose Hero.png]] Lose Hero<br>[[File:Lose Town.png]] Lose Town<br>[[File:Time Expires.png]] Time Expires
 
|-
! allies<br>enemies
| colspan=2 | List of colors:<br>allied (min: 1)<br>enemy (min: 0)
| {{tl|red}}<br>{{tl|blue}}<br>{{tl|tan}}<br>{{tl|green}}<br>{{tl|orange}}<br>{{tl|purple}}<br>{{tl|teal}}<br>{{tl|pink}}
| {{red}}<br>{{blue}}<br>{{tan}}<br>{{green}}<br>{{orange}}<br>{{purple}}<br>{{teal}}<br>{{pink}}
 
|-
! source
! source
| Expansion<br>added
| [[File:Source map button icon.png|Source|link=Expansions]]
| roe<br>ab<br>sod<br>hc<br>hota
| [[File:Restoration of Erathia map icon.png]]<br>[[File:Armageddon's Blade map icon.png]]<br>[[File:Shadow of Death map icon.png]]<br>[[File:Heroes Chronicles map icon.png]]<br>[[File:Horn of the Abyss map icon.png]]
|-
! num_play
! num_play
! {{{show_diff|style="display: none;"}}} | difficulty
| # of players<br>(total/human)
| [[File:Players map icon.png|Total Players / Human Players|link=Map Attributes]]
| (total players)/(human players)
| <span style="float:left;">{{scenario player count|total=5|human=3}}</span>
 
|-
! difficulty
| colspan=2 | Campaign default<br>difficulty
| Easy<br>Normal<br>Hard<br>Expert<br>Impossible
| {{Easy difficulty}}{{Normal difficulty}}<br>{{Hard difficulty}}{{Expert difficulty}}{{Impossible difficulty}}
 
|-
! bonus
| colspan=2 | Campaign scenario<br>bonuses
| <nowiki>{{BonusCr|(Creature Name)|(number)|loc=(location)}}</nowiki><br><nowiki>{{BonusB|(Town)|(Building)}}</nowiki><br><nowiki>{{BonusR|(resource)|(amount)}}</nowiki><br><nowiki>{{BonusArt|(artifact)}}</nowiki><br><nowiki>{{BonusH|(hero name)}}</nowiki><br><nowiki>{{BonusPri|(Skill)|(amount)}}</nowiki><br><nowiki>{{BonusSec|(Skill)|(Level)}}</nowiki><br><nowiki>{{BonusSp|(Spell)}}</nowiki>
|{{BonusCr|Giant|3}}{{BonusB|Castle|Stables}}{{BonusR|Crystal|12}}{{BonusArt|Rib Cage}}<br>{{BonusH|Orrin}}{{BonusPri|Defense|3}}{{BonusSec|Sorcery|Advanced}}{{BonusSp|Death Ripple}}


|-
|-
| rowspan=2 | Scenario<br>name
! Cmap
| Map<br>size
| colspan=2 | Campaign map file
| rowspan=2 | Image type<br>for map pics
| <nowiki>[[File:(Campaign level filename)|400px|(right-click text)]]</nowiki>
| rowspan=2 | underground<br>exists on map
| [[File:Campaign map - colored province.png|100px|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.]]
| rowspan=2 | Scenario<br>description
| Victory conditions
| Loss conditions
| colspan=2 rowspan=2 | List of colors:<br>allied (min: 1)<br>enemy (min: 0)
| Expansion<br>added
| # of players<br>(total/human)
| rowspan=2 {{{show_diff|style="display: none;"}}} | Default<br>difficulty


|- style="text-align:center"
|-
| [[File:Size map icon.png|Size|link=Map Attributes]]
! carry
| [[File:Victory Condition map icon.png|Victory Condition|link=Victory and Loss Conditions]]
| colspan=2 | Anything that carries over<br>to the next scenario
| [[File:Loss Condition map icon.png|Loss Condition|link=Victory and Loss Conditions]]
| <nowiki>{{Hn|(Specific Hero)|noname=}}</nowiki><br><nowiki>{{An|(Specific Artifact)|noname=}}</nowiki><br><nowiki>{{carry|(# strongest heroes)}}</nowiki><br>(text)
| [[File:Source map icon.png|Source|link=Expansions]]
| {{Hn|Clancy|noname=}}{{An|Ladybird of Luck|noname=}}<br>{{carry|4}}<br>all artifacts<br>all troops
| [[File:Players map icon.png|Total Players / Human Players|link=Map Attributes]]


|-
|-
|
! max_level
| {{S map size icon}} S<br>{{M map size icon}} M<br>{{L map size icon}} L<br>{{XL map size icon}} XL<br>{{H map size icon}} H<br>{{XH map size icon}} XH<br>{{G map size icon}} G
| colspan=2 | Maximum hero level
| style="text-align:center;"|'''png'''<br>jpg<br>gif<br>etc.
| (level number)
| {{Underground map icon disabled}} no<br>{{Underground map icon enabled}} '''yes'''
| <span style="font-size:140%;">[[File:Exp2.gif|40px]]18</span>
|  
| get_cr - [[File:Accumulate Creatures.png]] Accumulate Creatures<br>get_res - [[File:Accumulate Resources.png]] Accumulate Resources<br>get_art - [[File:Acquire Artifact.png]] Acquire Artifact<br>get_grail - [[File:Build a Grail Structure.png]] Build a Grail Structure<br>get_town - [[File:Capture Town.png]] Capture Town<br>def_all - [[File:Defeat All Enemies.png]] Defeat All Enemies<br>def_all_mon - [[File:Defeat All Monsters.png]] Defeat All Monsters<br>def_hero - [[File:Defeat Hero.png]] Defeat Hero<br>def_mon - [[File:Defeat Monster.png]] Defeat Monster<br>flag_cr - [[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings<br>flag_mine - [[File:Flag All Mines.png]] Flag All Mines<br>survive - [[File:Survive Until Time Expires.png]] Survive Until Time Expires<br>trans_art - [[File:Transport Artifact.png]] Transport Artifact<br>up_town - [[File:Upgrade Town.png]] Upgrade Town
| <span style="white-space:nowrap;">all - [[File:Lose All Your Towns and Heroes.png]] Lose All Your Towns and Heroes</span><br>hero - [[File:Lose Hero.png]] Lose Hero<br> town - [[File:Lose Town.png]] Lose Town<br>time - [[File:Time Expires.png]] Time Expires
| colspan=2 |{{red}} {{tl|red}}<br>{{blue}} {{tl|blue}}<br>{{tan}} {{tl|tan}}<br>{{green}} {{tl|green}}<br>{{orange}} {{tl|orange}}<br>{{purple}} {{tl|purple}}<br>{{teal}} {{tl|teal}}<br>{{pink}} {{tl|pink}}
| [[File:Restoration of Erathia map icon.png]]roe<br>[[File:Armageddon's Blade map icon.png]]ab<br>[[File:Shadow of Death map icon.png]]sod<br>[[File:Horn of the Abyss map icon.png]]hota
|
| {{{show_diff|style="display: none;"}}} | {{Easy difficulty}} Easy<br>{{Normal difficulty}} Normal<br>{{Hard difficulty}} Hard<br>{{Expert difficulty}} Expert<br>{{Impossible difficulty}} Impossible


|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Usage==
{{ScenarioVars table}}
* Add "show_diff=" to include the difficulty column
{{ScenarioVars table|show_diff=}}
[[Category: Map templates]]</noinclude>
[[Category: Map templates]]</noinclude>

Latest revision as of 18:07, 30 April 2024

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