New, team-colored images for the bat.

This commit is contained in:
Richard Kettering 2008-01-14 00:13:18 +00:00
parent 133cbc174c
commit 54419eac78

View file

@ -3,7 +3,8 @@
id=Vampire Bat
name= _ "Vampire Bat"
race=bats
image="units/undead/bat.png"
image="units/undead/bat-se-3.png"
{MAGENTA_IS_THE_TEAM_COLOR}
ellipse="misc/ellipse-nozoc"
hitpoints=16
movement_type=smallfly
@ -21,44 +22,225 @@
[resistance]
cold=70
[/resistance]
[defend]
direction=s,sw,se
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=100
image="units/undead/bat-se-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/bat-se-4.png"
sound={SOUND_LIST:BAT_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/bat-se-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/bat-se-3.png"
[/frame]
[/defend]
[defend]
direction=n,nw,ne
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=100
image="units/undead/bat-ne-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/bat-ne-4.png"
sound={SOUND_LIST:BAT_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/bat-ne-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/bat-ne-3.png"
[/frame]
[/defend]
[standing_anim]
direction=s,se,sw
start_time=0
[frame]
duration=50
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-se-1.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=50
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-4.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-se-5.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-4.png"
[/frame]
[/standing_anim]
[standing_anim]
direction=n,ne,nw
start_time=0
[frame]
duration=50
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-ne-1.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=50
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-4.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-ne-5.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-4.png"
[/frame]
[/standing_anim]
[movement_anim]
direction=s,se,sw
start_time=0
[frame]
duration=150
image="units/undead/bat-defend.png"
[/frame]
[frame]
duration=50
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-se-1.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=50
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-4.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-se-5.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-se-4.png"
[/frame]
[/movement_anim]
[death]
[movement_anim]
direction=n,ne,nw
start_time=0
[frame]
duration=80
image="units/undead/bat-die-1.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-die-2.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-die-3.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-die-4.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-die-5.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-die-6.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-die-7.png"
[/frame]
[/death]
[frame]
duration=50
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-ne-1.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=50
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-4.png"
[/frame]
[frame]
duration=80
image="units/undead/bat-ne-5.png"
[/frame]
[frame]
duration=60
image="units/undead/bat-ne-4.png"
[/frame]
[/movement_anim]
[attack]
name=fangs
description=_"fangs"
@ -72,38 +254,118 @@
[/specials]
[/attack]
[attack_anim]
[attack_filter]
[attack_filter]
name=fangs
[/attack_filter]
start_time=-250
direction=s,se,sw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=150
image="units/undead/bat-die-1.png"
duration=30
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=30
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=30
image="units/undead/bat-se-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=30
image="units/undead/bat-se-3.png"
[/frame]
[if]
hits=yes
[frame]
duration=150
image="units/undead/bat-attack.png"
duration=70
image="units/undead/bat-se-4.png"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
duration=150
image="units/undead/bat-attack.png"
duration=70
image="units/undead/bat-se-4.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=75
image="units/undead/bat-defend.png"
duration=50
image="units/undead/bat-se-3.png"
[/frame]
[frame]
duration=75
image="units/undead/bat.png"
duration=50
image="units/undead/bat-se-2.png"
[/frame]
[frame]
duration=40
image="units/undead/bat-se-3.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=fangs
[/attack_filter]
direction=n,ne,nw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=30
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=30
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/bat-ne-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/bat-ne-3.png"
[/frame]
[if]
hits=yes
[frame]
duration=70
image="units/undead/bat-ne-4.png"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
duration=70
image="units/undead/bat-ne-4.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=50
image="units/undead/bat-ne-3.png"
[/frame]
[frame]
duration=50
image="units/undead/bat-ne-2.png"
[/frame]
[frame]
duration=40
image="units/undead/bat-ne-3.png"
[/frame]
[/attack_anim]
[/unit]