Skip to content

Commit

Permalink
Made use of the Soulless Drake's death anim
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Apr 19, 2015
1 parent a701a2e commit 590c815
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions data/core/units/undead/Corpse_Soulless.cfg
Expand Up @@ -8,50 +8,6 @@
#enddef

# Variant animations for the Soulless
#define UNIT_BODY_SOULLESS_GRAPHICS_NO_DEATH_ANIM BASE_NAME
image="units/undead/{BASE_NAME}.png"
{DEFENSE_ANIM "units/undead/{BASE_NAME}-defend.png" "units/undead/{BASE_NAME}.png" {SOUND_LIST:ZOMBIE_HIT} }
[death]
start_time=0
[frame]
image="units/undead/soulless-die-[4~10].png:150"
[/frame]
[/death]
[attack_anim]
[filter_attack]
name=touch
[/filter_attack]
direction=s
start_time=-200
[frame]
image="units/undead/{BASE_NAME}-attack-s.png:400"
sound=zombie-attack.wav
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=touch
[/filter_attack]
direction=n
start_time=-200
[frame]
image="units/undead/{BASE_NAME}-attack-n.png:400"
sound=zombie-attack.wav
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=touch
[/filter_attack]
direction=se,sw,ne,nw
start_time=-200
[frame]
image="units/undead/{BASE_NAME}-attack.png:400"
sound=zombie-attack.wav
[/frame]
[/attack_anim]
#enddef

#define UNIT_BODY_SOULLESS_GRAPHICS BASE_NAME DEATH_FRAMES_NUMBER
image="units/undead/{BASE_NAME}.png"
{DEFENSE_ANIM "units/undead/{BASE_NAME}-defend.png" "units/undead/{BASE_NAME}.png" {SOUND_LIST:ZOMBIE_HIT} }
Expand Down Expand Up @@ -144,8 +100,8 @@
variation_id=drake
variation_name= _ "wc_variation^Drake"
inherit=yes
{UNIT_BODY_SOULLESS_STATS drakefoot 4 36}
{UNIT_BODY_SOULLESS_GRAPHICS_NO_DEATH_ANIM soulless-drake}
{UNIT_BODY_SOULLESS_STATS drakefoot 4 36}
{UNIT_BODY_SOULLESS_GRAPHICS soulless-drake 3}
[movement_costs]
unwalkable=4
[/movement_costs]
Expand Down

0 comments on commit 590c815

Please sign in to comment.