Template:Scenario: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
m (Clean up usage info (TODO: Finish filling out example))
Line 17: Line 17:
* [[List of maps (HotA)]]
* [[List of maps (HotA)]]
[[Category:Single and Multiplayer Scenarios]]</includeonly><noinclude>
[[Category:Single and Multiplayer Scenarios]]</includeonly><noinclude>
==Variables==
NOTE: Defaults are in '''bold'''. No bold means the default is blank.
{| class="wikitable"
|- style="font-weight:bold;"
! scenario
! size
! image_type
! u_image_type
! no_underground
! description
! victory
! loss
! allies
! enemies
! difficulty


==Variables==
|-
* scenario= Scenario name
| Scenario<br>name
* size= Size category (S, M, L, XL, H, XH, or G)
| Size<br>category
** {{S map size icon}} '''S''' (small)
| colspan=2 |Image type for overworld/<br>underground pic
** {{M map size icon}} M (medium)
| If present,<br>underground disabled
** {{L map size icon}} L (large)
| Scenario<br>description
** {{XL map size icon}} XL (extra large)
| Victory conditions
** {{H map size icon}} H (huge)
| Loss conditions
** {{XH map size icon}} XH (extra huge)
| colspan=2 | List of allied (min: 1)/<br>enemy (min: 0) colors
** {{G map size icon}} G (gigantic)
| Default difficulty
* image_type= jpg, gif, etc. (default png)
 
* u_image_type= jpg, gif, etc. (default png for underground)
|-
* no_underground= (you can just leave this blank: |no_underground=|)
|
** {{Underground map icon disabled}} (disabled if this var is found)
| {{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
** {{Underground map icon enabled}} (otherwise enabled)
| colspan=2 style="text-align:center;"|'''png'''<br>jpg<br>gif<br>etc.
* description= Scenario description text.
| {{Underground map icon disabled}} '''(disabled)'''<br>{{Underground map icon enabled}} (enabled)
* victory= Victory conditions. Existing icons:
|
** [[File:Accumulate Creatures.png]] Accumulate Creatures
| [[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
** [[File:Accumulate Resources.png]] Accumulate Resources
| [[File:Lose All Your Towns and Heroes.png]] '''Lose All Your Towns and Heroes'''<br>[[File:Lose Hero.png]] Lose Hero<br>[[File:Lose Town.png]] Lose Town<br>[[File:Time Expires.png]] Time Expires
** [[File:Acquire Artifact.png]] Acquire Artifact
| 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:Build a Grail Structure.png]] Build a Grail Structure
| {{Easy difficulty}} Easy<br>{{Normal difficulty}} Normal<br>{{Hard difficulty}} Hard<br>{{Expert difficulty}} Expert<br>{{Impossible difficulty}} Impossible
** [[File:Capture Town.png]] Capture Town
** [[File:Defeat All Enemies.png]] '''Defeat All Enemies'''
** [[File:Defeat All Monsters.png]] Defeat All Monsters
** [[File:Defeat Hero.png]] Defeat Hero
** [[File:Defeat Monster.png]] Defeat Monster
** [[File:Flag All Creature Dwellings.png]] Flag All Creature Dwellings
** [[File:Flag All Mines.png]] Flag All Mines
** [[File:Survive Until Time Expires.png]] Survive Until Time Expires
** [[File:Transport Artifact.png]] Transport Artifact
** [[File:Upgrade Town.png]] Upgrade Town
* loss= Loss conditions. Existing icons:
** [[File:Lose All Your Towns and Heroes.png]] '''Lose All Your Towns and Heroes'''
** [[File:Lose Hero.png]] Lose Hero
** [[File:Lose Town.png]] Lose Town
** [[File:Time Expires.png]] Time Expires
* allies= list of allied colors. (There's always at least the player's own color.)
* enemies= list of enemy colors. (This can actually be blank in some maps.)
** List of flags for allies and enemies: {{tl|red}} {{red}}; {{tl|blue}} {{blue}}; {{tl|tan}} {{tan}}; {{tl|green}} {{green}}; {{tl|orange}} {{orange}}; {{tl|purple}} {{purple}}; {{tl|teal}} {{teal}}; {{tl|pink}} {{pink}}
* difficulty= the default [[difficulty level]] for this map.
** {{Easy difficulty}} Easy
** {{Normal difficulty}} Normal
** {{Hard difficulty}} '''Hard'''
** {{Expert difficulty}} Expert
** {{Impossible difficulty}} Impossible


==Usage==
|}
<pre>{{scenario
|scenario=Emerald Isles
|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.
|no_underground=
}}</pre>


==Example==
==Example==
{{scenario
{{scenario
|scenario=Emerald Isles
| scenario       = Emerald Isles
|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.
| 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.
|no_underground=
| no_underground =
}}
}}



Revision as of 19:21, 12 December 2023

Variables

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

scenario size image_type u_image_type no_underground description victory loss allies enemies difficulty
Scenario
name
Size
category
Image type for overworld/
underground pic
If present,
underground disabled
Scenario
description
Victory conditions Loss conditions List of allied (min: 1)/
enemy (min: 0) colors
Default difficulty
Size 1 (36×36) - S S
Size 2 (72×72) - M M
Size 3 (108×108) - L L
Size 4 (144×144) - XL XL
Size 5 (180×180) - H H
Size 6 (216×216) - XH XH
Size 7 (252×252) - G G
png
jpg
gif
etc.
Underground disabled (disabled)
Underground enabled (enabled)
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
Lose All Your Towns and Heroes
Lose Hero
Lose Town
Time Expires
Red {{red}}
Blue {{blue}}
Tan {{tan}}
Green {{green}}
Orange {{orange}}
Purple {{purple}}
Teal {{teal}}
Pink {{pink}}
Difficulty 1: Easy - The player starts with a large advantage in resources, and the computer plays poorly. Easy
Difficulty 2: Normal - The player starts with a moderate advantage in resources, and the computer plays reasonably well. Normal
Difficulty 3: Hard - The player and the computer start with the same resources, and the computer plays to the best of its ability. Hard
Difficulty 4: Expert - The player starts with a handicap in resources, and the computer plays to the best of its ability. Expert
Difficulty 5: Impossible - The player starts with no resources, and the computer plays to the best of its ability. Impossible

Example

Template:ScenarioInfo

See also

Use TinyPNG.com to compress the map images before uploading (also compresses JPG).