Template:Scenario: Difference between revisions
Jump to navigation
Jump to search
(make the bonuses look somewhat ok float-wise after adding overlay to creatures) |
(Combine ScenarioInfo with Scenario (95% duplicates)) |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{| border=1 style="background-color: #{{Blue 0}}; color: white; border: 1px solid #{{Blue 2b}}; text-align:left; {{Sans}}" | ||
| | |- style="background-color: #{{Blue 0}};" | ||
| | ! rowspan= 5 {{#if: {{{Cmap|}}} | | style="display: none;"}} | {{{Cmap|}}} | ||
| | ! style="color: #{{Gold 2}}; {{Shadow}}" 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]]| 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;"| {{Underground map icon {{{underground|enabled}}}}} | ||
| | | width="32px" style="text-align:center; vertical-align:center;"| {{{{{size|S}}} map size icon}} | ||
| | |||
| | |- | ||
| | | colspan="6" style="max-width:500px;" |<!--<span style="color: #{{Gold 2}}; {{Shadow}}">Scenario Description:</span><br>-->{{{description|Scenario description goes there.}}} | ||
| | |||
| bonus | |- | ||
| | | {{#if: {{{Cmap|}}} | width="33%" | width="50%"}} style="vertical-align:top;" | <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 | get_art = [[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 | get_town = [[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 | def_hero = [[File:Defeat Hero.png|link=Victory and Loss Conditions]] Defeat Hero | def_mon = [[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 | flag_mine = [[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 | up_town = [[File:Upgrade Town.png|link=Victory and Loss Conditions]] Upgrade Town | }} | ||
| colspan="5" | <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 | }}{{#switch: {{{loss2|}}}| all = <br>[[File:Lose All Your Towns and Heroes.png|link=Victory and Loss Conditions]] Lose All Your Towns and Heroes | hero = <br>[[File:Lose Hero.png|link=Victory and Loss Conditions]] Lose Hero | town = <br>[[File:Lose Town.png|link=Victory and Loss Conditions]] Lose Town | time = <br>[[File:Time Expires.png|link=Victory and Loss Conditions]] Time Expires | }} | |||
|- | |||
| Allies: {{{allies|{{red}}}}} | |||
| colspan=5 | Enemies: {{{enemies|}}} | |||
|- {{#if: {{{difficulty|}}} | | style="display: none;"}} | |||
| colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br><span style="float:left;">{{{bonus|{{-}}}}}</span> | |||
| colspan=2 align="center" | {{{{{difficulty|}}} difficulty}} | |||
|} | |||
{{clear|both}} | {{clear|both}} | ||
{| border=1 style="background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};" | {| border=1 style="background-color: #{{Blue 0}}; 1px solid #{{Blue 2b}};" | ||
Line 22: | Line 30: | ||
|} | |} | ||
{{clear|both}} | {{clear|both}} | ||
== See also == | |||
{{#if: {{{difficulty|}}} | [[Category:Campaign scenarios]] | == See also == | |||
* [[List of maps]] | * [[List of maps]] | ||
* [[List of maps (HotA)]] | * [[List of maps (HotA)]] | ||
[[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]]{{hide page title}}</includeonly><noinclude> | [[Category:Single and Multiplayer Scenarios {{#ifeq:{{{source|}}}|hota|(HotA)|}}]]{{hide page title}}}}</includeonly><noinclude> | ||
==Lazy Variables== | ==Lazy Variables== | ||
* image_size: small, huge, etc. (default is large) | * image_size: small, huge, etc. (default is large) | ||
Line 57: | Line 66: | ||
| allies = {{red}} | | allies = {{red}} | ||
| enemies = {{tan}}{{green}} | | enemies = {{tan}}{{green}} | ||
| bonus = {{BonusArt|Quiet Eye of the Dragon}}{{BonusArt|Dragon Wing Tabard}}{{BonusCr|Medusa|4}} | | bonus = {{BonusArt|Quiet Eye of the Dragon}}{{BonusArt|Dragon Wing Tabard}}{{BonusCr|Medusa|4}} | ||
| difficulty = Hard | | difficulty = Hard | ||
| | | Cmap = [[File:Nighon.PNG]] | ||
}} | |||
{{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 = def_all_mon | |||
| loss = time | |||
| loss2 = hero | |||
| allies = {{red}}{{green}} | |||
| enemies = {{blue}}{{tan}}{{purple}} | |||
| difficulty = impossible | |||
| bonus = {{BonusCr|Wyvern Monarch|3}}{{BonusArt|Skull Helmet}}{{BonusR|Gold|5000}}{{BonusB|Castle|Stables}} | |||
| Cmap = [[File:Campaign map - colored province.png|300px|Beat the bad guys before they do the bad stuff!]] | |||
}} | }} | ||
Revision as of 03:25, 18 December 2023
Lazy Variables
- image_size: small, huge, etc. (default is large)
- u_image_size: small, huge, etc. (default is large)
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 | S M L XL H XH G |
|||||||||||
image_type u_image_type |
Image type for map pics |
png jpg gif etc. |
|||||||||||
underground | underground exists on map |
disabled enabled |
|||||||||||
description | Scenario description | (text) | |||||||||||
victory | Victory conditions | 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 | 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}} |
|||||||||||
source | Expansion added |
roe ab sod hc hota |
|||||||||||
num_play | # of players (total/human) |
(total players)/(human players) | |||||||||||
difficulty | Campaign default difficulty |
Easy Normal Hard Expert Impossible |
|||||||||||
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)}} |
|||||||||||
Cmap | Campaign map file | [[File:(Campaign level filename)|400px|(right-click text)]] | |||||||||||
carry | Anything that carries over to the next scenario |
{{Hn|(Specific Hero)|noname=}} {{An|(Specific Artifact)|noname=}} {{carry|(# strongest heroes)}} (text) |
4 strongest heroes all artifacts all troops | ||||||||||
max_level | Maximum hero level | (level number) | 18 |
Examples
Single Scenario
See also
Campaign Scenario (in prog)
File:Nighon.PNG | Savaging the Scavengers | ||||||||
---|---|---|---|---|---|---|---|---|---|
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: | Enemies: | ||||||||
Choose a bonus: |
Little Timmy's Campaign Map | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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: Defeat All Monsters |
Loss condition: Time Expires Lose Hero | ||||||||||
Allies: | Enemies: | ||||||||||
Choose a bonus: |
Use TinyPNG.com to compress the map images before uploading (also compresses JPG).