mail[Wesnoth-commits] r25362 - /branches/1.4/data/core/units/dwarves/Berserker.cfg


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

Header


Content

Posted by kettering . richard on March 31, 2008 - 02:08:
Author: jetryl
Date: Mon Mar 31 02:08:20 2008
New Revision: 25362

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25362&view=rev
Log:
Major upgrade to the berzerker's animations.

Modified:
    branches/1.4/data/core/units/dwarves/Berserker.cfg

Modified: branches/1.4/data/core/units/dwarves/Berserker.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/data/core/units/dwarves/Berserker.cfg?rev=25362&r1=25361&r2=25362&view=diff
==============================================================================
--- branches/1.4/data/core/units/dwarves/Berserker.cfg (original)
+++ branches/1.4/data/core/units/dwarves/Berserker.cfg Mon Mar 31 02:08:20 
2008
@@ -18,7 +18,7 @@
     usage=fighter
     unit_description= _ "Berserkers are a rare caste of Dwarves, who work 
themselves into a towering rage before combat. These warriors forget all 
notion of defense, thinking only of the unrelenting assaults they are 
legendary for performing."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BERSERK}
     die_sound={SOUND_LIST:DWARF_DIE}
-    {DEFENSE_ANIM "units/dwarves/berserker-defend.png" 
"units/dwarves/berserker.png" {SOUND_LIST:DWARF_HIT} }
+    {DEFENSE_ANIM "units/dwarves/berserker-defend-2.png" 
"units/dwarves/berserker-defend-1.png" {SOUND_LIST:DWARF_HIT} }
     [defense]
         hills=60
         mountains=50
@@ -130,63 +130,146 @@
         [attack_filter]
             name=berserker frenzy
         [/attack_filter]
+            
         [if]
             [secondary_attack_filter]
             [/secondary_attack_filter]
             swing=1
-            [frame]
-                begin=-225
-                end=-175
-                image="units/dwarves/berserker.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=-175
-                image="units/dwarves/berserker.png"
+                               duration=200
+                               image="units/dwarves/berserker.png"
+            [/frame]
+            [frame]
+                               duration=400
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
                 sound=dwarf-laugh.wav
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-2.png"
+            [/frame]
+            [frame]
+                               duration=200
+                               image="units/dwarves/berserker-laugh-1.png"
             [/frame]
         [/else]
         [else]
-            [frame]
-                begin=-225
-                end=-175
-                image="units/dwarves/berserker.png"
-            [/frame]
+                       [frame]
+                               duration=1
+                               image="units/dwarves/berserker.png"
+                       [/frame]
         [/else]
-        [frame]
-            begin=-175
-            end=-75
-            image="units/dwarves/berserker-attack1.png"
+               [frame]
+            duration=40
+                       image="units/dwarves/berserker-attack-1.png"
+               [/frame]
+        [frame]
+            duration=50
+                       image="units/dwarves/berserker-attack-2.png"
+        [/frame]
+        [frame]
+            duration=50
+                       image="units/dwarves/berserker-attack-3.png"
+        [/frame]
+        [frame]
+            duration=50
+                       image="units/dwarves/berserker-attack-4.png"
         [/frame]
         [if]
-            hits=no
-            [frame]
-                begin=-75
-                end=75
-                image="units/dwarves/berserker-attack2.png"
-                sound={SOUND_LIST:MISS}
+            hits=yes
+            [frame]
+                               duration=50
+                image="units/dwarves/berserker-attack-5.png"
+                sound=axe.ogg
             [/frame]
         [/if]
         [else]
-            hits=yes
-            [frame]
-                begin=-75
-                end=75
-                image="units/dwarves/berserker-attack2.png"
-                sound=axe.ogg
+            hits=no
+            [frame]
+                               duration=50
+                image="units/dwarves/berserker-attack-5.png"
+                sound={SOUND_LIST:MISS}
             [/frame]
         [/else]
         [frame]
-            begin=75
-            end=150
-            image="units/dwarves/berserker-attack3.png"
-        [/frame]
-        [frame]
-            begin=150
-            end=175
+            duration=60
+                       image="units/dwarves/berserker-attack-6.png"
+        [/frame]
+        [frame]
+            duration=40
+                       image="units/dwarves/berserker-attack-7.png"
+        [/frame]
+        [frame]
+            duration=30
+                       image="units/dwarves/berserker-attack-8.png"
+        [/frame]
+        [frame]
+            duration=30
+            image="units/dwarves/berserker-attack-1.png"
+        [/frame]
+               [frame]
+            duration=30
             image="units/dwarves/berserker.png"
         [/frame]
     [/attack_anim]




Related Messages


Powered by MHonArc, Updated Mon Mar 31 02:21:18 2008