Template:ScenarioVars table: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Add missing variables)
(Transpose the table as it got too unwieldy with # of variables)
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<br>name
| (text)
|
|-
! size
! size
| Map<br>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<br>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_art<br>get_grail<br>get_town<br>def_all<br>def_all_mon<br>def_hero<br>def_mon<br>flag_cr<br>flag_mine<br>survive<br>trans_art<br>up_town
| [[File:Accumulate Creatures.png]] Accumulate Creatures<br>[[File:Accumulate Resources.png]] Accumulate Resources<br>[[File:Acquire Artifact.png]] Acquire Artifact<br>[[File:Build a Grail Structure.png]] Build a Grail Structure<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<br>[[File:Defeat Hero.png]] Defeat Hero<br>[[File:Defeat Monster.png]] Defeat Monster<br>[[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings<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<br>[[File:Upgrade Town.png]] Upgrade Town
|-
! loss<br>loss2
! loss<br>loss2
! 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 icon.png|Source|link=Expansions]]
| roe<br>ab<br>sod<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:Horn of the Abyss map icon.png]]
|-
! num_play
! num_play
| # of players<br>(total/human)
| [[File:Players map icon.png|Total Players / Human Players|link=Map Attributes]]
| (total players)/(human players)
| {{scenario player count|total=5|human=3}}
|-
! difficulty
! difficulty
! bonus
| colspan=2 | Campaign default<br>difficulty
! map
| Easy<br>Normal<br>Hard<br>Expert<br>Impossible
| {{Easy difficulty}}<br>{{Normal difficulty}}<br>{{Hard difficulty}}<br>{{Expert difficulty}}<br>{{Impossible difficulty}}


|-
|-
| rowspan=2 | Scenario<br>name
! bonus
| Map<br>size
| colspan=2 | Campaign scenario bonuses
| rowspan=2 | Image type<br>for map pics
| <nowiki>{{BonusCr|(Creature Name)|(number)}}</nowiki><br><nowiki>{{BonusB|(Town)|(Building)}}</nowiki><br><nowiki>{{BonusR|(resource)|(amount)}}</nowiki><br><nowiki>{{BonusArt|(artifact)}}</nowiki><br><nowiki>{{BonusH|(hero name)}}</nowiki>
| rowspan=2 | underground<br>exists on map
|{{BonusCr|Giant|3}}<br>{{BonusB|Castle|Stables}}<br>{{BonusR|{{C}}|12}}<br>{{BonusArt|Rib Cage}}<br>{{BonusH|Orrin}}
| 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 | Default<br>difficulty
| rowspan=2 | Campaign scenario bonuses
| rowspan=2 | Campaign map file
 
|- style="text-align:center"
| [[File:Size map icon.png|Size|link=Map Attributes]]
| [[File:Victory Condition map icon.png|Victory Condition|link=Victory and Loss Conditions]]
| [[File:Loss Condition map icon.png|Loss Condition|link=Victory and Loss Conditions]]
| [[File:Source map icon.png|Source|link=Expansions]]
| [[File:Players map icon.png|Total Players / Human Players|link=Map Attributes]]


|-
|-
|
! map
| {{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 | Campaign map file
| style="text-align:center;"|'''png'''<br>jpg<br>gif<br>etc.
|
| {{Underground map icon disabled}} disabled<br>{{Underground map icon enabled}} '''enabled'''
|
| 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
|
|
| {{Easy difficulty}} Easy<br>{{Normal difficulty}} Normal<br>{{Hard difficulty}} Hard<br>{{Expert difficulty}} Expert<br>{{Impossible difficulty}} Impossible
| <nowiki>{{BonusCr|(Creature Name)|(number)}}</nowiki><br><nowiki>{{BonusB|(Town)|(Building)}}</nowiki><br><nowiki>{{BonusRes|(resource)|(amount)}}</nowiki><br><nowiki>{{BonusArt|(artifact)}}</nowiki><br><nowiki>{{BonusH|(hero name)}}</nowiki>
|


|}</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>

Revision as of 15:20, 15 December 2023

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_art
get_grail
get_town
def_all
def_all_mon
def_hero
def_mon
flag_cr
flag_mine
survive
trans_art
up_town
Accumulate Creatures
Accumulate Resources
Acquire Artifact
Build a Grail Structure
Capture Town
Defeat All Enemies
Defeat All Monsters
Defeat Hero
Defeat Monster
Flag All Creature Dwellings
Flag All Mines
Survive Until Time Expires
Transport Artifact
Upgrade Town
loss
loss2
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
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)}}
{{BonusB|(Town)|(Building)}}
{{BonusR|(resource)|(amount)}}
{{BonusArt|(artifact)}}
{{BonusH|(hero name)}}
Start with 3 Giant(s)
3

 Start with Stables 
[[File:Crystal (bonus).png|64x64px|Start with +12 Crystal|link=Crystal]]
12

 Start with Rib Cage 
 Start with Orrin 
map Campaign map file