Author: zookeeper
Date: Sun Apr 12 18:21:38 2009
New Revision: 34800

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34800&view=rev
Log:
Ported r34799 to 1.6.

Modified:
    branches/1.6/data/core/units/undead/Corpse_Soulless.cfg
    branches/1.6/data/core/units/undead/Corpse_Walking.cfg

Modified: branches/1.6/data/core/units/undead/Corpse_Soulless.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/data/core/units/undead/Corpse_Soulless.cfg?rev=34800&r1=34799&r2=34800&view=diff
==============================================================================
--- branches/1.6/data/core/units/undead/Corpse_Soulless.cfg (original)
+++ branches/1.6/data/core/units/undead/Corpse_Soulless.cfg Sun Apr 12 18:21:38 
2009
@@ -35,6 +35,79 @@
     [/attack]
 #enddef
     #macro to define most of the graphical part of Walking Corpse
+#define UNIT_BODY_SOULLESS_GRAPHICS_NO_DEATH_ANIM BASE_IMAGESTEM
+    image="units/undead/{BASE_IMAGESTEM}.png"
+    {MAGENTA_IS_THE_TEAM_COLOR}
+    die_sound={SOUND_LIST:ZOMBIE_HIT}
+    {DEFENSE_ANIM "units/undead/{BASE_IMAGESTEM}-defend.png" 
"units/undead/{BASE_IMAGESTEM}.png" {SOUND_LIST:ZOMBIE_HIT} }
+    [death]
+        start_time=0
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-4.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-5.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-6.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-7.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-8.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-9.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-10.png"
+        [/frame]
+    [/death]
+    [attack_anim]
+        [filter_attack]
+            name=touch
+        [/filter_attack]
+        direction=s
+        [frame]
+            begin=-200
+            end=200
+            image="units/undead/{BASE_IMAGESTEM}-attack-s.png"
+            sound=zombie-attack.wav
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [filter_attack]
+            name=touch
+        [/filter_attack]
+        direction=n
+        [frame]
+            begin=-200
+            end=200
+            image="units/undead/{BASE_IMAGESTEM}-attack-n.png"
+            sound=zombie-attack.wav
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [filter_attack]
+            name=touch
+        [/filter_attack]
+        direction=se,sw,ne,nw
+        [frame]
+            begin=-200
+            end=200
+            image="units/undead/{BASE_IMAGESTEM}-attack.png"
+            sound=zombie-attack.wav
+        [/frame]
+    [/attack_anim]
+#enddef
 #define UNIT_BODY_SOULLESS_GRAPHICS BASE_IMAGESTEM
     image="units/undead/{BASE_IMAGESTEM}.png"
     {MAGENTA_IS_THE_TEAM_COLOR}
@@ -128,7 +201,7 @@
     [variation]
         variation_name=drake
         {UNIT_BODY_SOULLESS_STATS drakefoot 4 36}
-        {UNIT_BODY_SOULLESS_GRAPHICS soulless-drake}
+        {UNIT_BODY_SOULLESS_GRAPHICS_NO_DEATH_ANIM soulless-drake}
         [movement_costs]
             deep_water=4
         [/movement_costs]

Modified: branches/1.6/data/core/units/undead/Corpse_Walking.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/data/core/units/undead/Corpse_Walking.cfg?rev=34800&r1=34799&r2=34800&view=diff
==============================================================================
--- branches/1.6/data/core/units/undead/Corpse_Walking.cfg (original)
+++ branches/1.6/data/core/units/undead/Corpse_Walking.cfg Sun Apr 12 18:21:38 
2009
@@ -34,6 +34,79 @@
     [/attack]
 #enddef
     #macro to define most of the graphical part of Walking Corpse
+#define UNIT_BODY_WALKING_CORPSE_GRAPHICS_NO_DEATH_ANIM BASE_IMAGESTEM
+    image="units/undead/{BASE_IMAGESTEM}.png"
+    {MAGENTA_IS_THE_TEAM_COLOR}
+    die_sound={SOUND_LIST:ZOMBIE_WEAK_HIT}
+    {DEFENSE_ANIM "units/undead/{BASE_IMAGESTEM}-defend.png" 
"units/undead/{BASE_IMAGESTEM}.png" {SOUND_LIST:ZOMBIE_WEAK_HIT} }
+    [death]
+        start_time=0
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-4.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-5.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-6.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-7.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-8.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-9.png"
+        [/frame]
+        [frame]
+            duration=150
+            image="units/undead/soulless-die-10.png"
+        [/frame]
+    [/death]
+    [attack_anim]
+        [filter_attack]
+            name=touch
+        [/filter_attack]
+        direction=s
+        [frame]
+            begin=-200
+            end=200
+            image="units/undead/{BASE_IMAGESTEM}-attack-s.png"
+            sound=zombie-attack.wav
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [filter_attack]
+            name=touch
+        [/filter_attack]
+        direction=n
+        [frame]
+            begin=-200
+            end=200
+            image="units/undead/{BASE_IMAGESTEM}-attack-n.png"
+            sound=zombie-attack.wav
+        [/frame]
+    [/attack_anim]
+    [attack_anim]
+        [filter_attack]
+            name=touch
+        [/filter_attack]
+        direction=se,sw,ne,nw
+        [frame]
+            begin=-200
+            end=200
+            image="units/undead/{BASE_IMAGESTEM}-attack.png"
+            sound=zombie-attack.wav
+        [/frame]
+    [/attack_anim]
+#enddef
 #define UNIT_BODY_WALKING_CORPSE_GRAPHICS BASE_IMAGESTEM
     image="units/undead/{BASE_IMAGESTEM}.png"
     {MAGENTA_IS_THE_TEAM_COLOR}
@@ -126,7 +199,7 @@
     [/movement_costs]
     [variation]
         variation_name=drake
-        {UNIT_BODY_WALKING_CORPSE_GRAPHICS zombie-drake}
+        {UNIT_BODY_WALKING_CORPSE_GRAPHICS_NO_DEATH_ANIM zombie-drake}
         {UNIT_BODY_WALKING_CORPSE_STATS drakefoot 4 23}
         [movement_costs]
             deep_water=4
@@ -150,7 +223,7 @@
     [/variation]
     [variation]
         variation_name=mounted
-        {UNIT_BODY_WALKING_CORPSE_GRAPHICS zombie-mounted}
+        {UNIT_BODY_WALKING_CORPSE_GRAPHICS_NO_DEATH_ANIM zombie-mounted}
         {UNIT_BODY_WALKING_CORPSE_STATS mounted 5 21}
         [movement_costs]
             deep_water=4


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to