[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/data/scenarios/Eastern_Invasion The_Dro...
From: |
Joseph Simmons |
Subject: |
[Wesnoth-cvs-commits] wesnoth/data/scenarios/Eastern_Invasion The_Dro... |
Date: |
Thu, 28 Apr 2005 21:37:18 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Joseph Simmons <address@hidden> 05/04/29 01:37:17
Modified files:
data/scenarios/Eastern_Invasion: The_Drowned_Plains.cfg
Log message:
New map and .cfg file for Drowned Plains scenario
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/scenarios/Eastern_Invasion/The_Drowned_Plains.cfg.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
Patches:
Index: wesnoth/data/scenarios/Eastern_Invasion/The_Drowned_Plains.cfg
diff -u wesnoth/data/scenarios/Eastern_Invasion/The_Drowned_Plains.cfg:1.12
wesnoth/data/scenarios/Eastern_Invasion/The_Drowned_Plains.cfg:1.13
--- wesnoth/data/scenarios/Eastern_Invasion/The_Drowned_Plains.cfg:1.12 Sun Mar
27 23:06:16 2005
+++ wesnoth/data/scenarios/Eastern_Invasion/The_Drowned_Plains.cfg Fri Apr
29 01:37:17 2005
@@ -1,9 +1,9 @@
[scenario]
id=The_Drowned_Plains
- #textdomain wesnoth-ei
+ textdomain=wesnoth-ei
name= _ "The Drowned Plains"
map_data="{maps/Eastern_Invasion/Drowned_Plains}"
- turns=24
+ turns=36
next_scenario=Approaching_Weldyn
{DAWN}
@@ -14,6 +14,7 @@
{SECOND_WATCH}
music="wesnoth-2.ogg"
+ victory_when_enemies_defeated=no
objectives= _ "
Victory:
@@ -40,19 +41,119 @@
side=1
canrecruit=1
controller=human
+# fog=yes
[/side]
[side]
- type=Skeletal Dragon
- description=Mal-Rhazal
- user_description= _ "Mal-Rhazal"
+ no_leader=yes
side=2
- canrecruit=1
controller=ai
- recruit=Vampire Bat
- gold=0
+ team_name=baddies
[/side]
+ [side]
+ side=3
+ controller=ai
+ team_name=baddies
+ gold=0
+ no_leader=yes
+ [ai]
+ #don't target any of the default things
+ village_value=0
+ leader_value=0
+ protect_leader=0
+ #stay in the middle of the map
+ [avoid]
+ [not]
+ x=14-32
+ y=10-45
+ [/not]
+ [/avoid]
+ #and target anyone in it (otherwise it will have nothing to do
when
+ #it can't attack in the current turn)
+ [target]
+ #who knows what would happen if it targetted itself
+ [not]
+ type=Cockatrice
+ [/not]
+ x=14-32
+ y=10-45
+ value=100.0
+ [/target]
+ #I don't know if this is needed, but it sure would be stupid to
use
+ #any grouping behavior when there's only one unit on this side!
+ grouping=no
+ #not sure if this really does anything; it was copied from IP's
code
+ aggression=1.0
+ caution=0.0
+ [/ai]
+
+ #give the skeletal dragon something to do when there are no
enemies available
+ #let it look like it's wandering around semi-randomly
+ [ai]
+ [leader_goal]
+ x,y=14,10
+ [/leader_goal]
+ time_of_day=dawn
+ [/ai]
+ [ai]
+ [leader_goal]
+ x,y=23,26
+ [/leader_goal]
+ time_of_day=morning
+ [/ai]
+ [ai]
+ [leader_goal]
+ x,y=23,26
+ [/leader_goal]
+ time_of_day=afternoon
+ [/ai]
+ [ai]
+ [leader_goal]
+ x,y=32,45
+ [/leader_goal]
+ time_of_day=dusk
+ [/ai]
+ [ai]
+ [leader_goal]
+ x,y=32,10
+ [/leader_goal]
+ time_of_day=first_watch
+ [/ai]
+ [ai]
+ [leader_goal]
+ x,y=14-45
+ [/leader_goal]
+ time_of_day=second_watch
+ [/ai]
+ [unit]
+ type="Skeletal Dragon"
+ description="Khrakrahs"
+ user_description= _ "Khrakrahs"
+ canrecruit=1
+ x=28
+ y=23
+ [/unit]
+ team_name=baddies
+ gold=0
+ [/side]
+
+#define UNDEAD X Y
+[set_variable]
+name=type
+{QUANTITY random (Bone Shooter,Revenant,Shadow,Wraith,Necrophage,Bone
Shooter,Revenant,Shadow,Wraith,Necrophage,Soul Shooter) (Bone
Shooter,Revenant,Shadow,Wraith,Necrophage,Bone
Shooter,Revenant,Shadow,Wraith,Necrophage,Soul Shooter,Spectre,Nightgaunt)
(Bone Shooter,Revenant,Shadow,Wraith,Necrophage,Soul
Shooter,Spectre,Nightgaunt)}
+[/set_variable]
+[unit]
+x={X}
+y={Y}
+type=$type
+side=2
+[/unit]
+[clear_variable]
+name=type
+[/clear_variable]
+#enddef
+
[event]
name=start
[recall]
@@ -74,134 +175,74 @@
[/message]
[message]
description=Engineer
- message= _ "I s'ppose we'll hav' to wade across it... ugh."
+ message= _ "I s'ppose we'll hav' to wade across it... ugh. An'
with dis mist from de swamp, we can't e'en see any 'nemies."
[/message]
[message]
- description=Mal-Rhazal
- message= _ "Rise... kill... my master is calling you... Rise!"
- [/message]
- [unit]
- x=27
- y=10
description=Khrakrahs
- user_description= _ "Khrakrahs"
- side=2
- canrecruit=1
- type=Skeletal Dragon
- [/unit]
+ message= _ "Findshhhh... dyhhhh... slayhhhh..."
+ [/message]
[message]
description=Gweddry
message= _ "What is that?!?"
[/message]
[message]
description=Dacyn
- message= _ "Ah, the dragon Khrakrahs. When it was alive, it was
the most powerful creature ever, living in the Eastern Mountains. It must have
fled when the Undead came."
- [/message]
- [message]
- description=Mal-Rhazal
- message= _ "Yes, the dragon fled, but not even the mightiest
can escape the all-powerful clutches of the great lich Mal-Ravanal. You
remember the prophecy, Dacyn. You will meet your doom!"
- [/message]
- [kill]
- description=Mal-Rhazal
- [/kill]
- [message]
- description=Gweddry
- message= _ "Prophecy?"
+ message= _ "I do not know, but it sounded like the dragon
Khrakrahs. When it was alive, it was the most powerful creature ever, living in
the Eastern Mountains. It must have fled when the Undead came."
[/message]
[/event]
-
-#define UNDEAD X Y
-[set_variable]
-name=type
-random=Bone Shooter,Revenant,Shadow,Wraith,Necrophage,Bone
Shooter,Revenant,Shadow,Wraith,Necrophage,Soul Shooter,Spectre,Nightgaunt
-[/set_variable]
-[unit]
-x={X}
-y={Y}
-type=$type
-side=2
-[/unit]
-[clear_variable]
-name=type
-[/clear_variable]
-#enddef
-
-
[event]
name=moveto
+ first_time_only=no
[filter]
side=1
- x=1-50
- y=9-18
[/filter]
+ {RANDOM 1..20}
[if]
- [have_unit]
- x=$x1
- y=$y1
- description=Gweddry
- [/have_unit]
+ [variable]
+ name=random
+ numerical_equals=1
+ [/variable]
[then]
- [message]
- description=Gweddry
- message= _ "Undead are rising out of the
ground! We must destroy them, quickly!"
- [/message]
- [/then]
- [else]
+ [set_variable]
+ name=tempx
+ value=$x1
+ [/set_variable]
+ {RANDOM -3..3}
+ [set_variable]
+ name=tempx
+ add=$random
+ [/set_variable]
+ [set_variable]
+ name=tempy
+ value=$y1
+ [/set_variable]
+ {RANDOM -3..3}
+ [set_variable]
+ name=tempy
+ add=$random
+ [/set_variable]
+ {UNDEAD $tempx $tempy}
+ {UNDEAD $tempx $tempy}
+ {UNDEAD $tempx $tempy}
+#ifdef HARD
+ {UNDEAD $tempx $tempy}
+#endif
+ [clear_variable]
+ name=tempx
+ [/clear_variable]
+ [clear_variable]
+ name=tempy
+ [/clear_variable]
[message]
speaker=unit
- message= _ "My lord, undead are rising out of
the cracks in the ground!"
- [/message]
- [message]
- description=Gweddry
- message= _ "This might be more difficult than I
thought."
+ message= _ "Undead, undead are rising out of
the ground!"
[/message]
- [/else]
+ [/then]
[/if]
-
- {UNDEAD 11 14}
- {UNDEAD 13 13}
- {UNDEAD 15 12}
- {UNDEAD 17 11}
- {UNDEAD 19 10}
- {UNDEAD 14 10}
- {UNDEAD 16 9}
- {UNDEAD 18 8}
- {UNDEAD 20 7}
- {UNDEAD 29 4}
- {UNDEAD 31 5}
- {UNDEAD 33 6}
- {UNDEAD 27 6}
-#ifdef EASY
-#else
- {UNDEAD 13 15}
- {UNDEAD 15 14}
- {UNDEAD 17 13}
- {UNDEAD 19 12}
- {UNDEAD 20 11}
- {UNDEAD 35 7}
-#endif
-#ifdef HARD
- {UNDEAD 24 10}
- {UNDEAD 24 11}
- {UNDEAD 32 9}
- {UNDEAD 32 10}
- {UNDEAD 27 12}
- {UNDEAD 28 12}
-#endif
- [/event]
- [event]
- name=die
- [filter]
- description=Khrakrahs
- [/filter]
- [message]
- description=Dacyn
- message= _ "Now let's get out of this bog!"
- [/message]
- [endlevel]
- result=victory
- bonus=yes
- [/endlevel]
+ [clear_variable]
+ name=random
+ [/clear_variable]
+
[/event]
[/scenario]
- [Wesnoth-cvs-commits] wesnoth/data/scenarios/Eastern_Invasion The_Dro...,
Joseph Simmons <=