mail[Wesnoth-commits] r24889 - /trunk/data/core/units/dwarves/Ulfserker.cfg


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

Header


Content

Posted by kettering . richard on March 20, 2008 - 07:16:
Author: jetryl
Date: Thu Mar 20 07:02:14 2008
New Revision: 24889

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24889&view=rev
Log:
New attack animation for ulfzerker.

Modified:
    trunk/data/core/units/dwarves/Ulfserker.cfg

Modified: trunk/data/core/units/dwarves/Ulfserker.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/units/dwarves/Ulfserker.cfg?rev=24889&r1=24888&r2=24889&view=diff
==============================================================================
--- trunk/data/core/units/dwarves/Ulfserker.cfg (original)
+++ trunk/data/core/units/dwarves/Ulfserker.cfg Thu Mar 20 07:02:14 2008
@@ -18,7 +18,7 @@
     usage=fighter
     unit_description= _ "Dwarves are an ancient race of powerful fighters. 
Ulfserkers are the most ferocious of these; in battle, they will work 
themselves into a blind rage wherein they feel neither fear nor pain, and 
will pay no heed to any wounds they 
receive."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BERSERK}
     die_sound={SOUND_LIST:DWARF_DIE}
-    {DEFENSE_ANIM "units/dwarves/ulfserker-defend.png" 
"units/dwarves/ulfserker.png" {SOUND_LIST:DWARF_HIT} }
+    {DEFENSE_ANIM "units/dwarves/ulfserker-idle-2.png" 
"units/dwarves/ulfserker-idle-1.png" {SOUND_LIST:DWARF_HIT} }
     [defense]
         hills=60
         mountains=50
@@ -94,58 +94,146 @@
         [attack_filter]
             name=berserker frenzy
         [/attack_filter]
+            
         [if]
             [secondary_attack_filter]
             [/secondary_attack_filter]
             swing=1
-            [frame]
-                begin=-225
-                end=-150
-                image="units/dwarves/ulfserker.png"
-            [/frame]
+                       ### all units with any melee attack (because the 
dwarf's attack is melee) will pass the above filter, and execute this block 
instead of the following block
+
+                       start_time=-240
+                       
offset=0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30
+
         [/if]
         [else]
+               ### when a unit with no melee attack is attacked by a berzerk 
unit, they are highly likely to die.  We play an easter egg when this happens 
- the zerk looks at the victim for a moment, and then lets out a diabolical 
laugh.
+
+                       start_time=-3640
+                       
offset=0.0~0.0:3400,0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30
+
             swing=1
             [frame]
-                begin=-225
-                end=-150
-                image="units/dwarves/ulfserker.png"
+                               duration=200
+                               image="units/dwarves/ulfserker.png"
+            [/frame]
+            [frame]
+                               duration=400
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
                 sound=dwarf-laugh.wav
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/ulfserker-laugh-1.png"
             [/frame]
         [/else]
         [else]
-            [frame]
-                begin=-225
-                end=-150
-                image="units/dwarves/ulfserker.png"
-            [/frame]
+                       [frame]
+                               duration=1
+                               image="units/dwarves/ulfserker.png"
+                       [/frame]
         [/else]
-        [frame]
-            begin=-150
-            end=-100
-            image="units/dwarves/ulfserker.png"
+               [frame]
+            duration=40
+                       image="units/dwarves/ulfserker-attack-1.png"
+               [/frame]
+        [frame]
+            duration=50
+                       image="units/dwarves/ulfserker-attack-2.png"
+        [/frame]
+        [frame]
+            duration=50
+                       image="units/dwarves/ulfserker-attack-3.png"
+        [/frame]
+        [frame]
+            duration=50
+                       image="units/dwarves/ulfserker-attack-4.png"
         [/frame]
         [if]
             hits=yes
             [frame]
-                begin=-100
-                end=100
-                image="units/dwarves/ulfserker-attack.png"
+                               duration=50
+                image="units/dwarves/ulfserker-attack-5.png"
                 sound=axe.ogg
             [/frame]
         [/if]
         [else]
             hits=no
             [frame]
-                begin=-100
-                end=100
-                image="units/dwarves/ulfserker-attack.png"
+                               duration=50
+                image="units/dwarves/ulfserker-attack-5.png"
                 sound={SOUND_LIST:MISS}
             [/frame]
         [/else]
         [frame]
-            begin=100
-            end=175
+            duration=60
+                       image="units/dwarves/ulfserker-attack-6.png"
+        [/frame]
+        [frame]
+            duration=40
+                       image="units/dwarves/ulfserker-attack-7.png"
+        [/frame]
+        [frame]
+            duration=30
+                       image="units/dwarves/ulfserker-attack-8.png"
+        [/frame]
+        [frame]
+            duration=30
+            image="units/dwarves/ulfserker-attack-1.png"
+        [/frame]
+               [frame]
+            duration=30
             image="units/dwarves/ulfserker.png"
         [/frame]
     [/attack_anim]




Related Messages


Powered by MHonArc, Updated Thu Mar 20 08:01:18 2008