[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/data/units Soulless.cfg Walking_Corpse.cfg
From: |
John McNabb |
Subject: |
[Wesnoth-cvs-commits] wesnoth/data/units Soulless.cfg Walking_Corpse.cfg |
Date: |
Tue, 09 Aug 2005 11:51:54 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: John McNabb <address@hidden> 05/08/09 15:51:54
Modified files:
data/units : Soulless.cfg Walking_Corpse.cfg
Log message:
moved WC and Soulless to use macros
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/units/Soulless.cfg.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/units/Walking_Corpse.cfg.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
Patches:
Index: wesnoth/data/units/Soulless.cfg
diff -u wesnoth/data/units/Soulless.cfg:1.15
wesnoth/data/units/Soulless.cfg:1.16
--- wesnoth/data/units/Soulless.cfg:1.15 Mon Aug 8 08:29:39 2005
+++ wesnoth/data/units/Soulless.cfg Tue Aug 9 15:51:53 2005
@@ -1,82 +1,11 @@
-[unit]
-id=Soulless
-name= _ "Soulless"
-race=undead
-image="undead-soulless.png"
-image_defensive="undead-soulless-defend.png"
-hitpoints=28
-movement_type=undeadfoot
-movement=4
-experience=100
-level=1
-alignment=chaotic
-advanceto=null
-{AMLA_TOUGH 3}
-cost=11
-usage=fighter
-unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
-get_hit_sound=zombie-hit.wav
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-die-3.png"
- [/frame]
- [/death]
- [attack]
- name=fist
- type=impact
- range=short
- damage=7
- number=3
- special=plague(Walking Corpse)
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-soulless-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-soulless-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-soulless-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
+#macro to define most of Walking Corpse
+#define UNIT_BODY_SOULLESS BASE_IMAGE
-[variation]
-variation_name=drake
id=Soulless
name= _ "Soulless"
race=undead
-image=undead-soulless-drake.png
-image_defensive="undead-soulless-drake.png"
+image="{BASE_IMAGE}.png"
+image_defensive="{BASE_IMAGE}-defend.png"
hitpoints=28
movement_type=undeadfoot
movement=4
@@ -89,25 +18,23 @@
usage=fighter
unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-drake-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-drake-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-drake-die-3.png"
- [/frame]
- [/death]
-
+ [death]
+ [frame]
+ begin=0
+ end=200
+ image="{BASE_IMAGE}-die-1.png"
+ [/frame]
+ [frame]
+ begin=200
+ end=400
+ image="{BASE_IMAGE}-die-2.png"
+ [/frame]
+ [frame]
+ begin=400
+ end=600
+ image="{BASE_IMAGE}-die-3.png"
+ [/frame]
+ [/death]
[attack]
name=fist
type=impact
@@ -120,7 +47,7 @@
[frame]
begin=-200
end=100
- image="undead-soulless-drake-attack.png"
+ image="{BASE_IMAGE}-attack.png"
[/frame]
[/animation]
[animation]
@@ -128,7 +55,7 @@
[frame]
begin=-200
end=100
- image="undead-soulless-drake-attack-n.png"
+ image="{BASE_IMAGE}-attack-n.png"
[/frame]
[/animation]
[animation]
@@ -136,7 +63,7 @@
[frame]
begin=-200
end=100
- image="undead-soulless-drake-attack-s.png"
+ image="{BASE_IMAGE}-attack-s.png"
[/frame]
[/animation]
[sound]
@@ -144,387 +71,37 @@
sound=zombie-attack.wav
[/sound]
[/attack]
- [/variation]
-
-[variation]
-variation_name=swimmer
-id=Soulless
-name= _ "Soulless"
-race=undead
-image=undead-soulless-swimmer.png
-image_defensive="undead-soulless-swimmer.png"
-hitpoints=28
-movement_type=undeadfoot
-movement=4
-experience=100
-level=1
-alignment=chaotic
-advanceto=null
-{AMLA_TOUGH 3}
-cost=11
-usage=fighter
-unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
-get_hit_sound=zombie-hit.wav
+#enddef
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-swimmer-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-swimmer-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-swimmer-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=7
- number=3
- special=plague(Walking Corpse)
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-soulless-swimmer-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-soulless-swimmer-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-soulless-swimmer-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
+[unit]
+{UNIT_BODY_SOULLESS undead-soulless}
+ [variation]
+ variation_name=drake
+ {UNIT_BODY_SOULLESS undead-soulless-drake}
[/variation]
-
-[variation]
-variation_name=troll
-id=Soulless
-name= _ "Soulless"
-race=undead
-image=undead-soulless-troll.png
-image_defensive="undead-soulless-troll.png"
-hitpoints=28
-movement_type=undeadfoot
-movement=4
-experience=100
-level=1
-alignment=chaotic
-advanceto=null
-{AMLA_TOUGH 3}
-cost=11
-usage=fighter
-unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-troll-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-troll-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-troll-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=7
- number=3
- special=plague(Walking Corpse)
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-soulless-troll-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-soulless-troll-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-soulless-troll-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
+ [variation]
+ variation_name=swimmer
+ {UNIT_BODY_SOULLESS undead-soulless-swimmer}
[/variation]
-[variation]
-variation_name=wose
-id=Soulless
-name= _ "Soulless"
-race=undead
-image=undead-soulless-wose.png
-image_defensive="undead-soulless-wose.png"
-hitpoints=28
-movement_type=undeadfoot
-movement=4
-experience=100
-level=1
-alignment=chaotic
-advanceto=null
-{AMLA_TOUGH 3}
-cost=11
-usage=fighter
-unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-wose-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-wose-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-wose-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=7
- number=3
- special=plague(Walking Corpse)
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-soulless-wose-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-soulless-wose-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-soulless-wose-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
+ [variation]
+ variation_name=troll
+ {UNIT_BODY_SOULLESS undead-soulless-troll}
[/variation]
-[variation]
-variation_name=saurian
-id=Soulless
-name= _ "Soulless"
-race=undead
-image=undead-soulless-saurian.png
-image_defensive="undead-soulless-saurian.png"
-hitpoints=28
-movement_type=undeadfoot
-movement=4
-experience=100
-level=1
-alignment=chaotic
-advanceto=null
-{AMLA_TOUGH 3}
-cost=11
-usage=fighter
-unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-saurian-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-saurian-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-saurian-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=7
- number=3
- special=plague(Walking Corpse)
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-soulless-saurian-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-soulless-saurian-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-soulless-saurian-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
+ [variation]
+ variation_name=wose
+ {UNIT_BODY_SOULLESS undead-soulless-wose}
[/variation]
-[variation]
-variation_name=mounted
-id=Soulless
-name= _ "Soulless"
-race=undead
-image=undead-soulless-mounted.png
-image_defensive="undead-soulless-mounted.png"
-hitpoints=28
-movement_type=undeadfoot
-movement=4
-experience=100
-level=1
-alignment=chaotic
-advanceto=null
-{AMLA_TOUGH 3}
-cost=11
-usage=fighter
-unit_description= _ "These animated walking corpses have become strong from
long experience fighting the living."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-soulless-mounted-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-soulless-mounted-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-soulless-mounted-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=7
- number=3
- special=plague(Walking Corpse)
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-soulless-mounted-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-soulless-mounted-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-soulless-mounted-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
+ [variation]
+ variation_name=saurian
+ {UNIT_BODY_SOULLESS undead-soulless-saurian}
[/variation]
-[/unit]
+ [variation]
+ variation_name=mounted
+ {UNIT_BODY_SOULLESS undead-soulless-mounted}
+ [/variation]
+\[/unit]
Index: wesnoth/data/units/Walking_Corpse.cfg
diff -u wesnoth/data/units/Walking_Corpse.cfg:1.25
wesnoth/data/units/Walking_Corpse.cfg:1.26
--- wesnoth/data/units/Walking_Corpse.cfg:1.25 Mon Aug 8 08:25:52 2005
+++ wesnoth/data/units/Walking_Corpse.cfg Tue Aug 9 15:51:53 2005
@@ -1,83 +1,11 @@
-[unit]
-id=Walking Corpse
-name= _ "Walking Corpse"
-race=undead
-image="undead-zombie.png"
-image_defensive="undead-zombie-attack.png"
-hitpoints=18
-movement_type=undeadfoot
-movement=4
-experience=24
-level=0
-alignment=chaotic
-advanceto=Soulless
-cost=6
-usage=fighter
-unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
-get_hit_sound=zombie-hit.wav
+#macro to define most of Walking Corpse
+#define UNIT_BODY_WALKING_CORPSE BASE_IMAGE
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=5
- number=2
- special=plague
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-zombie-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-zombie-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-zombie-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
-
-[variation]
-variation_name=drake
id=Walking Corpse
name= _ "Walking Corpse"
race=undead
-image=undead-zombie-drake.png
-image_defensive=undead-zombie-drake-attack.png
+image="{BASE_IMAGE}.png"
+image_defensive="{BASE_IMAGE}-attack.png"
hitpoints=18
movement_type=undeadfoot
movement=4
@@ -85,403 +13,28 @@
level=0
alignment=chaotic
advanceto=Soulless
-cost=5
-usage=fighter
-unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-drake-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-drake-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-drake-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=5
- number=2
- special=plague
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-zombie-drake-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-zombie-drake-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-zombie-drake-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
-[/variation]
-
-[variation]
-variation_name=swimmer
-id=Walking Corpse
-name= _ "Walking Corpse"
-race=undead
-image=undead-zombie-swimmer.png
-image_defensive=undead-zombie-swimmer-attack.png
-hitpoints=18
-movement_type=undeadfoot
-movement=4
-experience=24
-level=0
-alignment=chaotic
-advanceto=Soulless
-cost=5
-usage=fighter
-unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-swimmer-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-swimmer-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-swimmer-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=5
- number=2
- special=plague
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-zombie-swimmer-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-zombie-swimmer-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-zombie-swimmer-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
-[/variation]
-
-[variation]
-variation_name=troll
-id=Walking Corpse
-name= _ "Walking Corpse"
-race=undead
-image=undead-zombie-troll.png
-image_defensive=undead-zombie-troll-attack.png
-hitpoints=18
-movement_type=undeadfoot
-movement=4
-experience=24
-level=0
-alignment=chaotic
-advanceto=Soulless
-cost=5
-usage=fighter
-unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-troll-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-troll-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-troll-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=5
- number=2
- special=plague
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-zombie-troll-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-zombie-troll-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-zombie-troll-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
-[/variation]
-
-[variation]
-variation_name=wose
-id=Walking Corpse
-name= _ "Walking Corpse"
-race=undead
-image=undead-zombie-wose.png
-image_defensive=undead-zombie-wose-attack.png
-hitpoints=18
-movement_type=undeadfoot
-movement=4
-experience=24
-level=0
-alignment=chaotic
-advanceto=Soulless
-cost=5
-usage=fighter
-unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-wose-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-wose-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-wose-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=5
- number=2
- special=plague
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-zombie-wose-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-zombie-wose-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-zombie-wose-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
-[/variation]
-
-[variation]
-variation_name=saurian
-id=Walking Corpse
-name= _ "Walking Corpse"
-race=undead
-image=undead-zombie-saurian.png
-image_defensive=undead-zombie-saurian-attack.png
-hitpoints=18
-movement_type=undeadfoot
-movement=4
-experience=24
-level=0
-alignment=chaotic
-advanceto=Soulless
-cost=5
-usage=fighter
-unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
-get_hit_sound=zombie-hit.wav
-
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-saurian-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-saurian-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-saurian-die-3.png"
- [/frame]
- [/death]
-
- [attack]
- name=fist
- type=impact
- range=short
- damage=5
- number=2
- special=plague
- [animation]
- direction=se,sw,ne,nw
- [frame]
- begin=-200
- end=100
- image="undead-zombie-saurian-attack.png"
- [/frame]
- [/animation]
- [animation]
- direction=n
- [frame]
- begin=-200
- end=100
- image="undead-zombie-saurian-attack-n.png"
- [/frame]
- [/animation]
- [animation]
- direction=s
- [frame]
- begin=-200
- end=100
- image="undead-zombie-saurian-attack-s.png"
- [/frame]
- [/animation]
- [sound]
- time=-200
- sound=zombie-attack.wav
- [/sound]
- [/attack]
-[/variation]
-
-[variation]
-variation_name=mounted
-id=Walking Corpse
-name= _ "Walking Corpse"
-race=undead
-image=undead-zombie-mounted.png
-image_defensive=undead-zombie-mounted-attack.png
-hitpoints=18
-movement_type=undeadfoot
-movement=4
-experience=24
-level=0
-alignment=chaotic
-advanceto=Soulless
-cost=5
+cost=6
usage=fighter
unit_description= _ "Walking Corpses are the bodies of the dead, re-animated
by dark magic. Although weak in combat, these zombies can spread their curse to
those they kill, increasing the army of undead."
get_hit_sound=zombie-hit.wav
- [death]
- [frame]
- begin=0
- end=200
- image="undead-zombie-mounted-die-1.png"
- [/frame]
- [frame]
- begin=200
- end=400
- image="undead-zombie-mounted-die-2.png"
- [/frame]
- [frame]
- begin=400
- end=600
- image="undead-zombie-mounted-die-3.png"
- [/frame]
- [/death]
+ [death]
+ [frame]
+ begin=0
+ end=200
+ image="{BASE_IMAGE}-die-1.png"
+ [/frame]
+ [frame]
+ begin=200
+ end=400
+ image="{BASE_IMAGE}-die-2.png"
+ [/frame]
+ [frame]
+ begin=400
+ end=600
+ image="{BASE_IMAGE}-die-3.png"
+ [/frame]
+ [/death]
[attack]
name=fist
@@ -495,7 +48,7 @@
[frame]
begin=-200
end=100
- image="undead-zombie-mounted-attack.png"
+ image="{BASE_IMAGE}-attack.png"
[/frame]
[/animation]
[animation]
@@ -503,7 +56,7 @@
[frame]
begin=-200
end=100
- image="undead-zombie-mounted-attack-n.png"
+ image="{BASE_IMAGE}-attack-n.png"
[/frame]
[/animation]
[animation]
@@ -511,7 +64,7 @@
[frame]
begin=-200
end=100
- image="undead-zombie-mounted-attack-s.png"
+ image="{BASE_IMAGE}-attack-s.png"
[/frame]
[/animation]
[sound]
@@ -519,7 +72,38 @@
sound=zombie-attack.wav
[/sound]
[/attack]
-[/variation]
+#enddef
+[unit]
+{UNIT_BODY_WALKING_CORPSE undead-zombie}
+ [variation]
+ variation_name=drake
+ {UNIT_BODY_WALKING_CORPSE undead-zombie-drake}
+ [/variation]
+
+ [variation]
+ variation_name=swimmer
+ {UNIT_BODY_WALKING_CORPSE undead-zombie-swimmer}
+ [/variation]
+
+ [variation]
+ variation_name=troll
+ {UNIT_BODY_WALKING_CORPSE undead-zombie-troll}
+ [/variation]
+
+ [variation]
+ variation_name=wose
+ {UNIT_BODY_WALKING_CORPSE undead-zombie-wose}
+ [/variation]
+
+ [variation]
+ variation_name=saurian
+ {UNIT_BODY_WALKING_CORPSE undead-zombie-saurian}
+ [/variation]
+
+ [variation]
+ variation_name=mounted
+ {UNIT_BODY_WALKING_CORPSE undead-zombie-mounted}
+ [/variation]
[/unit]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/data/units Soulless.cfg Walking_Corpse.cfg,
John McNabb <=