Make map_file= search for a maps directory in the [binary_path] (#4633)

For both [scenario]map_file= and [replace_map]map_file=, this allows both of
these to have the same effect:

* map_file=campaigns/Heir_To_The_Throne/maps/01_The_Elves_Besieged.map
* map_file=01_The_Elves_Besieged.map

This allows a lot of copies of the campaign/add-on's name to be omitted. Thus
it's no longer necessary to change every scenario's .cfg file to rename an
add-on, or to move a campaign between UMC and mainline.

This makes [binary_path] a misnomer, as it now also handles a text-based type
of file, however that's going to be the correct path for campaigns or add-ons
that use the standard layout with images/, maps/, scenarios/, etc.

This commit has the change itself, in filesystem_common.cpp, and the updates
for most of the campaigns. DM, LoW, UtBS and WoV are omitted from this, as they
all use a macro to do the same effect:

 #define MEMOIRS_MAP NAME
-    map_file=campaigns/Delfadors_Memoirs/maps/{NAME}
+    map_file={NAME}
 #enddef
This commit is contained in:
Steve Cotton 2019-12-13 14:13:47 +01:00 committed by Steve Cotton
parent 74f6442879
commit a5a1fec226
211 changed files with 217 additions and 213 deletions

View file

@ -122,6 +122,7 @@
* Added tool trackviewer, which has the animation-preview functions of trackplacer (PR #4574) * Added tool trackviewer, which has the animation-preview functions of trackplacer (PR #4574)
* Removed the python2 trackplacer tool (issue #4365) * Removed the python2 trackplacer tool (issue #4365)
* Made wmlscope recognize and analyze optional macro arguments * Made wmlscope recognize and analyze optional macro arguments
* Made `map_file=Example.map` support looking in the `[binary_path]`'s "maps/" directory (issue #4633)
## Version 1.15.2 ## Version 1.15.2
### AI: ### AI:

View file

@ -34,7 +34,7 @@
[scenario] [scenario]
name= _ "Invasion!" name= _ "Invasion!"
map_file=campaigns/Dead_Water/maps/Home_1.map map_file=Home_1.map
id=01_Invasion id=01_Invasion
next_scenario=02_Flight next_scenario=02_Flight

View file

@ -25,7 +25,7 @@
[scenario] [scenario]
name= _ "Flight" name= _ "Flight"
map_file=campaigns/Dead_Water/maps/Home_1.map map_file=Home_1.map
id=02_Flight id=02_Flight
next_scenario=03_Wolf_Coast next_scenario=03_Wolf_Coast

View file

@ -11,7 +11,7 @@
[scenario] [scenario]
name= _ "Wolf Coast" name= _ "Wolf Coast"
map_file=campaigns/Dead_Water/maps/Wolf_Coast.map map_file=Wolf_Coast.map
id=03_Wolf_Coast id=03_Wolf_Coast
next_scenario=04_Slavers next_scenario=04_Slavers

View file

@ -31,7 +31,7 @@
[scenario] [scenario]
name= _ "Slavers" name= _ "Slavers"
map_file=campaigns/Dead_Water/maps/Slavers.map map_file=Slavers.map
id=04_Slavers id=04_Slavers
next_scenario=05_Tirigaz next_scenario=05_Tirigaz

View file

@ -21,7 +21,7 @@
[scenario] [scenario]
name= _ "Tirigaz" name= _ "Tirigaz"
map_file=campaigns/Dead_Water/maps/Tirigaz.map map_file=Tirigaz.map
id=05_Tirigaz id=05_Tirigaz
next_scenario=06_Uncharted_Islands next_scenario=06_Uncharted_Islands

View file

@ -24,7 +24,7 @@
[scenario] [scenario]
name= _ "Uncharted Islands" name= _ "Uncharted Islands"
map_file=campaigns/Dead_Water/maps/Uncharted_Islands.map map_file=Uncharted_Islands.map
id=06_Uncharted_Islands id=06_Uncharted_Islands
next_scenario=07_Bilheld next_scenario=07_Bilheld

View file

@ -22,7 +22,7 @@
[scenario] [scenario]
name= _ "Bilheld" name= _ "Bilheld"
map_file=campaigns/Dead_Water/maps/Bilheld.map map_file=Bilheld.map
id=07_Bilheld id=07_Bilheld
next_scenario=08_Talking_to_Tyegea next_scenario=08_Talking_to_Tyegea

View file

@ -5,7 +5,7 @@
[scenario] [scenario]
name= _ "Talking to Tyegëa" name= _ "Talking to Tyegëa"
map_file=campaigns/Dead_Water/maps/Talking_To_Tyegea.map map_file=Talking_To_Tyegea.map
id=08_Talking_to_Tyegea id=08_Talking_to_Tyegea
next_scenario=09_The_Mage next_scenario=09_The_Mage

View file

@ -10,7 +10,7 @@
[scenario] [scenario]
name= _ "The Mage" name= _ "The Mage"
map_file=campaigns/Dead_Water/maps/The_Mage.map map_file=The_Mage.map
id=09_The_Mage id=09_The_Mage
next_scenario=10_The_Flaming_Sword next_scenario=10_The_Flaming_Sword

View file

@ -12,7 +12,7 @@
[scenario] [scenario]
name= _ "The Flaming Sword" name= _ "The Flaming Sword"
map_file=campaigns/Dead_Water/maps/The_Flaming_Sword.map map_file=The_Flaming_Sword.map
id=10_The_Flaming_Sword id=10_The_Flaming_Sword
next_scenario=11_Getting_Help next_scenario=11_Getting_Help

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
name= _ "Getting Help" name= _ "Getting Help"
map_file=campaigns/Dead_Water/maps/Talking_To_Tyegea.map map_file=Talking_To_Tyegea.map
theme=Cutscene_Minimal theme=Cutscene_Minimal
id=11_Getting_Help id=11_Getting_Help

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
name= _ "Revenge" name= _ "Revenge"
map_file=campaigns/Dead_Water/maps/Home_2.map map_file=Home_2.map
id=12_Revenge id=12_Revenge
next_scenario=13_Epilogue next_scenario=13_Epilogue

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
name= _ "Epilogue" name= _ "Epilogue"
map_file=campaigns/Dead_Water/maps/Home_1.map map_file=Home_1.map
theme=Cutscene_Minimal theme=Cutscene_Minimal
id=13_Epilogue id=13_Epilogue

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=01_Saving_Parthyn id=01_Saving_Parthyn
name= _ "Saving Parthyn" name= _ "Saving Parthyn"
map_file=campaigns/Descent_Into_Darkness/maps/01_Saving_Parthyn.map map_file=01_Saving_Parthyn.map
turns=13 turns=13
next_scenario=02_Peaceful_Valley next_scenario=02_Peaceful_Valley
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=02_Peaceful_Valley id=02_Peaceful_Valley
name= _ "Peaceful Valley" name= _ "Peaceful Valley"
map_file=campaigns/Descent_Into_Darkness/maps/02_Peaceful_Valley.map map_file=02_Peaceful_Valley.map
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
{TURNS 19 17 15} {TURNS 19 17 15}
next_scenario=03_A_Haunting_in_Winter next_scenario=03_A_Haunting_in_Winter

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=03_A_Haunting_in_Winter id=03_A_Haunting_in_Winter
name= _ "A Haunting in Winter" name= _ "A Haunting in Winter"
map_file=campaigns/Descent_Into_Darkness/maps/03_A_Haunting_in_Winter.map map_file=03_A_Haunting_in_Winter.map
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
turns=unlimited turns=unlimited
next_scenario=04_Spring_of_Reprisal next_scenario=04_Spring_of_Reprisal

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=04_Spring_of_Reprisal id=04_Spring_of_Reprisal
name= _ "Spring of Reprisal" name= _ "Spring of Reprisal"
map_file=campaigns/Descent_Into_Darkness/maps/04_Spring_of_Reprisal.map map_file=04_Spring_of_Reprisal.map
{TURNS 30 27 24} {TURNS 30 27 24}
next_scenario=05_Schism next_scenario=05_Schism
victory_when_enemies_defeated=yes victory_when_enemies_defeated=yes

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=05_Schism id=05_Schism
name= _ "Schism" name= _ "Schism"
map_file=campaigns/Descent_Into_Darkness/maps/05_Schism.map map_file=05_Schism.map
victory_when_enemies_defeated=yes victory_when_enemies_defeated=yes
turns=37 turns=37
next_scenario=06_Return_to_Parthyn next_scenario=06_Return_to_Parthyn

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=06_Return_to_Parthyn id=06_Return_to_Parthyn
name= _ "Return to Parthyn" name= _ "Return to Parthyn"
map_file=campaigns/Descent_Into_Darkness/maps/06_Return_to_Parthyn.map map_file=06_Return_to_Parthyn.map
{TURNS 19 18 17} {TURNS 19 18 17}
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
next_scenario=07a_A_Small_Favor next_scenario=07a_A_Small_Favor

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=07a_A_Small_Favor id=07a_A_Small_Favor
name= _ "A Small Favor — I" name= _ "A Small Favor — I"
map_file=campaigns/Descent_Into_Darkness/maps/07a_A_Small_Favor.map map_file=07a_A_Small_Favor.map
{TURNS 20 18 16} {TURNS 20 18 16}
next_scenario=07b_A_Small_Favor2 next_scenario=07b_A_Small_Favor2
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=07b_A_Small_Favor2 id=07b_A_Small_Favor2
name= _ "A Small Favor — II" name= _ "A Small Favor — II"
map_file=campaigns/Descent_Into_Darkness/maps/07b_A_Small_Favor2.map map_file=07b_A_Small_Favor2.map
{TURNS 25 22 19} {TURNS 25 22 19}
next_scenario=07c_A_Small_Favor3 next_scenario=07c_A_Small_Favor3
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=07c_A_Small_Favor3 id=07c_A_Small_Favor3
name= _ "A Small Favor — III" name= _ "A Small Favor — III"
map_file=campaigns/Descent_Into_Darkness/maps/07c_A_Small_Favor3.map map_file=07c_A_Small_Favor3.map
{TURNS 21 18 15} {TURNS 21 18 15}
next_scenario=08_Alone_at_Last next_scenario=08_Alone_at_Last
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=08_Alone_at_Last id=08_Alone_at_Last
name= _ "Alone at Last" name= _ "Alone at Last"
map_file=campaigns/Descent_Into_Darkness/maps/08_Alone_at_Last.map map_file=08_Alone_at_Last.map
{TURNS 35 32 29} {TURNS 35 32 29}
next_scenario=09_Descent_into_Darkness next_scenario=09_Descent_into_Darkness
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=09_Descent_into_Darkness id=09_Descent_into_Darkness
name= _ "Descent into Darkness" name= _ "Descent into Darkness"
map_file=campaigns/Descent_Into_Darkness/maps/09a_Descent_into_Darkness.map map_file=09a_Descent_into_Darkness.map
turns=unlimited turns=unlimited
next_scenario=10_Endless_Night next_scenario=10_Endless_Night
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
@ -1616,7 +1616,7 @@
[/message] [/message]
[replace_map] [replace_map]
map_file=campaigns/Descent_Into_Darkness/maps/09_Descent_into_Darkness.map map_file=09_Descent_into_Darkness.map
expand=yes expand=yes
shrink=yes shrink=yes
[/replace_map] [/replace_map]

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=10_Endless_Night id=10_Endless_Night
name= _ "Endless Night" name= _ "Endless Night"
map_file=campaigns/Descent_Into_Darkness/maps/10_Endless_Night.map map_file=10_Endless_Night.map
turns=unlimited turns=unlimited
next_scenario=10_Endless_Night next_scenario=10_Endless_Night
victory_when_enemies_defeated=yes victory_when_enemies_defeated=yes
@ -308,7 +308,7 @@
[then] [then]
[replace_map] [replace_map]
map_file=campaigns/Descent_Into_Darkness/maps/10a_Endless_Night.map map_file=10a_Endless_Night.map
expand=yes expand=yes
shrink=yes shrink=yes
[/replace_map] [/replace_map]

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=01_The_Outpost id=01_The_Outpost
name= _ "The Outpost" name= _ "The Outpost"
map_file=campaigns/Eastern_Invasion/maps/01_The_Outpost.map map_file=01_The_Outpost.map
next_scenario=02_The_Escape_Tunnel next_scenario=02_The_Escape_Tunnel
turns=16 turns=16

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=02_The_Escape_Tunnel id=02_The_Escape_Tunnel
name= _ "The Escape Tunnel" name= _ "The Escape Tunnel"
map_file=campaigns/Eastern_Invasion/maps/02_The_Escape_Tunnel.map map_file=02_The_Escape_Tunnel.map
{TURNS 26 24 22} {TURNS 26 24 22}
next_scenario=03_An_Unexpected_Appearance next_scenario=03_An_Unexpected_Appearance
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=03_An_Unexpected_Appearance id=03_An_Unexpected_Appearance
name= _ "An Unexpected Appearance" name= _ "An Unexpected Appearance"
map_file=campaigns/Eastern_Invasion/maps/03_An_Unexpected_Appearance.map map_file=03_An_Unexpected_Appearance.map
next_scenario=04a_An_Elven_Alliance next_scenario=04a_An_Elven_Alliance
{TURNS 20 18 16} {TURNS 20 18 16}

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=04a_An_Elven_Alliance id=04a_An_Elven_Alliance
name= _ "An Elven Alliance" name= _ "An Elven Alliance"
map_file=campaigns/Eastern_Invasion/maps/04a_An_Elven_Alliance.map map_file=04a_An_Elven_Alliance.map
turns=18 turns=18
next_scenario=05_Northern_Outpost next_scenario=05_Northern_Outpost

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=04b_The_Undead_Border_Patrol id=04b_The_Undead_Border_Patrol
name= _ "The Undead Border Patrol" name= _ "The Undead Border Patrol"
map_file=campaigns/Eastern_Invasion/maps/04b_The_Undead_Border_Patrol.map map_file=04b_The_Undead_Border_Patrol.map
turns=20 turns=20
next_scenario=05_Northern_Outpost next_scenario=05_Northern_Outpost

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=04c_Mal-Ravanals_Capital id=04c_Mal-Ravanals_Capital
name= _ "Mal-Ravanals Capital" name= _ "Mal-Ravanals Capital"
map_file=campaigns/Eastern_Invasion/maps/04c_Mal-Ravanals_Capital.map map_file=04c_Mal-Ravanals_Capital.map
turns=26 turns=26
next_scenario=05_Northern_Outpost next_scenario=05_Northern_Outpost

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=05_Northern_Outpost id=05_Northern_Outpost
name= _ "Northern Outpost" name= _ "Northern Outpost"
map_file=campaigns/Eastern_Invasion/maps/05_Northern_Outpost.map map_file=05_Northern_Outpost.map
turns=20 turns=20
next_scenario=06_Two_Paths next_scenario=06_Two_Paths
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=06_Two_Paths id=06_Two_Paths
name= _ "Two Paths" name= _ "Two Paths"
map_file=campaigns/Eastern_Invasion/maps/06_Two_Paths.map map_file=06_Two_Paths.map
next_scenario=07a_The_Crossing next_scenario=07a_The_Crossing
{TURNS 18 17 16} {TURNS 18 17 16}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=07a_The_Crossing id=07a_The_Crossing
name= _ "The Crossing" name= _ "The Crossing"
map_file=campaigns/Eastern_Invasion/maps/07a_The_Crossing.map map_file=07a_The_Crossing.map
turns=24 turns=24
next_scenario=08_Training_the_Ogres next_scenario=08_Training_the_Ogres

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=07b_Undead_Crossing id=07b_Undead_Crossing
name= _ "Undead Crossing" name= _ "Undead Crossing"
map_file=campaigns/Eastern_Invasion/maps/07b_Undead_Crossing.map map_file=07b_Undead_Crossing.map
turns=21 turns=21
next_scenario=08_Training_the_Ogres next_scenario=08_Training_the_Ogres

View file

@ -3,7 +3,7 @@
id=08_Training_the_Ogres id=08_Training_the_Ogres
name= _ "Capturing the Ogres" name= _ "Capturing the Ogres"
next_scenario=09_Xenophobia next_scenario=09_Xenophobia
map_file=campaigns/Eastern_Invasion/maps/08_Training_the_Ogres.map map_file=08_Training_the_Ogres.map
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
turns=unlimited turns=unlimited
{NORTHERN_SCHEDULE} {NORTHERN_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=09_Xenophobia id=09_Xenophobia
name= _ "Xenophobia" name= _ "Xenophobia"
map_file=campaigns/Eastern_Invasion/maps/09_Xenophobia.map map_file=09_Xenophobia.map
{TURNS 40 36 32} {TURNS 40 36 32}
next_scenario=10_Lake_Vrug next_scenario=10_Lake_Vrug

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=10_Lake_Vrug id=10_Lake_Vrug
name= _ "Lake Vrug" name= _ "Lake Vrug"
map_file=campaigns/Eastern_Invasion/maps/10_Lake_Vrug.map map_file=10_Lake_Vrug.map
turns=30 turns=30
{DEFAULT_SCHEDULE_MORNING} {DEFAULT_SCHEDULE_MORNING}

View file

@ -3,7 +3,7 @@
id=11_Captured id=11_Captured
name= _ "Captured" name= _ "Captured"
next_scenario=12_Evacuation next_scenario=12_Evacuation
map_file=campaigns/Eastern_Invasion/maps/11_Captured.map map_file=11_Captured.map
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
turns=unlimited turns=unlimited
{UNDERGROUND} {UNDERGROUND}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=12_Evacuation id=12_Evacuation
name= _ "Evacuation" name= _ "Evacuation"
map_file=campaigns/Eastern_Invasion/maps/12_Evacuation.map map_file=12_Evacuation.map
turns=12 turns=12
next_scenario=13_The_Drowned_Plains next_scenario=13_The_Drowned_Plains

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=13_The_Drowned_Plains id=13_The_Drowned_Plains
name= _ "The Drowned Plains" name= _ "The Drowned Plains"
map_file=campaigns/Eastern_Invasion/maps/13_The_Drowned_Plains.map map_file=13_The_Drowned_Plains.map
{TURNS 28 26 24} {TURNS 28 26 24}
next_scenario=14_Approaching_Weldyn next_scenario=14_Approaching_Weldyn

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=14_Approaching_Weldyn id=14_Approaching_Weldyn
name= _ "Approaching Weldyn" name= _ "Approaching Weldyn"
map_file=campaigns/Eastern_Invasion/maps/14_Approaching_Weldyn.map map_file=14_Approaching_Weldyn.map
turns=24 turns=24
next_scenario=15_The_Council next_scenario=15_The_Council

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=15_The_Council id=15_The_Council
name= _ "The Council" name= _ "The Council"
map_file=campaigns/Eastern_Invasion/maps/Throne_Room.map map_file=Throne_Room.map
theme=Cutscene_Minimal theme=Cutscene_Minimal
turns=1 turns=1
next_scenario=16_Weldyn_under_Attack next_scenario=16_Weldyn_under_Attack

View file

@ -3,7 +3,7 @@
id=16_Weldyn_under_Attack id=16_Weldyn_under_Attack
name= _ "Weldyn under Attack" name= _ "Weldyn under Attack"
next_scenario=17a_The_Duel next_scenario=17a_The_Duel
map_file=campaigns/Eastern_Invasion/maps/16_Weldyn_under_Attack.map map_file=16_Weldyn_under_Attack.map
turns=18 turns=18
{DUSK} {DUSK}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=17a_The_Duel id=17a_The_Duel
name= _ "The Duel" name= _ "The Duel"
map_file=campaigns/Eastern_Invasion/maps/17a_The_Duel.map map_file=17a_The_Duel.map
turns=unlimited turns=unlimited
next_scenario=18_Epilogue next_scenario=18_Epilogue

View file

@ -7,7 +7,7 @@
[scenario] [scenario]
id=17b_Weldyn_Besieged id=17b_Weldyn_Besieged
name= _ "Weldyn Besieged" name= _ "Weldyn Besieged"
map_file=campaigns/Eastern_Invasion/maps/17b_Weldyn_Besieged.map map_file=17b_Weldyn_Besieged.map
turns=unlimited turns=unlimited
next_scenario=18_Epilogue next_scenario=18_Epilogue

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=18_Epilogue id=18_Epilogue
name= _ "Epilogue" name= _ "Epilogue"
map_file=campaigns/Eastern_Invasion/maps/Throne_Room.map map_file=Throne_Room.map
theme=Cutscene_Minimal theme=Cutscene_Minimal
turns=1 turns=1
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -4,7 +4,7 @@
name= _ "The Elves Besieged" name= _ "The Elves Besieged"
next_scenario=02_Blackwater_Port next_scenario=02_Blackwater_Port
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
map_file=campaigns/Heir_To_The_Throne/maps/01_The_Elves_Besieged.map map_file=01_The_Elves_Besieged.map
{TURNS 16 14 12} {TURNS 16 14 12}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -3,7 +3,7 @@
id=02_Blackwater_Port id=02_Blackwater_Port
name= _ "scenario name^Blackwater Port" name= _ "scenario name^Blackwater Port"
next_scenario=03_The_Isle_of_Alduin next_scenario=03_The_Isle_of_Alduin
map_file=campaigns/Heir_To_The_Throne/maps/02_Blackwater_Port.map map_file=02_Blackwater_Port.map
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}
{TURNS 12 12 9} {TURNS 12 12 9}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=03_The_Isle_of_Alduin id=03_The_Isle_of_Alduin
name= _ "The Isle of Alduin" name= _ "The Isle of Alduin"
map_file=campaigns/Heir_To_The_Throne/maps/03_The_Isle_of_Alduin.map map_file=03_The_Isle_of_Alduin.map
{TURNS 34 24 21} {TURNS 34 24 21}
{DEFAULT_SCHEDULE_AFTERNOON} {DEFAULT_SCHEDULE_AFTERNOON}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=04_The_Bay_of_Pearls id=04_The_Bay_of_Pearls
name= _ "The Bay of Pearls" name= _ "The Bay of Pearls"
map_file=campaigns/Heir_To_The_Throne/maps/04_The_Bay_of_Pearls.map map_file=04_The_Bay_of_Pearls.map
{TURNS 27 24 21} {TURNS 27 24 21}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=05a_Muff_Malals_Peninsula id=05a_Muff_Malals_Peninsula
name= _ "Muff Malals Peninsula" name= _ "Muff Malals Peninsula"
map_file=campaigns/Heir_To_The_Throne/maps/05a_Muff_Malal_Peninsula.map map_file=05a_Muff_Malal_Peninsula.map
{TURNS 27 24 21} {TURNS 27 24 21}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -3,7 +3,7 @@
id=05b_Isle_of_the_Damned id=05b_Isle_of_the_Damned
next_scenario=06_The_Siege_of_Elensefar next_scenario=06_The_Siege_of_Elensefar
name= _ "Isle of the Damned" name= _ "Isle of the Damned"
map_file=campaigns/Heir_To_The_Throne/maps/05b_Isle_of_the_Damned.map map_file=05b_Isle_of_the_Damned.map
{TURNS 28 26 24} {TURNS 28 26 24}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=06_The_Siege_of_Elensefar id=06_The_Siege_of_Elensefar
name= _ "The Siege of Elensefar" name= _ "The Siege of Elensefar"
map_file=campaigns/Heir_To_The_Throne/maps/06_The_Siege_of_Elensefar.map map_file=06_The_Siege_of_Elensefar.map
{TURNS 40 32 29} {TURNS 40 32 29}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=07_Crossroads id=07_Crossroads
name= _ "Crossroads" name= _ "Crossroads"
map_file=campaigns/Heir_To_The_Throne/maps/07_Crossroads.map map_file=07_Crossroads.map
{TURNS 37 34 31} {TURNS 37 34 31}
next_scenario=08_The_Princess_of_Wesnoth next_scenario=08_The_Princess_of_Wesnoth

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=08_The_Princess_of_Wesnoth id=08_The_Princess_of_Wesnoth
name= _ "The Princess of Wesnoth" name= _ "The Princess of Wesnoth"
map_file=campaigns/Heir_To_The_Throne/maps/08_The_Princess_of_Wesnoth.map map_file=08_The_Princess_of_Wesnoth.map
{TURNS 31 28 25} {TURNS 31 28 25}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=09_The_Valley_of_Death id=09_The_Valley_of_Death
name= _ "The Valley of Death — The Princesss Revenge" name= _ "The Valley of Death — The Princesss Revenge"
map_file=campaigns/Heir_To_The_Throne/maps/09_The_Valley_of_Death.map map_file=09_The_Valley_of_Death.map
turns=12 turns=12
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=10_Gryphon_Mountain id=10_Gryphon_Mountain
name= _ "Gryphon Mountain" name= _ "Gryphon Mountain"
map_file=campaigns/Heir_To_The_Throne/maps/10_Gryphon_Mountain.map map_file=10_Gryphon_Mountain.map
{TURNS 27 24 21} {TURNS 27 24 21}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=11_The_Ford_of_Abez id=11_The_Ford_of_Abez
name= _ "The Ford of Abez" name= _ "The Ford of Abez"
map_file=campaigns/Heir_To_The_Throne/maps/11_The_Ford_of_Abez.map map_file=11_The_Ford_of_Abez.map
{TURNS 27 24 21} {TURNS 27 24 21}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=12_Northern_Winter id=12_Northern_Winter
name= _ "Northern Winter" name= _ "Northern Winter"
map_file=campaigns/Heir_To_The_Throne/maps/12_Northern_Winter.map map_file=12_Northern_Winter.map
{TURNS 50 40 40} {TURNS 50 40 40}
[event] [event]

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=13_The_Dwarven_Doors id=13_The_Dwarven_Doors
name= _ "The Dwarven Doors" name= _ "The Dwarven Doors"
map_file=campaigns/Heir_To_The_Throne/maps/13_The_Dwarven_Doors.map map_file=13_The_Dwarven_Doors.map
{TURNS 26 20 15} {TURNS 26 20 15}
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=14_Plunging_into_the_Darkness id=14_Plunging_into_the_Darkness
name= _ "Plunging into the Darkness" name= _ "Plunging into the Darkness"
map_file=campaigns/Heir_To_The_Throne/maps/14_Plunging_Into_the_Darkness.map map_file=14_Plunging_Into_the_Darkness.map
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
turns=unlimited turns=unlimited

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=15_The_Lost_General id=15_The_Lost_General
name= _ "The Lost General" name= _ "The Lost General"
map_file=campaigns/Heir_To_The_Throne/maps/15_The_Lost_General.map map_file=15_The_Lost_General.map
{TURNS 64 60 54} {TURNS 64 60 54}
{UNDERGROUND} {UNDERGROUND}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=16_Hasty_Alliance id=16_Hasty_Alliance
name= _ "Hasty Alliance" name= _ "Hasty Alliance"
map_file=campaigns/Heir_To_The_Throne/maps/16_Hasty_Alliance.map map_file=16_Hasty_Alliance.map
{TURNS 33 30 27} {TURNS 33 30 27}
{DEEP_UNDERGROUND} {DEEP_UNDERGROUND}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=18_A_Choice_Must_Be_Made id=18_A_Choice_Must_Be_Made
name= _ "A Choice Must Be Made" name= _ "A Choice Must Be Made"
map_file=campaigns/Heir_To_The_Throne/maps/18_A_Choice_Must_Be_Made.map map_file=18_A_Choice_Must_Be_Made.map
{TURNS 33 30 27} {TURNS 33 30 27}
next_scenario=19a_Snow_Plains next_scenario=19a_Snow_Plains

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=19a_Snow_Plains id=19a_Snow_Plains
name= _ "Snow Plains" name= _ "Snow Plains"
map_file=campaigns/Heir_To_The_Throne/maps/19a_Snow_Plains.map map_file=19a_Snow_Plains.map
{TURNS 43 40 37} {TURNS 43 40 37}
next_scenario="20a_North_Elves" next_scenario="20a_North_Elves"

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=19b_Swamp_Of_Dread id=19b_Swamp_Of_Dread
name= _ "Swamp Of Dread" name= _ "Swamp Of Dread"
map_file=campaigns/Heir_To_The_Throne/maps/19b_Swamp_Of_Dread.map map_file=19b_Swamp_Of_Dread.map
{TURNS 33 30 27} {TURNS 33 30 27}
next_scenario=20a_North_Elves next_scenario=20a_North_Elves

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=19c_Cliffs_of_Thoria id=19c_Cliffs_of_Thoria
name= _ "The Cliffs of Thoria" name= _ "The Cliffs of Thoria"
map_file=campaigns/Heir_To_The_Throne/maps/19c_Cliffs_of_Thoria.map map_file=19c_Cliffs_of_Thoria.map
{TURNS 55 50 45} {TURNS 55 50 45}
next_scenario="20b_Underground_Channels" next_scenario="20b_Underground_Channels"

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=20a_North_Elves id=20a_North_Elves
name= _ "Home of the North Elves" name= _ "Home of the North Elves"
map_file=campaigns/Heir_To_The_Throne/maps/20a_North_Elves.map map_file=20a_North_Elves.map
{TURNS 21 18 15} {TURNS 21 18 15}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=20b_Underground_Channels id=20b_Underground_Channels
name= _ "Underground Channels" name= _ "Underground Channels"
map_file=campaigns/Heir_To_The_Throne/maps/20b_Underground_Channels.map map_file=20b_Underground_Channels.map
{TURNS 80 70 60} {TURNS 80 70 60}
next_scenario="21_Elven_Council" next_scenario="21_Elven_Council"

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=21_Elven_Council id=21_Elven_Council
name= _ "The Elven Council" name= _ "The Elven Council"
map_file=campaigns/Heir_To_The_Throne/maps/21_Elven_Council.map map_file=21_Elven_Council.map
turns=1 turns=1
theme=Cutscene_Minimal theme=Cutscene_Minimal

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=22_Return_to_Wesnoth id=22_Return_to_Wesnoth
name= _ "Return to Wesnoth" name= _ "Return to Wesnoth"
map_file=campaigns/Heir_To_The_Throne/maps/22_Return_to_Wesnoth.map map_file=22_Return_to_Wesnoth.map
{TURNS 31 28 25} {TURNS 31 28 25}
next_scenario=23_Test_of_the_Clans next_scenario=23_Test_of_the_Clans

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=23_Test_of_the_Clans id=23_Test_of_the_Clans
name= _ "Test of the Clan" name= _ "Test of the Clan"
map_file=campaigns/Heir_To_The_Throne/maps/23_Test_of_the_Clans.map map_file=23_Test_of_the_Clans.map
{TURNS 53 50 47} {TURNS 53 50 47}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=24_Battle_for_Wesnoth id=24_Battle_for_Wesnoth
name= _ "The Battle for Wesnoth" name= _ "The Battle for Wesnoth"
map_file=campaigns/Heir_To_The_Throne/maps/24_Battle_for_Wesnoth.map map_file=24_Battle_for_Wesnoth.map
turns=60 turns=60
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -2,7 +2,7 @@
[scenario] [scenario]
id=01_The_Raid id=01_The_Raid
name= _ "The Raid" name= _ "The Raid"
map_file=campaigns/Liberty/maps/01_The_Raid.map map_file=01_The_Raid.map
{TURNS 19 17 15} {TURNS 19 17 15}
next_scenario=02_Civil_Disobedience next_scenario=02_Civil_Disobedience

View file

@ -3,7 +3,7 @@
id=02_Civil_Disobedience id=02_Civil_Disobedience
name= _ "Civil Disobedience" name= _ "Civil Disobedience"
next_scenario=03_A_Strategy_of_Hope next_scenario=03_A_Strategy_of_Hope
map_file=campaigns/Liberty/maps/02_Civil_Disobedience.map map_file=02_Civil_Disobedience.map
{TURNS 14 13 12} {TURNS 14 13 12}
{DEFAULT_SCHEDULE_AFTERNOON} {DEFAULT_SCHEDULE_AFTERNOON}

View file

@ -4,7 +4,7 @@
name= _ "A Strategy of Hope" name= _ "A Strategy of Hope"
next_scenario=04_Unlawful_Orders next_scenario=04_Unlawful_Orders
victory_when_enemies_defeated=yes victory_when_enemies_defeated=yes
map_file=campaigns/Liberty/maps/03_Strategy_of_Hope.map map_file=03_Strategy_of_Hope.map
{TURNS 28 25 22} {TURNS 28 25 22}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -4,7 +4,7 @@
name= _ "Unlawful Orders" name= _ "Unlawful Orders"
next_scenario=05_Hide_and_Seek next_scenario=05_Hide_and_Seek
victory_when_enemies_defeated=yes victory_when_enemies_defeated=yes
map_file=campaigns/Liberty/maps/04_Unlawful_Orders.map map_file=04_Unlawful_Orders.map
{TURNS 30 22 16} {TURNS 30 22 16}
{DEFAULT_SCHEDULE} {DEFAULT_SCHEDULE}

View file

@ -4,7 +4,7 @@
next_scenario=06_The_Hunters next_scenario=06_The_Hunters
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
name= _ "Hide and Seek" name= _ "Hide and Seek"
map_file=campaigns/Liberty/maps/05_Hide_and_Seek.map map_file=05_Hide_and_Seek.map
{TURNS 34 30 26} {TURNS 34 30 26}
[time] [time]

View file

@ -4,7 +4,7 @@
name= _ "The Hunters" name= _ "The Hunters"
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
next_scenario=07_Glory next_scenario=07_Glory
map_file=campaigns/Liberty/maps/06_The_Hunters.map map_file=06_The_Hunters.map
turns=27 turns=27
{FIRST_WATCH} {FIRST_WATCH}
{FIRST_WATCH} {FIRST_WATCH}

View file

@ -4,7 +4,7 @@
name= _ "Glory" name= _ "Glory"
next_scenario=08_Epilogue next_scenario=08_Epilogue
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
map_file=campaigns/Liberty/maps/07_Glory.map map_file=07_Glory.map
{TURNS 48 45 40} {TURNS 48 45 40}
{DEFAULT_SCHEDULE_AFTERNOON} {DEFAULT_SCHEDULE_AFTERNOON}

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=01_Breaking_the_Chains id=01_Breaking_the_Chains
name= _ "Breaking the Chains" name= _ "Breaking the Chains"
map_file=campaigns/Northern_Rebirth/maps/01_Breaking_the_Chains.map map_file=01_Breaking_the_Chains.map
{TURNS 41 31 26} {TURNS 41 31 26}
next_scenario=02_01_Infested_Caves next_scenario=02_01_Infested_Caves

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=02_01_Infested_Caves id=02_01_Infested_Caves
name= _ "Infested Caves" name= _ "Infested Caves"
map_file=campaigns/Northern_Rebirth/maps/02_01_Infested_Caves.map map_file=02_01_Infested_Caves.map
{TURNS 55 50 45} {TURNS 55 50 45}
next_scenario=02_02_Meeting_With_Dwarves next_scenario=02_02_Meeting_With_Dwarves

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=02_02_Meeting_With_Dwarves id=02_02_Meeting_With_Dwarves
name= _ "Meeting With Dwarves" name= _ "Meeting With Dwarves"
map_file=campaigns/Northern_Rebirth/maps/02_02_Meeting_With_Dwarves.map map_file=02_02_Meeting_With_Dwarves.map
next_scenario=03_To_the_Mines next_scenario=03_To_the_Mines
theme=Cutscene_Minimal theme=Cutscene_Minimal

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=03_To_the_Mines id=03_To_the_Mines
name= _ "To the Mines" name= _ "To the Mines"
map_file=campaigns/Northern_Rebirth/maps/03_To_the_Mines.map map_file=03_To_the_Mines.map
{TURNS 36 30 24} {TURNS 36 30 24}
next_scenario=04_Clearing_the_Mines next_scenario=04_Clearing_the_Mines

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=04_Clearing_the_Mines id=04_Clearing_the_Mines
name= _ "Clearing the Mines" name= _ "Clearing the Mines"
map_file=campaigns/Northern_Rebirth/maps/04_Clearing_the_Mines.map map_file=04_Clearing_the_Mines.map
{TURNS 65 55 45} {TURNS 65 55 45}
next_scenario=05a_01_The_Pursuit next_scenario=05a_01_The_Pursuit

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=05a_01_The_Pursuit id=05a_01_The_Pursuit
name= _ "The Pursuit" name= _ "The Pursuit"
map_file=campaigns/Northern_Rebirth/maps/05a_01_The_Pursuit.map map_file=05a_01_The_Pursuit.map
turns=unlimited turns=unlimited
next_scenario=05a_02_Dealings next_scenario=05a_02_Dealings
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=05a_02_Dealings id=05a_02_Dealings
name= _ "Dealings" name= _ "Dealings"
map_file=campaigns/Northern_Rebirth/maps/05a_02_Dealings.map map_file=05a_02_Dealings.map
next_scenario=06a_Old_Friend next_scenario=06a_Old_Friend
theme=Cutscene_Minimal theme=Cutscene_Minimal

View file

@ -24,7 +24,7 @@
[/part] [/part]
[/story] [/story]
map_file=campaigns/Northern_Rebirth/maps/05b_Compelled.map map_file=05b_Compelled.map
{TURNS 39 35 31} {TURNS 39 35 31}

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=06a_Old_Friend id=06a_Old_Friend
name= _ "Old Friend" name= _ "Old Friend"
map_file=campaigns/Northern_Rebirth/maps/06a_Old_Friend.map map_file=06a_Old_Friend.map
turns=18 turns=18
next_scenario=07a_Settling_Disputes next_scenario=07a_Settling_Disputes

View file

@ -38,7 +38,7 @@
[/part] [/part]
[/story] [/story]
map_file=campaigns/Northern_Rebirth/maps/06b_Slave_of_the_Undead.map map_file=06b_Slave_of_the_Undead.map
{TURNS 41 38 35} {TURNS 41 38 35}
{UNDERGROUND} {UNDERGROUND}

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=07a_Settling_Disputes id=07a_Settling_Disputes
name= _ "Settling Disputes" name= _ "Settling Disputes"
map_file=campaigns/Northern_Rebirth/maps/07a_Settling_Disputes.map map_file=07a_Settling_Disputes.map
{TURNS 25 20 15} {TURNS 25 20 15}
next_scenario=08a_Elvish_Princess next_scenario=08a_Elvish_Princess

View file

@ -27,7 +27,7 @@
[/part] [/part]
[/story] [/story]
map_file=campaigns/Northern_Rebirth/maps/07b_Protecting_the_Master.map map_file=07b_Protecting_the_Master.map
[event] [event]
name=prestart name=prestart

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=08a_Elvish_Princess id=08a_Elvish_Princess
name= _ "Elvish Princess" name= _ "Elvish Princess"
map_file=campaigns/Northern_Rebirth/maps/08a_Elvish_Princess.map map_file=08a_Elvish_Princess.map
{TURNS 21 18 15} {TURNS 21 18 15}
next_scenario=09a_Introductions next_scenario=09a_Introductions
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -131,7 +131,7 @@
[/part] [/part]
[/story] [/story]
map_file=campaigns/Northern_Rebirth/maps/08b_Ray_of_Hope.map map_file=08b_Ray_of_Hope.map
[side] [side]
type=Peasant type=Peasant

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=09a_Introductions id=09a_Introductions
name= _ "Introductions" name= _ "Introductions"
map_file=campaigns/Northern_Rebirth/maps/09a_Introductions.map map_file=09a_Introductions.map
{TURNS 21 18 15} {TURNS 21 18 15}
next_scenario=10a_Stolen_Gold next_scenario=10a_Stolen_Gold
victory_when_enemies_defeated=no victory_when_enemies_defeated=no

View file

@ -6,7 +6,7 @@
turns=unlimited turns=unlimited
next_scenario=null # Next was to be called 10b_New_Life next_scenario=null # Next was to be called 10b_New_Life
victory_when_enemies_defeated=no victory_when_enemies_defeated=no
map_file=campaigns/Northern_Rebirth/maps/09b_Judgment.map map_file=09b_Judgment.map
theme=Cutscene_Minimal theme=Cutscene_Minimal
[story] [story]

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=10a_Stolen_Gold id=10a_Stolen_Gold
name= _ "Stolen Gold" name= _ "Stolen Gold"
map_file=campaigns/Northern_Rebirth/maps/10a_Stolen_Gold.map map_file=10a_Stolen_Gold.map
turns=36 turns=36
next_scenario=11a_The_Eastern_Flank next_scenario=11a_The_Eastern_Flank
victory_when_enemies_defeated=yes victory_when_enemies_defeated=yes

View file

@ -3,7 +3,7 @@
[scenario] [scenario]
id=11a_The_Eastern_Flank id=11a_The_Eastern_Flank
name= _ "The Eastern Flank" name= _ "The Eastern Flank"
map_file=campaigns/Northern_Rebirth/maps/11a_The_Eastern_Flank.map map_file=11a_The_Eastern_Flank.map
{TURNS 53 50 47} {TURNS 53 50 47}
next_scenario=12a_Get_the_Gold next_scenario=12a_Get_the_Gold

Some files were not shown because too many files have changed in this diff Show more