New simple macro for giving drakes a different standing frame on water,
...chasm etc., wired into the glider.
This commit is contained in:
parent
f7255e91ed
commit
e6a7bc5600
2 changed files with 25 additions and 0 deletions
|
@ -365,6 +365,30 @@
|
|||
[/filter]
|
||||
#enddef
|
||||
|
||||
#define DRAKE_FLYING_ANIM STANDING_FRAME FLYING_FRAME
|
||||
[standing_anim]
|
||||
start_time=0
|
||||
terrain=!,W*,Qx*,Ql*
|
||||
[frame]
|
||||
duration=150
|
||||
image={STANDING_FRAME}
|
||||
[/frame]
|
||||
[/standing_anim]
|
||||
|
||||
[standing_anim]
|
||||
start_time=0
|
||||
[filter]
|
||||
[filter_location]
|
||||
terrain=W*,Qx*,Ql*
|
||||
[/filter_location]
|
||||
[/filter]
|
||||
[frame]
|
||||
duration=150
|
||||
image={FLYING_FRAME}
|
||||
[/frame]
|
||||
[/standing_anim]
|
||||
#enddef
|
||||
|
||||
#define MISSILE_FRAME_WAIL
|
||||
# Animate a projectile for a wail attack.
|
||||
[if]
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
die_sound=drake-die.ogg
|
||||
{DEFENSE_ANIM "units/drakes/glider-defend.png" "units/drakes/glider.png" {SOUND_LIST:DRAKE_HIT} }
|
||||
{DRAKE_FLYING_ANIM "units/drakes/glider.png" "units/drakes/glider-flying.png"}
|
||||
[movement_anim]
|
||||
[frame]
|
||||
begin=0
|
||||
|
|
Loading…
Add table
Reference in a new issue