LoW: Fixed Galtrid only recruiting lvl1 units.
Removed obsolete code. Include map setup file.
This commit is contained in:
parent
8176996de6
commit
f28769969e
1 changed files with 25 additions and 188 deletions
|
@ -1,4 +1,14 @@
|
|||
#textdomain wesnoth-low
|
||||
|
||||
#TODO shorten the scenario by ledding the orcs flee if their number is low.
|
||||
#TODO give the player a reward for saving el'isomithir
|
||||
#TODO Why is Galtrid only recruiting lvl one units?
|
||||
#TODO Add the oger cage idea.
|
||||
#TODO give a reward for saving some of the Kalian gold.
|
||||
#TODO make Cleodil say something
|
||||
#TODO remove the village that was destroyed in scenario 3.
|
||||
#TODO add the water sound effects.
|
||||
|
||||
{./07_Elves_last_stand_utils.cfg}
|
||||
[scenario]
|
||||
id=07_Elves_last_stand
|
||||
|
@ -16,6 +26,7 @@
|
|||
{TO_ELVES_LAST_STAND}
|
||||
[/part]
|
||||
[/story]
|
||||
### /Story ###
|
||||
|
||||
### Music playlist ###
|
||||
{INTRO_AND_SCENARIO_MUSIC elf-land.ogg elvish-theme.ogg}
|
||||
|
@ -26,192 +37,19 @@
|
|||
{EXTRA_SCENARIO_MUSIC suspense.ogg}
|
||||
{EXTRA_SCENARIO_MUSIC heroes_rite.ogg}
|
||||
{EXTRA_SCENARIO_MUSIC casualties_of_war.ogg}
|
||||
### /Music playlist ###
|
||||
|
||||
#### Map setup ####
|
||||
### Map setup ###
|
||||
{TURNS 35 30 25}
|
||||
|
||||
{DEFAULT_SCHEDULE}
|
||||
|
||||
{LOW_MAP Kalian.map}
|
||||
{LOW_MASK 07_Elves_last_stand.mask}
|
||||
{campaigns/Legend_of_Wesmere/maps/Kalian_map.cfg}
|
||||
### /Map Setup ###
|
||||
|
||||
[item]
|
||||
x=40
|
||||
y=22
|
||||
image=items/archery-target-right.png
|
||||
[/item]
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
{SET_LABEL 12 2 (_ "River Telfar")}
|
||||
|
||||
#Set locations known to the ai_controller.
|
||||
#Call protocol is AI_LOCATION AFFIX STRING RADIUS X Y
|
||||
{AI_LOCATION kkalenz _"Keep of Kalenz" 1 42 11}
|
||||
{AI_LOCATION ktrugl _"Keep of Truugl" 2 26 8}
|
||||
{AI_LOCATION kmordrum _"Keep of Mordrum" 2 4 13}
|
||||
{AI_LOCATION kurugpir _"Keep of Urug-Pir" 2 6 23}
|
||||
{AI_LOCATION kelithsomir _"Keep of El'Ithsomir" 1 13 36}
|
||||
{AI_LOCATION kgrubr _"Keep of Grubr" 1 25 43}
|
||||
{AI_LOCATION nshallows _"Northern Shallows" 2 14 9}
|
||||
{AI_LOCATION falyas _"Ford of Alyas" 3 23 19}
|
||||
{AI_LOCATION ftifranur _"Ford of Tifranur" 2 38 31}
|
||||
{AI_LOCATION tnorth _"North Tower" 1 31 24}
|
||||
{AI_LOCATION tsouth _"South Tower" 1 33 26}
|
||||
{AI_LOCATION sgate _"South Bastion" 1 31 31}
|
||||
{AI_LOCATION telgreen _"Telfar Green" 2 12 14}
|
||||
{AI_LOCATION dancegreen _"Dancer's Green" 5 18 4}
|
||||
{AI_LOCATION karmarth _"Karmarth Hills" 5 39 4}
|
||||
{AI_LOCATION nbridge _"North Bridge" 1 31 20}
|
||||
{AI_LOCATION gtree _"Great Tree" 1 30 25}
|
||||
{AI_LOCATION brightleaf _"Brightleaf Wood" 5 19 30}
|
||||
{AI_LOCATION westwind _"Westwind Wood" 5 42 20}
|
||||
{AI_LOCATION southwind _"Southwind Wood" 5 40 38}
|
||||
{AI_LOCATION telionath _"Telionath" 1 27 34}
|
||||
{AI_LOCATION arthen _"Arthen" 1 15 20}
|
||||
{AI_LOCATION arryn _"Arryn" 1 41 26}
|
||||
{AI_LOCATION illissa _"Illissa" 1 17 25}
|
||||
{AI_LOCATION viricon _"Viricon" 1 21 39}
|
||||
{AI_LOCATION tireas _"Tireas" 1 33 16}
|
||||
{AI_LOCATION essarn _"Essarn" 1 4 30}
|
||||
{AI_LOCATION valcathra _"Valcathra" 1 7 37}
|
||||
{AI_LOCATION aelion _"Aelion" 1 33 39}
|
||||
{AI_LOCATION elendor _"Elendor" 1 27 17}
|
||||
{AI_LOCATION erethean _"Erethean" 1 28 53}
|
||||
[/event]
|
||||
|
||||
#define RIVER_FORD X Y
|
||||
[event]
|
||||
name=prestart
|
||||
[sound_source]
|
||||
id=river_ford_{X}_{Y}
|
||||
#sounds=ambient/river/ford.ogg
|
||||
delay=0
|
||||
chance=100
|
||||
check_fogged=false
|
||||
loop=-1
|
||||
x={X}
|
||||
y={Y}
|
||||
full_range=1
|
||||
fade_range=4
|
||||
[/sound_source]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
#define RIVER_SLOW X Y
|
||||
[event]
|
||||
name=prestart
|
||||
[sound_source]
|
||||
id=river_slow_{X}_{Y}
|
||||
#sounds=ambient/river/slow.ogg
|
||||
delay=0
|
||||
chance=100
|
||||
check_fogged=false
|
||||
loop=-1
|
||||
x={X}
|
||||
y={Y}
|
||||
full_range=3
|
||||
fade_range=5
|
||||
[/sound_source]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
#define RIVER_FAST X Y
|
||||
[event]
|
||||
name=prestart
|
||||
[sound_source]
|
||||
id=river_fast_{X}_{Y}
|
||||
#sounds=ambient/river/fast.ogg
|
||||
delay=0
|
||||
chance=100
|
||||
check_fogged=false
|
||||
loop=-1
|
||||
x={X}
|
||||
y={Y}
|
||||
full_range=2
|
||||
fade_range=4
|
||||
[/sound_source]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
|
||||
## Sound for the River Telfar
|
||||
|
||||
{RIVER_SLOW 12 1}
|
||||
{RIVER_SLOW 12 5}
|
||||
|
||||
# Northern Shallows
|
||||
{RIVER_FORD 14 9}
|
||||
|
||||
{RIVER_FAST 17 13}
|
||||
{RIVER_FAST 19 15}
|
||||
|
||||
# Ford of Alyas
|
||||
{RIVER_FORD 21 17}
|
||||
{RIVER_FORD 23 19}
|
||||
{RIVER_FORD 25 21}
|
||||
|
||||
# Ford of Tifranur
|
||||
{RIVER_FORD 37 30}
|
||||
{RIVER_FORD 40 31}
|
||||
{RIVER_FORD 43 32}
|
||||
|
||||
#define BIRD_SOUND X Y
|
||||
[event]
|
||||
name=new turn
|
||||
first_time_only=no
|
||||
[store_time_of_day]
|
||||
variable=time_of_day
|
||||
[/store_time_of_day]
|
||||
|
||||
[if]
|
||||
[not]
|
||||
[variable]
|
||||
name=time_of_day.id
|
||||
equals=first_watch
|
||||
[/variable]
|
||||
[or]
|
||||
[variable]
|
||||
name=time_of_day.id
|
||||
equals=second_watch
|
||||
[/variable]
|
||||
[/or]
|
||||
[/not]
|
||||
[then]
|
||||
[sound_source]
|
||||
id=birds_{X}_{Y}
|
||||
sounds=ambient/birds1.ogg,ambient/birds2.ogg,ambient/birds3.ogg
|
||||
delay=0
|
||||
chance=100
|
||||
check_fogged=false
|
||||
loop=-1
|
||||
x={X}
|
||||
y={Y}
|
||||
full_range=5
|
||||
fade_range=7
|
||||
[/sound_source]
|
||||
[/then]
|
||||
[else]
|
||||
[remove_sound_source]
|
||||
id=birds_{X}_{Y}
|
||||
[/remove_sound_source]
|
||||
[/else]
|
||||
[/if]
|
||||
{CLEAR_VARIABLE time_of_day}
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
{BIRD_SOUND 19 30}
|
||||
{BIRD_SOUND 42 19}
|
||||
{BIRD_SOUND 18 15}
|
||||
{BIRD_SOUND 38 37}
|
||||
{BIRD_SOUND 28 16}
|
||||
|
||||
#undef BIRD_SOUND
|
||||
|
||||
##### /Map Setup #####
|
||||
|
||||
#Kalenz
|
||||
#### Kalenz ###
|
||||
#wmllint: validate-off
|
||||
[side]
|
||||
{KALENZ}
|
||||
|
@ -234,17 +72,8 @@
|
|||
[/side]
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
# the usual suspects
|
||||
{RECALL_LOYALS}
|
||||
|
||||
[store_unit]
|
||||
[filter]
|
||||
side=1
|
||||
race=dwarf
|
||||
[/filter]
|
||||
variable=olurf_store
|
||||
[/store_unit]
|
||||
[/event]
|
||||
|
||||
### Allies ####
|
||||
|
@ -270,6 +99,13 @@
|
|||
grouping=defensive
|
||||
[/ai]
|
||||
[/side]
|
||||
[event]
|
||||
name=prestart
|
||||
[allow_recruit]
|
||||
side=2
|
||||
type={ELVES}, Elvish Captain, Elvish Hero, Elvish Sorceress, Elvish Marksman, Elvish Ranger, Elvish Druid, Elvish Lord
|
||||
[/allow_recruit]
|
||||
[/event]
|
||||
#wmllint: validate-on
|
||||
{STARTING_VILLAGES_ALL 2}
|
||||
|
||||
|
@ -439,6 +275,7 @@
|
|||
persistent=yes
|
||||
save_id=Olurf
|
||||
no_leader=yes
|
||||
hidden=yes
|
||||
[/side]
|
||||
|
||||
#### Objectives and corresponding events ####
|
||||
|
@ -574,7 +411,7 @@
|
|||
[/event]
|
||||
|
||||
[event]
|
||||
name=turn 14
|
||||
name=turn 12
|
||||
[fire_event]
|
||||
name=olurf
|
||||
[/fire_event]
|
||||
|
|
Loading…
Add table
Reference in a new issue