Animation markup for the new knight frames.

This commit is contained in:
Richard Kettering 2017-08-20 23:37:52 -05:00
parent 16333326fe
commit c784cdb603

View file

@ -44,39 +44,107 @@
image="units/human-loyalists/knight/knight.png:150"
[/frame]
[/movement_anim]
{DEFENSE_ANIM "units/human-loyalists/knight/knight.png" "units/human-loyalists/knight/knight.png" {SOUND_LIST:HORSE_HIT} }
{DEFENSE_ANIM_DIRECTIONAL "units/human-loyalists/knight/knight-se-defend2.png" "units/human-loyalists/knight/knight-se-defend1.png" "units/human-loyalists/knight/knight-ne-defend2.png" "units/human-loyalists/knight/knight-ne-defend1.png" {SOUND_LIST:HORSE_HIT} }
[death]
start_time=0
[if]
direction=sw,s,se
[frame]
image="units/human-loyalists/knight/knight-se-die[1~5].png:100"
[/frame]
[/if]
[else]
direction=nw,n,ne
[frame]
image="units/human-loyalists/knight/knight-ne-die[1~5].png:100"
[/frame]
[/else]
[/death]
{STANDING_ANIM_DIRECTIONAL_6_FRAME "units/human-loyalists/knight/knight"}
{MOVING_ANIM_DIRECTIONAL_8_FRAME "units/human-loyalists/knight/knight"}
[attack_anim]
[filter_attack]
name=lance
[/filter_attack]
start_time=-250
[frame]
image="units/human-loyalists/knight/knight.png:50"
start_time=-400
sound_start_time=-400
offset=0.0~0.3:300,0.3~0.45:210,0.45~0.0:420
[sound_frame]
sound=horse-canter.wav
[/frame]
[/sound_frame]
[if]
direction=n
[frame]
image="units/human-loyalists/knight/knight-n-attack[1~12].png:[100*3,70*9]"
[/frame]
[/if]
[else]
direction=nw,ne
[frame]
image="units/human-loyalists/knight/knight-ne-attack[1~12].png:[100*3,70*9]"
[/frame]
[/else]
[else]
direction=sw,se
[frame]
image="units/human-loyalists/knight/knight-se-attack[1~12].png:[100*3,70*9]"
[/frame]
[/else]
[else]
direction=s
[frame]
image="units/human-loyalists/knight/knight-s-attack[1~12].png:[100*3,70*9]"
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -200}
[frame]
image="units/human-loyalists/knight/knight.png:350"
[/frame]
[frame]
image="units/human-loyalists/knight/knight.png:50"
[/frame]
[/attack_anim]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/human-loyalists/knight/knight.png:50"
start_time=-400
sound_start_time=-400
offset=0.0~0.3:300,0.3~0.45:210,0.45~0.0:420
[sound_frame]
sound=horse-canter.wav
[/frame]
[/sound_frame]
[if]
direction=n
[frame]
image="units/human-loyalists/knight/knight-n-slash[1~12].png:[100*3,70*9]"
[/frame]
[/if]
[else]
direction=nw,ne
[frame]
image="units/human-loyalists/knight/knight-ne-slash[1~12].png:[100*3,70*9]"
[/frame]
[/else]
[else]
direction=sw,se
[frame]
image="units/human-loyalists/knight/knight-se-slash[1~12].png:[100*3,70*9]"
[/frame]
[/else]
[else]
direction=s
[frame]
image="units/human-loyalists/knight/knight-s-slash[1~12].png:[100*3,70*9]"
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/knight/knight.png:300"
[/frame]
[frame]
image="units/human-loyalists/knight/knight.png:50"
[/frame]
[/attack_anim]
[/unit_type]