bug fixes for scenario Captured

This commit is contained in:
Joseph Simmons 2004-07-11 05:01:59 +00:00
parent 8c590c5f2b
commit 6053a0c50b
2 changed files with 147 additions and 82 deletions

View file

@ -1,24 +1,24 @@
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWmmhhggggg
WuuuWWWWWWWuWWWWWWWWWWWWWWWWWDDDWWWmmhgggggg
WuuuWWWWWuuuuuWWWWWWWWWWWWWWWDDDWWWWmmhhgggg
WWuWWuuuWuuuuuWWWWWWWWWWWWWurWDWWWWWmWmmhggg
WWuWWuuuWuuuuuWWWWWWWWWWWWWuWWDWWWWWmWmmhggg
WWWuWuuuWuuuuuWWWWWWWWWWWuuWWWWWWWWWWWWWhggg
WuuurWuWWWuuuWuuWWWuWWWuuWWWWWWWWWWWWWWWg1gh
WuuuWWWWWWWWWWWWruuuuurWWWWWWWWWWWWWWWWuCghm
WuuuWWuWWWuuuWuuWWWuWWWuuWWWWWWWWWWWWWWWg1gh
WuuuWWWWWWWWWWWWWuuuuuWWWWWWWWWWWWWWWWWuCghm
WuuuWuuuWWWWWWWuuuuuuuuuWWWWWWWWWuWWWuuWWWWm
WuuuruuuWWWWWWuuuuuCuuuuuWWWWWWWuuuruWWWWWWm
WuuuWWuWWuuuuruuuuC2CuuuuuWWWWWWuuuWWWWWWWWm
WuuuWWWWWuuuWWuuuuCCCuuuuuruuuuruuuWWWWWWWWm
WuuuWuuuWWWWWWuuuuuCuuuuuWWWWWWWuuuWuWWWWWWm
WuuuWWuWWuuuuWuuuuC2CuuuuuWWWWWWuuuWWWWWWWWm
WuuuWWWWWuuuWWuuuuCCCuuuuuWuuuuWuuuWWWWWWWWm
WuuuWuuuWWuWWWuuuuuuuuuuuWWWWWWWuuuWWWWWWWWm
WuuuruuuWWWWWruuuuuuuuuuuWWWWWWWuuuWWWWWWWWm
WuuuWuuuWWWWWWuuuuuuuuuuuWWWWWWWuuuWWWWWWWWm
WuuuWWuWWWWuuWWWuuuuuuuWWWWWWWWWuuuWWWWWWWWm
WuuWWWWWWruWWWWWWruuuWruWWWWWWWWWWWWWWWWWWWW
WuuWWWWWWWuWWWWWWWuuuWWuWWWWWWWWWWWWWWWWWWWW
WuWuuuWWWuWWWWWuuuWWWWWWuuWWWWWWWWWWWWWWWWWW
WuWuuuWuuuuuWuuuuuuuWWWWWWuuWWWuWWWWWWWWWWWW
WuWWuWWuuuuuWuuuuuuuWWWWWWWWruuuuuWWWWWWWWWW
WWuurWWuuuuuWuuuuuuuWWWWWWWWWuuuuuWWWWWWWWWW
WuWWuWWuuuuuWuuuuuuuWWWWWWWWWuuuuuWWWWWWWWWW
WWuuWWWuuuuuWuuuuuuuWWWWWWWWWuuuuuWWWWWWWWWW
WWWWuuWWuuuWWuuuuuuuWWWWWWWWWuuuuuWWWWWWWWWW
WuuuWuWWWWWWWWuuuuuWWWWWWWWWWWuuuWWWWWWWWWWW
WuuuruWWWuWWWWWWuWWWWWWWWWWWWWWWWWWWWWWWWWWW
WuuuWuWWWuWWWWWWuWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWuWWWuuuWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

View file

@ -81,7 +81,6 @@ victory_when_enemies_defeated=no
canrecruit=1
controller=ai
recruit=
shroud=yes
{GOLD 40 50 60}
[ai]
passive_leader=yes
@ -93,6 +92,7 @@ victory_when_enemies_defeated=no
y=1-24,21-24,16-24
[/avoid]
[/ai]
team_name=bad
[/side]
[side]
@ -110,6 +110,7 @@ victory_when_enemies_defeated=no
type=Gate
[/avoid]
[/ai]
team_name=bad
[/side]
#####################
@ -263,19 +264,21 @@ name={V}.description
value={L}
[/set_variable]
#enddef
[event]
name=prestart
######################
#/lots of definitions#
######################
########################################
#starting units (like guards and doors)#
########################################
[event]
name=prestart
# a bunch of doors
{DOOR 5 22}
{DOOR 5 19}
{DOOR 5 13}
{DOOR 5 9}
{DOOR 5 6}
{DOOR 10 21}
{DOOR 10 15}
{DOOR 14 13}
{DOOR 18 15}
@ -348,6 +351,10 @@ value={L}
[/item]
[/event]
#############################
#THE START EVENT BEGINS HERE#
#############################
[event]
name=start
################
@ -438,8 +445,70 @@ value={L}
id=msg_cmpgn_ei_14_10
message="Since they are probably tied down like I was, I will have to get into their cells in order to see them."
[/message]
#######################
#event inside an event#
#######################
[event]
name=sighted
[filter]
type=Orcish Grunt,Orcish Warrior
[/filter]
[message]
speaker=unit
id=msg_cmpgn_ei_14_23
message=The high security prisoners are escaping!
[/message]
[message]
description=King Dra-Nak
id=msg_cmpgn_ei_14_24
message=Kill them.
[/message]
#these are prisoners even though the macro is called PRISON
#first group of prisoners- in the large cell
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
#a prisoner says something
[message]
speaker=narrator
id=msg_cmpgn_ei_14_25
message="The guards are distracted! Now is the time to escape!"
[/message]
[message]
description=Gweddry
id=msg_cmpgn_ei_14_26
message="What the...? Who said that?"
[/message]
[/event]
########################
#/event inside an event#
########################
[/event]
###########################
#THE START EVENT ENDS HERE#
###########################
##########################################
#rescuing Dacyn, Owaec and the two others#
##########################################
#define TRUEUNSTORE X Y V
[filter]
x={X}
@ -452,9 +521,6 @@ find_vacant=yes
[/unstore_unit]
#enddef
##########################################
#rescuing Dacyn, Owaec and the two others#
##########################################
#Owaec
[event]
name=moveto
@ -523,19 +589,36 @@ find_vacant=yes
[/set_variable]
[/event]
###########
#Bat stuff#
###########
#some more bats appear when you kill the first gate gate
#these ones live in the halls
[event]
name=die
[filter]
type=Gate
[/filter]
#some more bats appear when you kill a gate
#these ones live in the halls
{SIDE4 2 6 (Blood Bat)}
{SIDE4 2 8 (Vampire Bat)}
{SIDE4 2 10 (Vampire Bat)}
{SIDE4 2 12 (Vampire Bat)}
{SIDE4 2 14 (Vampire Bat)}
[/event]
#this was added to stop the bats from attacking the doors
[event]
name=die
first_time_only=no
[filter]
type=Gate
[/filter]
[terrain]
x=$x1
y=$y1
letter=r
[/terrain]
[/event]
##########################
#the key in all its glory#
@ -624,68 +707,18 @@ find_vacant=yes
y=21
letter=u
[/terrain]
[clear_variable]
[set_variable]
name=key
[/clear_variable]
value=no
[/set_variable]
[/then]
[/if]
[/event]
######################
#the main prison room#
######################
#sighted event
[event]
name=sighted
[filter]
type=Orcish Grunt,Orcish Warrior
[/filter]
[message]
speaker=unit
id=msg_cmpgn_ei_14_23
message=The high security prisoners are escaping!
[/message]
[message]
description=King Dra-Nak
id=msg_cmpgn_ei_14_24
message=Kill them.
[/message]
#these are prisoners even though the macro is called PRISON
#first group of prisoners- in the large cell
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
{PRISON 17 19}
#a prisoner says something
[message]
speaker=narrator
id=msg_cmpgn_ei_14_25
message="The guards are distracted! Now is the time to escape!"
[/message]
[message]
description=Gweddry
id=msg_cmpgn_ei_14_26
message="What the...? Who said that?"
[/message]
[/event]
###################################
######################################
#Valand and his worthless compatriots#
###################################
######################################
[event]
name=die
[filter]
@ -735,9 +768,45 @@ find_vacant=yes
{GUARD 20 10 (Orcish Grunt)}
{GUARD 20 10 (Orcish Grunt)}
{GUARD 20 10 (Orcish Grunt)}
{GUARD 20 10 (Orcish Grunt)}
[/event]
##################################
#eternal holy water is always fun#
##################################
[item]
x=12
y=4
image=misc/item-holywater.png
[/item]
[event]
name=moveto
first_time_only=no
[filter]
side=1
x=12
y=4
[/filter]
[object]
id=holywater
name=Holy Water
image=misc/item-holywater.png
duration=forever
description=This water will make all of your weapons holy for your whole life!
cannot_use_message="I am not suited to using this item! Let another take it."
[effect]
apply_to=attack
range=short
set_type=holy
[/effect]
[effect]
apply_to=attack
range=long
set_type=holy
[/effect]
[/object]
[/event]
#########
#victory#
#########
@ -758,11 +827,7 @@ find_vacant=yes
result=victory
bonus=yes
[/endlevel]
[/event]
#if Valand is still alive, he thanks you
[event]
name=victory
[message]
description=Valand
id=msg_cmpgn_ei_14_32