mail[Wesnoth-commits] r20750 - in /trunk/data/campaigns/The_Rise_Of_Wesnoth: scenarios/ units/


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by mythological on September 27, 2007 - 19:16:
Author: mythological
Date: Thu Sep 27 19:16:19 2007
New Revision: 20750

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20750&view=rev
Log:
Added 3 different levels of the lady outlaw; also changed Return to Oldwood 
to avoid the possibility of unstoring an empty store

Added:
    trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_1.cfg
    trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_2.cfg
    trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_3.cfg
Modified:
    
trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/07_Return_to_Oldwood.cfg

Modified: 
trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/07_Return_to_Oldwood.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/07_Return_to_Oldwood.cfg?rev=20750&r1=20749&r2=20750&view=diff
==============================================================================
--- 
trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/07_Return_to_Oldwood.cfg 
(original)
+++ 
trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/07_Return_to_Oldwood.cfg 
Thu Sep 27 19:16:19 2007
@@ -107,6 +107,22 @@
         [recall]
             description=Minister Edmond
         [/recall]
+
+        [unstore_unit]
+            variable=lady_store
+            find_vacant=no
+        [/unstore_unit]
+
+        {FULL_HEAL description="Lady Outlaw"}
+
+        [store_unit]
+            [filter]
+                description=Lady Outlaw
+            [/filter]
+            variable=lady_store
+            kill=yes
+        [/store_unit]
+        
     [/event]
 
     [event]
@@ -164,21 +180,17 @@
         {VARIABLE lady_store.x 6}
         {VARIABLE lady_store.y 22}
 
-        [unstore_unit]
-            variable=lady_store
-        [/unstore_unit]
-    [/event]
-
-    [event]
-        name=start
         [if]
-            [have_unit]
-                side=1
-                description=Lady Outlaw
-            [/have_unit]
+            [variable]
+                name=lady_store.description
+                equals="Lady Outlaw"
+            [/variable]
             [then]
+                [unstore_unit]
+                    variable=lady_store
+                [/unstore_unit]
             [/then]
-            [else]        
+            [else]
                 [unit]
                     type=Outlaw
                     gender=female
@@ -192,7 +204,7 @@
                 [/unit]
             [/else]
         [/if]
-
+   
         [if]
             [variable]
                 name=have_lady

Added: trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_1.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_1.cfg?rev=20750&view=auto
==============================================================================
--- trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_1.cfg (added)
+++ trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_1.cfg Thu Sep 
27 19:16:19 2007
@@ -1,0 +1,175 @@
+#textdomain wesnoth-trow
+[unit]
+    id=Outlaw Lady 1
+    name= _ "female^Outlaw Lady 1"
+    race=human
+    gender=female
+    image="units/human-outlaws/footpad+female.png"
+    ellipse="misc/ellipse"
+    {MAGENTA_IS_THE_TEAM_COLOR}
+    hitpoints=33
+    [abilities]
+        {ABILITY_LEADERSHIP_LEVEL_1}
+        [skirmisher]
+        id=distract
+        name= _ "distract"
+        description= _ "Distract:
+This unit negates enemy Zones of Control around itself for friendly units 
(but not for itself)."
+        [filter]
+            [not]
+                type=Outlaw Lady 1
+            [/not]
+        [/filter]
+        [affect_adjacent]
+            adjacent=n,ne,se,s,sw,nw
+            [filter]
+                [not]
+                    type=Outlaw Lady 1
+                [/not]
+            [/filter]
+        [/affect_adjacent]
+        [/skirmisher]
+    [/abilities]
+    movement_type=elusivefoot
+    movement=7
+    experience=40
+    level=1
+    alignment=chaotic
+    advanceto=Outlaw Lady 2
+    cost=18
+    usage=mixed fighter
+    unit_description= _ "Outlaw Lady 1"
+    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
+    {DEFENSE_ANIM "units/human-outlaws/footpad+female-defend.png" 
"units/human-outlaws/footpad+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
+    [attack]
+        name=staff
+        description=_"staff"
+        icon=attacks/quarterstaff.png
+        type=impact
+        range=melee
+        damage=5
+        number=2
+    [/attack]
+    [attack]
+        name=sling
+        description=_"sling"
+        type=impact
+        range=ranged
+        damage=4
+        number=3
+    [/attack]
+    [attack_anim]
+        [attack_filter]
+            name=sling
+        [/attack_filter]
+        [missile_frame]
+            begin=-150
+            end=0
+            image="projectiles/stone.png"
+            image_diagonal="projectiles/stone.png"
+        [/missile_frame]
+        [if]
+            hits=yes
+            [frame]
+                begin=-400
+                end=-100
+                image="units/human-outlaws/footpad+female-attack1.png"
+                sound=sling.ogg
+            [/frame]
+        [/if]
+        [else]
+            hits=no
+            [frame]
+                begin=-400
+                end=-100
+                image="units/human-outlaws/footpad+female-attack1.png"
+                sound=sling-miss.ogg
+            [/frame]
+        [/else]
+        [frame]
+            begin=-100
+            end=50
+            image="units/human-outlaws/footpad+female-attack2.png"
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [attack_filter]
+            name=club
+        [/attack_filter]
+        [frame]
+            begin=-250
+            end=-200
+            image="units/human-outlaws/footpad+female.png"
+        [/frame]
+        [frame]
+            begin=-200
+            end=-100
+            image="units/human-outlaws/footpad+female-melee-1.png"
+        [/frame]
+        [if]
+            hits=yes
+            [frame]
+                begin=-100
+                end=100
+                image="units/human-outlaws/footpad+female-melee-2.png"
+                sound=staff.wav
+            [/frame]
+        [/if]
+        [else]
+            hits=no
+            [frame]
+                begin=-100
+                end=100
+                image="units/human-outlaws/footpad+female-melee-2.png"
+                sound={SOUND_LIST:MISS}
+            [/frame]
+        [/else]
+        [frame]
+            begin=100
+            end=200
+            image="units/human-outlaws/footpad+female-melee-3.png"
+        [/frame]
+        [frame]
+            begin=200
+            end=300
+            image="units/human-outlaws/footpad+female-melee-4.png"
+        [/frame]
+    [/attack_anim]
+    [idle_anim]
+        {STANDARD_IDLE_FILTER}
+        start_time=0
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-1.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-2.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-3.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-4.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-3.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-2.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-3.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-4.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-3.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-2.png"
+            [/frame]
+            [frame]
+                image="units/human-outlaws/footpad+female-idle-1.png"
+            [/frame]
+    [/idle_anim]
+[/unit]

Added: trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_2.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_2.cfg?rev=20750&view=auto
==============================================================================
--- trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_2.cfg (added)
+++ trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_2.cfg Thu Sep 
27 19:16:19 2007
@@ -1,0 +1,195 @@
+#textdomain wesnoth-trow
+[unit]
+    id=Outlaw Lady 2
+    name= _ "female^Outlaw Lady 2"
+    race=human
+    gender=female
+    image="units/human-outlaws/outlaw+female.png"
+    {MAGENTA_IS_THE_TEAM_COLOR}
+    hitpoints=46
+    [abilities]
+        {ABILITY_LEADERSHIP_LEVEL_2}
+        [skirmisher]
+        id=distract
+        name= _ "distract"
+        description= _ "Distract:
+This unit negates enemy Zones of Control around itself for friendly units 
(but not for itself)."
+        [filter]
+            [not]
+                type=Outlaw Lady 2
+            [/not]
+        [/filter]
+        [affect_adjacent]
+            adjacent=n,ne,se,s,sw,nw
+            [filter]
+                [not]
+                    type=Outlaw Lady 2
+                [/not]
+            [/filter]
+        [/affect_adjacent]
+        [/skirmisher]
+    [/abilities]
+    movement_type=elusivefoot
+    movement=7
+    experience=80
+    level=2
+    alignment=chaotic
+    advanceto=Outlaw Lady 3
+    cost=36
+    usage=mixed fighter
+    unit_description= _ "Outlaw Lady 2"
+    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
+        {DEFENSE_ANIM "units/human-outlaws/outlaw+female-defend.png" 
"units/human-outlaws/outlaw+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
+    [attack]
+        name=staff
+        description=_"staff"
+        icon=attacks/quarterstaff.png
+        type=impact
+        range=melee
+        damage=8
+        number=2
+    [/attack]
+    [attack]
+        name=sling
+        description=_"sling"
+        type=impact
+        range=ranged
+        damage=6
+        number=3
+    [/attack]
+    [attack_anim]
+        [attack_filter]
+            name=sling
+        [/attack_filter]
+        [missile_frame]
+            begin=-150
+            end=0
+            image="projectiles/stone.png"
+            image_diagonal="projectiles/stone.png"
+        [/missile_frame]
+        [if]
+            hits=yes
+            [frame]
+                begin=-400
+                end=-100
+                image="units/human-outlaws/outlaw+female-attack1.png"
+                sound=sling.ogg
+            [/frame]
+        [/if]
+        [else]
+            hits=no
+            [frame]
+                begin=-400
+                end=-100
+                image="units/human-outlaws/outlaw+female-attack1.png"
+                sound=sling-miss.ogg
+            [/frame]
+        [/else]
+        [frame]
+            begin=-100
+            end=50
+            image="units/human-outlaws/outlaw+female-attack2.png"
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [attack_filter]
+            name=mace
+        [/attack_filter]
+        [frame]
+            begin=-200
+            end=-100
+            image="units/human-outlaws/outlaw+female-melee-1.png"
+        [/frame]
+        [if]
+            hits=yes
+            [frame]
+                begin=-100
+                end=50
+                image="units/human-outlaws/outlaw+female-melee-2.png"
+                sound=mace.wav
+            [/frame]
+        [/if]
+        [else]
+            hits=no
+            [frame]
+                begin=-100
+                end=50
+                image="units/human-outlaws/outlaw+female-melee-2.png"
+                sound={SOUND_LIST:MISS}
+            [/frame]
+        [/else]
+        [frame]
+            begin=50
+            end=150
+            image="units/human-outlaws/outlaw+female-melee-3.png"
+        [/frame]
+    [/attack_anim]
+    [idle_anim]
+        {STANDARD_IDLE_FILTER}
+        [frame]
+            begin=0
+            end=100
+            image="units/human-outlaws/outlaw-idle-1.png"
+        [/frame]
+        [frame]
+            begin=100
+            end=200
+            image="units/human-outlaws/outlaw-idle-7.png"
+        [/frame]
+        [frame]
+            begin=200
+            end=300
+            image="units/human-outlaws/outlaw-idle-5.png"
+        [/frame]
+        [frame]
+            begin=300
+            end=400
+            image="units/human-outlaws/outlaw-idle-4.png"
+        [/frame]
+        [frame]
+            begin=400
+            end=500
+            image="units/human-outlaws/outlaw-idle-3.png"
+        [/frame]
+        [frame]
+            begin=500
+            end=600
+            image="units/human-outlaws/outlaw-idle-2.png"
+        [/frame]
+        [frame]
+            begin=600
+            end=700
+            image="units/human-outlaws/outlaw-idle-1.png"
+        [/frame]
+        [frame]
+            begin=700
+            end=800
+            image="units/human-outlaws/outlaw-idle-6.png"
+        [/frame]
+        [frame]
+            begin=800
+            end=900
+            image="units/human-outlaws/outlaw-idle-5.png"
+        [/frame]
+        [frame]
+            begin=900
+            end=1400
+            image="units/human-outlaws/outlaw-idle-4.png"
+        [/frame]
+        [frame]
+            begin=1400
+            end=1500
+            image="units/human-outlaws/outlaw-idle-3.png"
+        [/frame]
+        [frame]
+            begin=1500
+            end=1600
+            image="units/human-outlaws/outlaw-idle-2.png"
+        [/frame]
+        [frame]
+            begin=1600
+            end=1700
+            image="units/human-outlaws/outlaw-idle-1.png"
+        [/frame]
+    [/idle_anim]
+[/unit]

Added: trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_3.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_3.cfg?rev=20750&view=auto
==============================================================================
--- trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_3.cfg (added)
+++ trunk/data/campaigns/The_Rise_Of_Wesnoth/units/Outlaw_Lady_3.cfg Thu Sep 
27 19:16:19 2007
@@ -1,0 +1,154 @@
+#textdomain wesnoth-trow
+
+[unit]
+    id=Outlaw Lady 3
+    name= _ "Outlaw Lady 3"
+    race=human
+    gender=female
+    image="units/human-outlaws/fugitive+female.png"
+    #{MAGENTA_IS_THE_TEAM_COLOR}
+    hitpoints=62
+    [abilities]
+        {ABILITY_LEADERSHIP_LEVEL_3}
+        [skirmisher]
+        id=distract
+        name= _ "distract"
+        description= _ "Distract:
+This unit negates enemy Zones of Control around itself for friendly units 
(but not for itself)."
+        [filter]
+            [not]
+                type=Outlaw Lady 3
+            [/not]
+        [/filter]
+        [affect_adjacent]
+            adjacent=n,ne,se,s,sw,nw
+            [filter]
+                [not]
+                    type=Outlaw Lady 3
+                [/not]
+            [/filter]
+        [/affect_adjacent]
+        [/skirmisher]
+    [/abilities]
+    movement_type=elusivefoot
+    movement=7
+    experience=100
+    level=3
+    alignment=chaotic
+    advanceto=null
+    {AMLA_TOUGH 3}
+    cost=60
+    usage=mixed fighter
+    unit_description= _ "Outlaw Lady 3"
+    die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
+    {DEFENSE_ANIM "units/human-outlaws/fugitive+female-defend.png" 
"units/human-outlaws/fugitive+female.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
+    [attack]
+        name=staff
+        description= _ "staff"
+        icon=attacks/quarterstaff.png
+        type=impact
+        range=melee
+        damage=12
+        number=2
+        icon=attacks/mace.png
+    [/attack]
+    [attack]
+        name=sling
+        description= _ "sling"
+        type=impact
+        range=ranged
+        damage=8
+        number=4
+        icon=attacks/sling.png
+    [/attack]
+    [attack_anim]
+        [attack_filter]
+            name=sling
+        [/attack_filter]
+        hits=yes
+        [missile_frame]
+            begin=-150
+            end=0
+            image="projectiles/stone.png"
+            image_diagonal="projectiles/stone.png"
+        [/missile_frame]
+        [frame]
+            begin=-400
+            end=-100
+            image="units/human-outlaws/fugitive+female-ranged-1.png"
+            sound=sling.ogg
+        [/frame]
+        [frame]
+            begin=-100
+            end=50
+            image="units/human-outlaws/fugitive+female-ranged-2.png"
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [attack_filter]
+            name=sling
+        [/attack_filter]
+        hits=no
+        [missile_frame]
+            begin=-150
+            end=0
+            image="projectiles/stone.png"
+            image_diagonal="projectiles/stone.png"
+        [/missile_frame]
+        [frame]
+            begin=-400
+            end=-100
+            image="units/human-outlaws/fugitive+female-ranged-1.png"
+            sound=sling-miss.ogg
+        [/frame]
+        [frame]
+            begin=-100
+            end=50
+            image="units/human-outlaws/fugitive+female-ranged-2.png"
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [attack_filter]
+            name=mace
+        [/attack_filter]
+        hits=yes
+        [frame]
+            begin=-200
+            end=-100
+            image="units/human-outlaws/fugitive+female.png"
+        [/frame]
+        [frame]
+            begin=-100
+            end=50
+            image="units/human-outlaws/fugitive+female-melee-1.png"
+            sound=mace.wav
+        [/frame]
+        [frame]
+            begin=50
+            end=150
+            image="units/human-outlaws/fugitive+female.png"
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [attack_filter]
+            name=mace
+        [/attack_filter]
+        hits=no
+        [frame]
+            begin=-200
+            end=-100
+            image="units/human-outlaws/fugitive+female.png"
+        [/frame]
+        [frame]
+            begin=-100
+            end=50
+            image="units/human-outlaws/fugitive+female-melee-1.png"
+            sound={SOUND_LIST:MISS}
+        [/frame]
+        [frame]
+            begin=50
+            end=150
+            image="units/human-outlaws/fugitive+female.png"
+        [/frame]
+    [/attack_anim]
+[/unit]




Related Messages


Powered by MHonArc, Updated Thu Sep 27 20:40:51 2007