Refactor uses of track files...
...so that all information about map backgrounds lives inside them, rather than being exposed in scenario files. This means that map artists can cerate new maps without having to touch scenario text to make the changes effective.
This commit is contained in:
parent
ecca6fa975
commit
91c8a77f79
33 changed files with 182 additions and 55 deletions
|
@ -78,9 +78,8 @@
|
|||
story=_ "The orcs were first sighted from the north marches of the great forest of Wesmere."
|
||||
[/part]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE1}
|
||||
{TO_DEFEND_THE_FOREST}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -73,9 +73,8 @@
|
|||
story=_ "Soon they arrived at a region where the forest was cut through by many streams, only to find something unexpected."
|
||||
[/part]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE2}
|
||||
{TO_ASSASSINS}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -70,9 +70,8 @@
|
|||
story= _ "Perhaps, but not here. The tribe this camp housed was too small to impress fear on other orcs. Come next morning, the elves were prepared for battle."
|
||||
[/part]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE3}
|
||||
{TO_WASTELAND}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -103,9 +103,8 @@
|
|||
story=_ "When sunrise came, the elves moved into battle formations. Whatever waited in the slopes ahead, it would not find them unprepared."
|
||||
[/part]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE4}
|
||||
{TO_VALLEY_OF_TROLLS}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -30,9 +30,8 @@
|
|||
story=_ "Erlornas surveyed the siege from atop a small tree-covered hill overlooking the tower valley..."
|
||||
[/part]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE5}
|
||||
{TO_LINAERA_THE_QUICK}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -148,9 +148,8 @@ Undead are resistant to physical attack. Use mages to attack the undead, and elv
|
|||
[/event]
|
||||
[story]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE6}
|
||||
{TO_A_DETOUR_THROUGH_THE_SWAMP}
|
||||
[/part]
|
||||
[/story]
|
||||
turns="24"
|
||||
|
|
|
@ -18,9 +18,8 @@
|
|||
|
||||
[story]
|
||||
[part]
|
||||
background="an-orcish-incursion-map.png"
|
||||
show_title="yes"
|
||||
{JOURNEY_STAGE7}
|
||||
{TO_SHOWDOWN}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -97,3 +97,40 @@
|
|||
#enddef
|
||||
|
||||
# trackplacer: tracks end
|
||||
|
||||
#define TO_DEFEND_THE_FOREST
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE1}
|
||||
#enddef
|
||||
|
||||
#define TO_ASSASSINS
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE2}
|
||||
#enddef
|
||||
|
||||
#define TO_WASTELAND
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE3}
|
||||
#enddef
|
||||
|
||||
#define TO_VALLEY_OF_TROLLS
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE4}
|
||||
#enddef
|
||||
|
||||
#define TO_LINAERA_THE_QUICK
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE5}
|
||||
#enddef
|
||||
|
||||
#define TO_A_DETOUR_THROUGH_THE_SWAMP
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE6}
|
||||
#enddef
|
||||
|
||||
#define TO_SHOWDOWN
|
||||
background="an-orcish-incursion-map.png"
|
||||
{JOURNEY_STAGE7}
|
||||
#enddef
|
||||
|
||||
|
||||
|
|
|
@ -39,8 +39,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE1}
|
||||
{TO_SAVING_PARTHYN}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE2}
|
||||
{TO_PEACEFUL_VALLEY}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE3}
|
||||
{TO_A_HAUNTING_IN_WINTER}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE4}
|
||||
{TO_BEGINNING_OF_THE_REVENGE}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE5}
|
||||
{TO_ORC_WAR}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE6}
|
||||
{TO_RETURN_TO_PARTHYN}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE7}
|
||||
{TO_A_SMALL_FAVOR}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE8}
|
||||
{TO_ALONE_AT_LAST}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -26,8 +26,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE9}
|
||||
{TO_DESCENT_INTO_DARKNESS}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -328,3 +328,49 @@
|
|||
#enddef
|
||||
|
||||
# trackplacer: tracks end
|
||||
|
||||
#define TO_SAVING_PARTHYN
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE1}
|
||||
#enddef
|
||||
|
||||
#define TO_PEACEFUL_VALLEY
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE2}
|
||||
#enddef
|
||||
|
||||
#define TO_A_HAUNTING_IN_WINTER
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE3}
|
||||
#enddef
|
||||
|
||||
#define TO_BEGINNING_OF_THE_REVENGE
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE4}
|
||||
#enddef
|
||||
|
||||
#define TO_ORC_WAR
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE5}
|
||||
#enddef
|
||||
|
||||
#define TO_RETURN_TO_PARTHYN
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE6}
|
||||
#enddef
|
||||
|
||||
#define TO_A_SMALL_FAVOR
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE7}
|
||||
#enddef
|
||||
|
||||
#define TO_ALONE_AT_LAST
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE8}
|
||||
#enddef
|
||||
|
||||
#define TO_DESCENT_INTO_DARKNESS
|
||||
background="misc/descent-into-darkness.png"
|
||||
{JOURNEY_STAGE9}
|
||||
#enddef
|
||||
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
|
||||
[part]
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE1}
|
||||
{TO_THE_RAID}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
[story]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE2}
|
||||
{TO_CIVIL_DISOBEDIENCE}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
[story]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE3}
|
||||
{TO_A_STRATEGY_OF_HOPE}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
[part]
|
||||
music="knolls.ogg"
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE4}
|
||||
{TO_UNLAWFUL_ORDERS}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
[story]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE5}
|
||||
{TO_HIDE_AND_SEEK}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
[story]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE6}
|
||||
{TO_THE_GRAY_WOODS}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
[/part]
|
||||
[part]
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE8}
|
||||
{TO_THE_HUNTERS}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -34,8 +34,7 @@
|
|||
[part]
|
||||
music="battle.ogg"
|
||||
show_title=yes
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE8}
|
||||
{TO_GLORY}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -140,3 +140,44 @@
|
|||
#enddef
|
||||
|
||||
# trackplacer: tracks end
|
||||
|
||||
#define TO_THE_RAID
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE1}
|
||||
#enddef
|
||||
|
||||
#define TO_CIVIL_DISOBEDIENCE
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE2}
|
||||
#enddef
|
||||
|
||||
#define TO_A_STRATEGY_OF_HOPE
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE3}
|
||||
#enddef
|
||||
|
||||
#define TO_UNLAWFUL_ORDERS
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE4}
|
||||
#enddef
|
||||
|
||||
#define TO_HIDE_AND_SEEK
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE5}
|
||||
#enddef
|
||||
|
||||
#define TO_THE_GRAY_WOODS
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE6}
|
||||
#enddef
|
||||
|
||||
#define TO_THE_HUNTERS
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE7}
|
||||
#enddef
|
||||
|
||||
#define TO_GLORY
|
||||
background="maps/wesnoth-liberty.png"
|
||||
{JOURNEY_STAGE8}
|
||||
#enddef
|
||||
|
||||
|
|
|
@ -88,12 +88,14 @@
|
|||
# a good example for future campaign developers.
|
||||
|
||||
#define TO_BREAKING_THE_CHAINS
|
||||
{REVOLT_STAGE1}
|
||||
background=maps/wesnoth.png
|
||||
{REVOLT_STAGE1}
|
||||
#enddef
|
||||
|
||||
# Infested Caves doesn't beed a separate map.
|
||||
|
||||
#define TO_TO_THE_MINES
|
||||
background=maps/wesnoth.png
|
||||
# "a few miles north" of the infested caves.
|
||||
{REVOLT_STAGE2}
|
||||
#enddef
|
||||
|
@ -101,16 +103,19 @@
|
|||
# Clearing The Mines and The Pursuit don't needs maps.
|
||||
|
||||
#define TO_OLD_FRIEND
|
||||
background=maps/wesnoth.png
|
||||
# Back at Knalga again
|
||||
{REVOLT_STAGE1}
|
||||
#enddef
|
||||
|
||||
#define TO_SETTLING_DISPUTES
|
||||
background=maps/wesnoth.png
|
||||
# Takes place at "Higbrook Pass", direction not specified.
|
||||
{REVOLT_STAGE3}
|
||||
#enddef
|
||||
|
||||
#define TO_ELVISH_PRINCESS
|
||||
background=maps/wesnoth.png
|
||||
# To the castle of Bitterhold, a day's march northwest of Knalga
|
||||
{RESCUE_STAGE1}
|
||||
#enddef
|
||||
|
@ -118,21 +123,25 @@
|
|||
# Introductions doesn't beed a separate map.
|
||||
|
||||
#define TO_STOLEN_GOLD
|
||||
background=maps/wesnoth.png
|
||||
# The trolls' trail leads south from Knalga
|
||||
{RECOVERY_STAGE1}
|
||||
#enddef
|
||||
|
||||
#define TO_EASTERN_FLANK
|
||||
background=maps/wesnoth.png
|
||||
# Direction not specified here. To the grim forttress of Angthurim!
|
||||
{RECOVERY_STAGE2}
|
||||
#enddef
|
||||
|
||||
#define TO_GET_THE_GOLD
|
||||
background=maps/wesnoth.png
|
||||
# Rakshas fled further south
|
||||
{RECOVERY_STAGE2}
|
||||
#enddef
|
||||
|
||||
#define TO_SHOWDOWN
|
||||
background=maps/wesnoth.png
|
||||
# Rakshas's trail curves west to the showdown.
|
||||
{RECOVERY_STAGE3}
|
||||
#enddef
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# Note: this file is in trackplacer format, but because it uses
|
||||
# multiple map files trackplacer cannot yet edit it directly.
|
||||
# It's a placeholder for when we replace the SoTBE map.
|
||||
|
||||
# trackplacer: tracks begin
|
||||
|
||||
#define JOURNEY_STAGE1
|
||||
|
|
|
@ -53,9 +53,8 @@
|
|||
[/part]
|
||||
[part]
|
||||
story=_ "Heeding the call of his amulet, Arne gathered such men as he could and hurried to Maghre to help Bjarn."
|
||||
background=maps/wesnoth.png
|
||||
show_title=yes
|
||||
{JOURNEY_STAGE1}
|
||||
{TO_ROOTING_OUT_A_MAGE}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -16,9 +16,8 @@
|
|||
[part]
|
||||
music=frantic.ogg
|
||||
story=_ "The pursuit had already run for several days when the kidnappers came to the bounds of the huge forest known as the Gray Woods. Ancient tales warned of lost souls haunting the wood, hunting and killing anyone brave enough to enter it."
|
||||
background=maps/wesnoth.png
|
||||
show_title=yes
|
||||
{JOURNEY_STAGE2}
|
||||
{TO_THE_CHASE}
|
||||
[/part]
|
||||
[part]
|
||||
story=_ "Heedless of those rumors, Arne followed them. His only worry was that his horsemen would be at disadvantage if attacked in the forest."
|
||||
|
|
|
@ -49,9 +49,8 @@
|
|||
|
||||
[story]
|
||||
[part]
|
||||
background=maps/wesnoth.png
|
||||
show_title=yes
|
||||
{JOURNEY_STAGE3}
|
||||
{TO_GUARDED_CASTLE}
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
|
|
|
@ -38,3 +38,20 @@
|
|||
#enddef
|
||||
|
||||
# trackplacer: tracks end
|
||||
|
||||
#define TO_ROOTING_OUT_A_MAGE
|
||||
background=maps/wesnoth.png
|
||||
{JOURNEY_STAGE1}
|
||||
#enddef
|
||||
|
||||
#define TO_THE_CHASE
|
||||
background=maps/wesnoth.png
|
||||
{JOURNEY_STAGE2}
|
||||
#enddef
|
||||
|
||||
#define TO_GUARDED_CASTLE
|
||||
background=maps/wesnoth.png
|
||||
{JOURNEY_STAGE3}
|
||||
#enddef
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue