LoW::14: simplified code, removed 'ai turn' events...

...which 1) mess up replay 2) were incorrectly used
This commit is contained in:
Iurii Chernyi 2009-10-07 13:23:14 +00:00
parent 85459732d1
commit b55b5b3a83

View file

@ -349,98 +349,86 @@
[/side]
[event]
name=side turn
first_time_only=no
[if]
[variable]
name=turn_number
equals=5
[/variable]
[variable]
name=side_number
equals=3
[/variable]
[then]
[unit]
role=reenforce1
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord.png"
side=7
x=5
y=5
canrecruit=yes
[/unit]
name=side 3 turn 5
[unit]
role=reenforce1
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord.png"
side=7
x=5
y=5
canrecruit=yes
[/unit]
[unit]
role=reenforce2
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord2.png"
side=8
x=5
y=28
canrecruit=yes
[/unit]
[unit]
role=reenforce2
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord2.png"
side=8
x=5
y=28
canrecruit=yes
[/unit]
[unit]
role=reenforce3
type=Orcish Warlord
generate_name=yes
random_traits=yes
#profile="portraits/orcs/warlord3.png"
side=9
x=5
y=32
canrecruit=yes
[/unit]
[unit]
role=reenforce3
type=Orcish Warlord
generate_name=yes
random_traits=yes
#profile="portraits/orcs/warlord3.png"
side=9
x=5
y=32
canrecruit=yes
[/unit]
[message]
speaker=narrator
message= _ "The brazen cry of a war-horn is heard in the distance."
sound=horn-signals/horn-2.ogg
image="portraits/goblins/transparent/rouser-2.png"
[/message]
[message]
speaker=narrator
message= _ "The brazen cry of a war-horn is heard in the distance."
sound=horn-signals/horn-2.ogg
image="portraits/goblins/transparent/rouser-2.png"
[/message]
[replace_map]
map="{campaigns/Legend_of_Wesmere/maps/14_Human_Alliance.map}"
[/replace_map]
[replace_map]
map="{campaigns/Legend_of_Wesmere/maps/14_Human_Alliance.map}"
[/replace_map]
[terrain]
terrain=Xv
x=0-3
y=0-53
[/terrain]
[terrain]
terrain=Xv
x=0-3
y=0-53
[/terrain]
[redraw]
[/redraw]
[redraw]
[/redraw]
[message]
id=Aldar
message= _ "More of them arrive."
[/message]
[message]
id=Aldar
message= _ "More of them arrive."
[/message]
[message]
role=reenforce1
message= _ "Our wolves' teeth will crack their bones! Attack!"
[/message]
[message]
role=reenforce1
message= _ "Our wolves' teeth will crack their bones! Attack!"
[/message]
[scroll_to_unit]
role=reenforce3
[/scroll_to_unit]
[scroll_to_unit]
role=reenforce3
[/scroll_to_unit]
[delay]
time=2000
[/delay]
[delay]
time=2000
[/delay]
[message]
role=reenforce2
message= _ "Blood and steel! Hunt the worms down and crush them!"
[/message]
[/then]
[/if]
[message]
role=reenforce2
message= _ "Blood and steel! Hunt the worms down and crush them!"
[/message]
[/event]
[side]
@ -471,67 +459,55 @@
[/side]
[event]
name=side turn
first_time_only=no
[if]
[variable]
name=turn_number
equals=12
[/variable]
[variable]
name=side_number
equals=3
[/variable]
[then]
[unit]
role=reenforce1
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord3.png"
side=10
x=2
y=7
canrecruit=yes
[/unit]
name=side 3 turn 12
[unit]
role=reenforce1
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord3.png"
side=10
x=2
y=7
canrecruit=yes
[/unit]
[unit]
role=reenforce2
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord4.png"
side=11
x=2
y=39
canrecruit=yes
[/unit]
[unit]
role=reenforce2
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord4.png"
side=11
x=2
y=39
canrecruit=yes
[/unit]
[unit]
role=reenforce3
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord5.png"
side=12
x=1
y=45
canrecruit=yes
[/unit]
[unit]
role=reenforce3
type=Orcish Warlord
generate_name=yes
random_traits=yes
profile="portraits/orcs/warlord5.png"
side=12
x=1
y=45
canrecruit=yes
[/unit]
[replace_map]
map="{campaigns/Legend_of_Wesmere/maps/14_Human_Alliance.map}"
[/replace_map]
[replace_map]
map="{campaigns/Legend_of_Wesmere/maps/14_Human_Alliance.map}"
[/replace_map]
[redraw]
[/redraw]
[redraw]
[/redraw]
[message]
role=reenforce2
message=_ "Har har har!"
[/message]
[message]
role=reenforce2
message=_ "Har har har!"
[/message]
[/then]
[/if]
[/event]
#### /reenforcements for the orcs ####