Assign music properly to SoF scenarios

(instead of using the default playlist).
This commit is contained in:
Lari Nieminen 2008-03-07 17:14:30 +00:00
parent 095901c5a2
commit ee690df63d
13 changed files with 62 additions and 33 deletions

View file

@ -6,7 +6,9 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/1_A_Bargain_is_Struck.map}"
next_scenario=2_Closing_the_Gates
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC knolls.ogg}
{EXTRA_SCENARIO_MUSIC loyalists.ogg}
{EXTRA_SCENARIO_MUSIC breaking_the_chains.ogg}
{DEFAULT_SCHEDULE}
@ -85,6 +87,7 @@
[story]
[part]
story= _ "Ay, the Sceptre of Fire. The sceptre has a long, glorious, and fearful history. But I am not here to tell you how the jewel within it was brought over the ocean by Haldric the Great. Nor will I tell the story of Garard I, and the challenge he set, or that of Konrad, king of Wesnoth by virtue of the Sceptre."
music=main_menu.ogg
[/part]
[part]
story= _ "I am here to tell you of its making. Of its crafting, deep in the caverns of dwarfdom. And of the dwarves who made it; for they were great, they were. They are counted among the greatest of the heroes of ancient Knalga."

View file

@ -6,8 +6,9 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/2_Closing_the_Gates.map}"
next_scenario=2t_In_the_Dwarven_City
victory_when_enemies_defeated=no
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC battle.ogg}
{EXTRA_SCENARIO_MUSIC the_city_falls.ogg}
{DEFAULT_SCHEDULE}

View file

@ -6,9 +6,9 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/2t_In_the_Dwarven_City.map}"
next_scenario=3_Searching_for_the_Runecrafter
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC underground.ogg}
{DEFAULT_SCHEDULE}
{UNDERGROUND}
[side]
type=Dwarvish Fighter

View file

@ -7,7 +7,8 @@
next_scenario=3t_The_Council_Regathers
victory_when_enemies_defeated=no
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC wanderer.ogg}
{EXTRA_SCENARIO_MUSIC elvish-theme.ogg}
{DEFAULT_SCHEDULE}
@ -437,6 +438,13 @@
type=Gryphon Rider,Gryphon
[/not]
[/filter]
[music]
name=knolls.ogg
immediate=no
append=yes
[/music]
[unit]
x,y=$thur_x,$thur_y
side=1

View file

@ -6,7 +6,7 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/3t_The_Council_Regathers.map}"
next_scenario=4_Gathering_Materials
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC underground.ogg}
{UNDERGROUND}

View file

@ -13,7 +13,7 @@
victory_when_enemies_defeated=no
next_scenario=4t_The_Jeweler
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC underground.ogg}
[story]
[part]

View file

@ -6,7 +6,7 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/4t_The_Jeweler.map}"
next_scenario=5_Hills_of_the_Shorbear_Clan
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC underground.ogg}
{UNDERGROUND}

View file

@ -6,7 +6,8 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/5_Hills_of_the_Shorbear_Clan.map}"
next_scenario=6_Towards_the_Caves
{DEFAULT_MUSIC_PLAYLIST}
# the music will change in the end of the opening dialogue
{SCENARIO_MUSIC knolls.ogg}
{DEFAULT_SCHEDULE}
@ -299,6 +300,17 @@
description=Thursagan
message= _ "You're making a mistake, Durstorn."
[/message]
[music]
name=the_city_falls.ogg
immediate=yes
append=no
[/music]
[music]
name=battle.ogg
append=yes
[/music]
[message]
description=Durstorn
message= _ "Shut up, all of you! Attack them!"
@ -315,7 +327,7 @@
canrecruit=yes
type=Elvish Marshal
[/unit]
{MOVE_UNIT description=Lyndar 3 32}
{MOVE_UNIT description=Lyndar 3 33}
[message]
description=Lyndar
message= _ "Aha! I've spent years looking for you Dwarves, but now I've found you! Prepare to die!"

View file

@ -6,7 +6,9 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/6_Towards_the_Caves.map}"
next_scenario=7_Outriding_the_Outriders
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC breaking_the_chains.ogg}
{EXTRA_SCENARIO_MUSIC the_king_is_dead.ogg}
{EXTRA_SCENARIO_MUSIC battle.ogg}
{DEFAULT_SCHEDULE}

View file

@ -8,7 +8,7 @@
victory_when_enemies_defeated=no
village_gold=0
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC "vengeful.ogg"}
{DEFAULT_SCHEDULE}
@ -106,10 +106,7 @@
description=Alanin
message= _ "My only hope is to convince the peasants to stop the elves from passing through their land, so I can get ahead of them."
[/message]
[/event]
[event]
name=side turn
[unit]
type=Elvish Outrider
description=Asaeri

View file

@ -6,7 +6,7 @@
map_data="{@campaigns/Sceptre_of_Fire/maps/8_The_Dragon.map}"
next_scenario=9_Caverns_of_Flame
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC "knalgan_theme.ogg"}
{DEFAULT_SCHEDULE}

View file

@ -7,7 +7,7 @@
turns=-1
victory_when_enemies_defeated=no
{DEFAULT_MUSIC_PLAYLIST}
{SCENARIO_MUSIC "knalgan_theme.ogg"}
{UNDERGROUND}
@ -145,9 +145,14 @@
{SOF_DEATHS}
[event]
{PLACE_IMAGE scenery/circle-magic.png 18 23}
name=prestart
#the glyph
[item]
x,y=18,23
image=scenery/rune1.png
[/item]
[objectives]
side=1
[objective]
@ -498,12 +503,6 @@
[/if]
#enddef
#the glyph
[item]
x,y=18,23
image=scenery/rune1.png
[/item]
#triggering the volcano
[event]
name=moveto
@ -668,8 +667,7 @@
message= _ "Aghh!!! The volcano is erupting, and now our exit has been blocked off!!!"
[/message]
[endlevel]
result=victory
bonus=no
result=continue_no_save
[/endlevel]
[/then]
[/if]
@ -820,8 +818,7 @@
{NEXT i}
#and then you win
[endlevel]
result=victory
bonus=yes
result=continue_no_save
[/endlevel]
[/else]
[/if]
@ -960,5 +957,8 @@
[unstore_unit]
variable=alanin
[/unstore_unit]
[endlevel]
result=continue_no_save
[/endlevel]
[/event]
[/scenario]

View file

@ -5,8 +5,6 @@
turns=1
map_data="{@campaigns/Sceptre_of_Fire/maps/Epilogue.map}"
{DEFAULT_MUSIC_PLAYLIST}
{DEFAULT_SCHEDULE}
[side]
@ -32,6 +30,7 @@
[story]
[part]
story= _ "And thus Rugnur died - a glorious death, in the eyes of the dwarven sages. But our tale is not yet complete. For Alanin lived still, as did Krawg the Gryphon."
music=the_king_is_dead.ogg
[/part]
[part]
story= _ "Alanin traveled south, to Wesnoth, to Haldric II. To report the events of the past fifteen years."
@ -259,6 +258,13 @@
description=Alanin
message= _ "Very well, my lord."
[/message]
[music]
name=traveling_minstrels.ogg
immediate=yes
append=no
[/music]
[message]
speaker=narrator
message= _ "The sceptre would not be found until many generations after Haldric II, in the time of Asheviere the Dark Queen. During that time, it sat in the caves of the Northlands, unfound but undestroyed, moved around by Orcs who never understood its true power."
@ -270,7 +276,7 @@
image=wesnoth-icon.png
[/message]
[endlevel]
result=victory
result=continue_no_save
[/endlevel]
[/event]
[/scenario]