Made use of the Soulless Drake's death anim
This commit is contained in:
parent
a701a2ec16
commit
590c815602
1 changed files with 2 additions and 46 deletions
|
@ -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} }
|
||||
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue