Unit animation WML to use SOUND:HIT_AND_MISS macro throughout.

Large simplification and reduction in cache.
This commit is contained in:
David Mikos 2013-03-20 20:01:25 +00:00
parent 8ad7a8d2ef
commit d60d4d7c61
183 changed files with 993 additions and 6138 deletions

View file

@ -59,8 +59,8 @@
[frame]
image={BASE_IMAGE}:1,{REACTION_IMAGE}:250,{BASE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -82,8 +82,8 @@
[frame]
image={BASE_IMAGE}:1,{REACTION_IMAGE}:250,{BASE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -106,8 +106,8 @@
[frame]
image={BASE_SE_IMAGE}:1,{REACTION_SE_IMAGE}:250,{BASE_SE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -124,8 +124,8 @@
[frame]
image={BASE_NE_IMAGE}:1,{REACTION_NE_IMAGE}:250,{BASE_NE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -149,8 +149,8 @@
[frame]
image={BASE_IMAGE}:1,{REACTION_IMAGE}:250,{BASE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -169,8 +169,8 @@
[frame]
image={BASE_SE_IMAGE}:1,{REACTION_SE_IMAGE}:250,{BASE_SE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -186,8 +186,8 @@
[frame]
image={BASE_NE_IMAGE}:1,{REACTION_NE_IMAGE}:250,{BASE_NE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -209,8 +209,8 @@
[frame]
image={BASE_SE_IMAGE}:1,{REACTION_SE_IMAGE}:250,{BASE_SE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -229,8 +229,8 @@
[frame]
image={BASE_NE_IMAGE}:1,{REACTION_NE_IMAGE}:250,{BASE_NE_IMAGE}:1
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1
@ -256,8 +256,8 @@
image={BASE_IMAGE}:50,{REACTION_IMAGE}:250,{BASE_IMAGE}:75
halo=halo/elven/elven-shield-halo-[20,40,60,80,100,80,60,40,20]pct.png:[25*2,50*2,100,50,25*3]
[/frame]
hit_sound_start_time=-26
[if]
hit_sound_start_time=-26
hits=hit
[hit_sound_frame]
duration=1

View file

@ -544,9 +544,31 @@ zombie-hit-[1~6].ogg #enddef
# when they should trigger.
attack_sound_start_time={TIME}
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[if]
hits=yes
[attack_sound_frame]
sound={HITSOUND}
[/attack_sound_frame]
[/if]
[else]
hits=no
[attack_sound_frame]
sound={MISSSOUND}
[/attack_sound_frame]
[/else]
#enddef
#define SOUND:HIT HITSOUND TIME
# A more convenient way of wiring in hit only sounds to an
# attack animation. Just specify the sound to use and the time
# when it should trigger.
[if]
hits=yes
attack_sound_start_time={TIME}
[attack_sound_frame]
duration=1
[/attack_sound_frame]
@ -554,14 +576,4 @@ zombie-hit-[1~6].ogg #enddef
sound={HITSOUND}
[/attack_sound_frame]
[/if]
[else]
hits=no
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound={MISSSOUND}
[/attack_sound_frame]
[/else]
#enddef

View file

@ -139,25 +139,9 @@
sound=bat-flapping.wav
[/frame]
[frame]
image="units/undead/bloodbat-se-[2,3].png:30"
[/frame]
[if]
hits=yes
[frame]
image="units/undead/bloodbat-se-4.png:70"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/undead/bloodbat-se-4.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/undead/bloodbat-se-[3,2,3].png:[50*2,40]"
image="units/undead/bloodbat-se-[2~4,3,2,3].png:[30*2,70,50*2,40]"
[/frame]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[attack_anim]
@ -175,24 +159,8 @@
sound=bat-flapping.wav
[/frame]
[frame]
image="units/undead/bloodbat-ne-[2,3].png:30"
[/frame]
[if]
hits=yes
[frame]
image="units/undead/bloodbat-ne-4.png:70"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/undead/bloodbat-ne-4.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/undead/bloodbat-ne-[3,2,3].png:[50*2,40]"
image="units/undead/bloodbat-ne-[2~4,3,2,3].png:[30*2,70,50*2,40]"
[/frame]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

View file

@ -149,25 +149,9 @@
image="units/undead/dreadbat-se-1.png:30"
sound=bat-flapping.wav
[/frame]
[frame]
image="units/undead/dreadbat-se-[2,3].png:30"
[/frame]
[if]
hits=yes
[frame]
image="units/undead/dreadbat-se-4.png:70"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/undead/dreadbat-se-4.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/undead/dreadbat-se-[3,2,3].png:[50*2,40]"
image="units/undead/dreadbat-se-[2~4,3,2,3].png:[30*2,70,50*2,40]"
[/frame]
[/attack_anim]
[attack_anim]
@ -185,24 +169,8 @@
sound=bat-flapping.wav
[/frame]
[frame]
image="units/undead/dreadbat-ne-[2,3].png:30"
[/frame]
[if]
hits=yes
[frame]
image="units/undead/dreadbat-ne-4.png:70"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/undead/dreadbat-ne-4.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/undead/dreadbat-ne-[3,2,3].png:[50*2,40]"
image="units/undead/dreadbat-ne-[2~4,3,2,3].png:[30*2,70,50*2,40]"
[/frame]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

View file

@ -138,25 +138,9 @@
sound=bat-flapping.wav
[/frame]
[frame]
image="units/undead/bat-se-[2,3].png:30"
[/frame]
[if]
hits=yes
[frame]
image="units/undead/bat-se-4.png:70"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/undead/bat-se-4.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/undead/bat-se-[3,2,3].png:[50*2,40]"
image="units/undead/bat-se-[2~4,3,2,3].png:[30*2,70,50*2,40]"
[/frame]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[attack_anim]
@ -174,24 +158,8 @@
sound=bat-flapping.wav
[/frame]
[frame]
image="units/undead/bat-ne-[2,3].png:30"
[/frame]
[if]
hits=yes
[frame]
image="units/undead/bat-ne-4.png:70"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/undead/bat-ne-4.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/undead/bat-ne-[3,2,3].png:[50*2,40]"
image="units/undead/bat-ne-[2~4,3,2,3].png:[30*2,70,50*2,40]"
[/frame]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

View file

@ -68,25 +68,9 @@
image="units/drakes/arbiter.png:50"
[/frame]
[frame]
image="units/drakes/arbiter-pierce-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/arbiter-pierce-se-2.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/arbiter-pierce-se-2.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/arbiter-pierce-s-[3~7].png:100"
image="units/drakes/arbiter-pierce-se-[1~2].png:100,units/drakes/arbiter-pierce-s-[3~7].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -150}
[frame]
image="units/drakes/arbiter.png:100"
[/frame]
@ -103,25 +87,9 @@
image="units/drakes/arbiter.png:50"
[/frame]
[frame]
image="units/drakes/arbiter-pierce-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/arbiter-pierce-se-2.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/arbiter-pierce-se-2.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/arbiter-pierce-se-[3~7].png:100"
image="units/drakes/arbiter-pierce-se-[1~7].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -150}
[frame]
image="units/drakes/arbiter.png:100"
[/frame]
@ -132,20 +100,11 @@
type=pierce
[/filter_attack]
direction=ne,n,nw
[if]
hits=yes
[frame]
image="units/drakes/arbiter.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/arbiter.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
start_time=0
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg 0}
[frame]
image="units/drakes/arbiter.png:100"
[/frame]
[/attack_anim]
[attack_anim]
@ -160,25 +119,9 @@
image="units/drakes/arbiter.png:50"
[/frame]
[frame]
image="units/drakes/arbiter-blade-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/arbiter-blade-se-2.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/arbiter-blade-se-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/arbiter-blade-[se-3,s-4,s-5,s-6].png:100"
image="units/drakes/arbiter-blade-se-[1~3].png:100,units/drakes/arbiter-blade-s-[4~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -150}
[frame]
image="units/drakes/arbiter.png:100"
[/frame]
@ -195,25 +138,9 @@
image="units/drakes/arbiter.png:50"
[/frame]
[frame]
image="units/drakes/arbiter-blade-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/arbiter-blade-se-2.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/arbiter-blade-se-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/arbiter-blade-se-[3~6].png:100"
image="units/drakes/arbiter-blade-se-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -150}
[frame]
image="units/drakes/arbiter.png:100"
[/frame]
@ -224,19 +151,10 @@
type=blade
[/filter_attack]
direction=ne,n,nw
[if]
hits=yes
[frame]
image="units/drakes/arbiter.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/arbiter.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=0
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} 0}
[frame]
image="units/drakes/arbiter.png:100"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -76,24 +76,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-300
[frame]
image="units/drakes/armageddon-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/armageddon-melee-4.png:100"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/armageddon-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/armageddon-melee-[5,6].png:100"
image="units/drakes/armageddon-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -65,24 +65,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-400
[frame]
image="units/drakes/blademaster-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/blademaster-melee-4.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/blademaster-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/blademaster-melee-[5,6].png:100"
image="units/drakes/blademaster-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -66,25 +66,9 @@
image="units/drakes/burner.png"
[/frame]
[frame]
image="units/drakes/burner-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/burner-melee-4.png:100"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/burner-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/burner-melee-[5,6].png:100"
image="units/drakes/burner-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[frame]
image="units/drakes/burner.png"
[/frame]

View file

@ -73,25 +73,9 @@ This is also the only caste that is allowed to break taboo and fight with spears
offset=0.0~0.1:200,0.1~0.4:150,0.4~0.0:150
start_time=-300
[frame]
image="units/drakes/clasher-spear-[se-1,s-2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/clasher-spear-s-3.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/clasher-spear-s-3.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/clasher-spear-s-[4~6].png:100"
image="units/drakes/clasher-spear-se-1:100,units/drakes/clasher-spear-s-[2~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -101,25 +85,9 @@ This is also the only caste that is allowed to break taboo and fight with spears
offset=0.0~0.0:200,0.0~0.2:150,0.2~0.0:150
start_time=-300
[frame]
image="units/drakes/clasher-spear-se-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/clasher-spear-se-3.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/clasher-spear-se-3.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/clasher-spear-se-[4,6].png:100"
image="units/drakes/clasher-spear-se-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -130,22 +98,9 @@ This is also the only caste that is allowed to break taboo and fight with spears
[frame]
image="units/drakes/clasher.png:200"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/clasher.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/clasher.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/drakes/clasher.png:300"
image="units/drakes/clasher.png:400"
[/frame]
[/attack_anim]
[attack_anim]
@ -158,25 +113,9 @@ This is also the only caste that is allowed to break taboo and fight with spears
image="units/drakes/clasher-blade.png:25"
[/frame]
[frame]
image="units/drakes/clasher-blade-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/clasher-blade-3.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/clasher-blade-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/clasher-blade-[4~6].png:100"
image="units/drakes/clasher-blade-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/drakes/clasher-blade.png:100"
[/frame]

View file

@ -77,25 +77,9 @@
offset=0.0~0.1:200,0.1~0.4:150,0.4~0.0:150
start_time=-300
[frame]
image="units/drakes/enforcer-spear-[se-1,s-2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/enforcer-spear-s-3.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/enforcer-spear-s-3.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/enforcer-spear-s-[4~6].png"
image="units/drakes/enforcer-spear-se-1,units/drakes/enforcer-spear-s-[2~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -105,25 +89,9 @@
offset=0.0~0.0:200,0.0~0.2:150,0.2~0.0:150
start_time=-300
[frame]
image="units/drakes/enforcer-spear-se-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/enforcer-spear-se-3.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/enforcer-spear-se-3.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/enforcer-spear-se-[4~6].png:100"
image="units/drakes/enforcer-spear-se-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -135,25 +103,9 @@
image="units/drakes/enforcer-blade.png:25"
[/frame]
[frame]
image="units/drakes/enforcer-blade-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/enforcer-blade-3.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/enforcer-blade-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/enforcer-blade-[4~6].png:100"
image="units/drakes/enforcer-blade-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/drakes/enforcer-blade.png:100"
[/frame]
@ -168,25 +120,9 @@
image="units/drakes/enforcer-blade.png:25"
[/frame]
[frame]
image="units/drakes/enforcer-impact-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/enforcer-impact-3.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/enforcer-impact-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/enforcer-impact-[4,5].png:100"
image="units/drakes/enforcer-impact-[1~5].png:100"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -75}
[frame]
image="units/drakes/enforcer-blade.png:100"
[/frame]

View file

@ -66,25 +66,9 @@
image="units/drakes/fighter.png"
[/frame]
[frame]
image="units/drakes/fighter-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/fighter-melee-4.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/fighter-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/fighter-melee-[5,6].png:100"
image="units/drakes/fighter-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/drakes/fighter.png"
[/frame]

View file

@ -65,24 +65,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-300
[frame]
image="units/drakes/fire-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/fire-melee-4.png:100"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/fire-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/fire-melee-[5,6].png:100"
image="units/drakes/fire-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -67,24 +67,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-300
[frame]
image="units/drakes/flameheart-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/flameheart-melee-4.png:100"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/flameheart-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/flameheart-melee-[5,6].png:100"
image="units/drakes/flameheart-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -66,24 +66,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-300
[frame]
image="units/drakes/flare-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/flare-melee-4.png:100"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/flare-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/flare-melee-[5,6].png:100"
image="units/drakes/flare-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -71,24 +71,8 @@ Most often, Gliders hunt larger game like deer, swine, or dolphins; the drakes
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-400
[frame]
image="units/drakes/glider-kick-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/glider-kick-3.png:100"
sound=club.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/glider-kick-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/glider-kick-[4~6,2].png:100"
image="units/drakes/glider-kick-[1~6,2].png:100"
[/frame]
{SOUND:HIT_AND_MISS club.ogg {SOUND_LIST:MISS} -200}
[/attack_anim]
[/unit_type]

View file

@ -99,24 +99,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-400
[frame]
image="units/drakes/hurricane-kick-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/hurricane-kick-3.png:100"
sound=club.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/hurricane-kick-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/hurricane-kick-[4~6,2].png:100"
image="units/drakes/hurricane-kick-[1~6,2].png:100"
[/frame]
{SOUND:HIT_AND_MISS club.ogg {SOUND_LIST:MISS} -200}
[/attack_anim]
[/unit_type]

View file

@ -67,24 +67,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-300
[frame]
image="units/drakes/inferno-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/inferno-melee-4.png:100"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/inferno-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/inferno-melee-[5,6].png:100"
image="units/drakes/inferno-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -98,24 +98,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-400
[frame]
image="units/drakes/sky-kick-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/sky-kick-3.png:100"
sound=club.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/sky-kick-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/sky-kick-[4~6,2].png:100"
image="units/drakes/sky-kick-[1~6,2].png:100"
[/frame]
{SOUND:HIT_AND_MISS club.ogg {SOUND_LIST:MISS} -200}
[/attack_anim]
[/unit_type]

View file

@ -76,25 +76,9 @@
offset=0.0~0.1:200,0.1~0.4:150,0.4~0.0:150
start_time=-300
[frame]
image="units/drakes/thrasher-spear-[se-1,s-2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/thrasher-spear-s-3.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/thrasher-spear-s-3.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/thrasher-spear-s-[4~6].png:100"
image="units/drakes/thrasher-spear-se-1,units/drakes/thrasher-spear-s-[2~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -104,25 +88,9 @@
offset=0.0~0.0:200,0.0~0.2:150,0.2~0.0:150
start_time=-300
[frame]
image="units/drakes/thrasher-spear-se-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/thrasher-spear-se-3.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/thrasher-spear-se-3.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/thrasher-spear-se-[4~6].png:100"
image="units/drakes/thrasher-spear-se-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -134,25 +102,9 @@
image="units/drakes/thrasher-blade.png:25"
[/frame]
[frame]
image="units/drakes/thrasher-blade-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/thrasher-blade-3.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/thrasher-blade-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/thrasher-blade-[4~6].png:100"
image="units/drakes/thrasher-blade-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/drakes/thrasher-blade.png:100"
[/frame]
@ -167,25 +119,9 @@
image="units/drakes/thrasher-blade.png:25"
[/frame]
[frame]
image="units/drakes/thrasher-impact-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/thrasher-impact-3.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/thrasher-impact-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/thrasher-impact-[4,5].png:100"
image="units/drakes/thrasher-impact-[1~5].png:100"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -75}
[frame]
image="units/drakes/thrasher-blade.png:100"
[/frame]

View file

@ -69,25 +69,9 @@
image="units/drakes/warden.png:50"
[/frame]
[frame]
image="units/drakes/warden-pierce-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/warden-pierce-se-2.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warden-pierce-se-2.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/warden-pierce-s-[3~7].png:100"
image="units/drakes/warden-pierce-se-[1~2].png:100,units/drakes/warden-pierce-s-[3~7].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -150}
[frame]
image="units/drakes/warden.png:100"
[/frame]
@ -104,25 +88,9 @@
image="units/drakes/warden.png:50"
[/frame]
[frame]
image="units/drakes/warden-pierce-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/warden-pierce-se-2.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warden-pierce-se-2.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/drakes/warden-pierce-se-[3~7].png:100"
image="units/drakes/warden-pierce-se-[1~7].png:100"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -150}
[frame]
image="units/drakes/warden.png:100"
[/frame]
@ -133,20 +101,11 @@
type=pierce
[/filter_attack]
direction=ne,n,nw
[if]
hits=yes
[frame]
image="units/drakes/warden.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warden.png:100"
sound=spear-miss.ogg
[/frame]
[/else]
start_time=0
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg 0}
[frame]
image="units/drakes/warden.png:100"
[/frame]
[/attack_anim]
[attack_anim]
@ -161,25 +120,9 @@
image="units/drakes/warden.png:50"
[/frame]
[frame]
image="units/drakes/warden-blade-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/warden-blade-se-2.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warden-blade-se-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/warden-blade-[se-3,s-4,s-5,s-6].png:100"
image="units/drakes/warden-blade-se-[1~3].png:100,units/drakes/warden-blade-se-[4~6]:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -150}
[frame]
image="units/drakes/warden.png:100"
[/frame]
@ -196,25 +139,9 @@
image="units/drakes/warden.png:50"
[/frame]
[frame]
image="units/drakes/warden-blade-se-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/warden-blade-se-2.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warden-blade-se-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/warden-blade-se-[3~6].png:100"
image="units/drakes/warden-blade-se-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -150}
[frame]
image="units/drakes/warden.png:100"
[/frame]
@ -225,19 +152,10 @@
type=blade
[/filter_attack]
direction=ne,n,nw
[if]
hits=yes
[frame]
image="units/drakes/warden.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warden.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=0
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} 0}
[frame]
image="units/drakes/warden.png:100"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -62,28 +62,8 @@
offset=0.0~0.2,0.2~0.7,0.7~0.2,0.2~0.0
start_time=-400
[frame]
image="units/drakes/warrior-melee-[1~3].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/drakes/warrior-melee-4.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/drakes/warrior-melee-4.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/drakes/warrior-melee-[5,6].png:100"
[/frame]
[frame]
duration=100
image="units/drakes/warrior-melee-6.png"
image="units/drakes/warrior-melee-[1~6].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -64,19 +64,9 @@
[frame]
image=units/dwarves/arcanister.png:250
[/frame]
[if]
hits=yes
[frame]
image=units/dwarves/arcanister.png:400
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/dwarves/arcanister.png:400
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[frame]
image=units/dwarves/arcanister.png:400
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -145,24 +145,8 @@
image="units/dwarves/dragonguard-blade.png:50"
[/frame]
[frame]
image="units/dwarves/dragonguard-blade-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/dragonguard-blade-3.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/dragonguard-blade-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/dragonguard-blade-[4,5].png:100"
image="units/dwarves/dragonguard-blade-[1~5].png:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -57,25 +57,9 @@
{MISSILE_FRAME_HATCHET}
start_time=-300
[frame]
image="units/dwarves/explorer-ranged-1.png:200"
[/frame]
[if]
hits=yes
[frame]
image=units/dwarves/explorer-ranged-2.png:200
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/dwarves/explorer-ranged-2.png:200
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
image=units/dwarves/explorer-ranged-3.png:100
image="units/dwarves/explorer-ranged-[1~3].png:[200*2,100]"
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -85,24 +69,8 @@
start_time=-260
offset=0.0~0.1:210,0.1~0.6:150,0.6~0.0:150
[frame]
image="units/dwarves/explorer-melee-[1~3].png:[80*2,50]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/explorer-melee-4.png:50"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/explorer-melee-4.png:50"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/explorer-melee-[5,6].png:100"
image="units/dwarves/explorer-melee-[1~6].png:[80*2,50*2,100*2]"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

View file

@ -90,27 +90,7 @@
image="units/dwarves/fighter-se-hammer.png:40"
[/frame]
[frame]
image="units/dwarves/fighter-se-hammer1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/fighter-se-hammer2.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/fighter-se-hammer2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/fighter-se-hammer[3~7].png:100"
[/frame]
[frame]
image="units/dwarves/fighter-se-hammer.png:100"
image="units/dwarves/fighter-se-hammer[1~7].png:100,units/dwarves/fighter-se-hammer.png:100"
[/frame]
[/if]
[else]
@ -118,29 +98,10 @@
image="units/dwarves/fighter-ne-hammer.png:40"
[/frame]
[frame]
image="units/dwarves/fighter-ne-hammer1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/fighter-ne-hammer2.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/fighter-ne-hammer2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/fighter-ne-hammer[3~7].png:100"
[/frame]
[frame]
image="units/dwarves/fighter-ne-hammer.png:100"
image="units/dwarves/fighter-ne-hammer[1~7].png:100,units/dwarves/fighter-ne-hammer.png:100"
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -210}
[/attack_anim]
@ -154,24 +115,7 @@
[if]
direction=s,se,sw
[frame]
image="units/dwarves/fighter-se-axe[1~4].png:[40,60*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/fighter-se-axe5.png:60"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/fighter-se-axe5.png:60"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/fighter-se-axe[6~9].png:[60*2,80*2]"
image="units/dwarves/fighter-se-axe[1~9].png:[40,60*6,80*2]"
[/frame]
[frame]
image="units/dwarves/fighter.png:40"
@ -179,29 +123,13 @@
[/if]
[else]
[frame]
image="units/dwarves/fighter-ne-axe[1~4].png:[40,60*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/fighter-ne-axe5.png:60"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/fighter-ne-axe5.png:60"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/fighter-ne-axe[6~9].png:[60*2,80*2]"
image="units/dwarves/fighter-ne-axe[1~9].png:[40,60*6,80*2]"
[/frame]
[frame]
image="units/dwarves/fighter-ne.png:40"
[/frame]
[/else]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -130}
[/attack_anim]
{MOVING_ANIM_DIRECTIONAL_10_FRAME "units/dwarves/fighter"}

View file

@ -59,22 +59,13 @@
[standing_anim]
start_time=0
[frame]
image="units/dwarves/guard.png:400"
image="units/dwarves/guard.png:400,units/dwarves/guard-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/guard-bob-[1~3,2,1].png:[150*2,300,100*2]"
image="units/dwarves/guard.png:400,units/dwarves/guard-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/guard.png:400"
[/frame]
[frame]
image="units/dwarves/guard-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/guard.png:400"
[/frame]
[frame]
image="units/dwarves/guard-bob-[1~5].png:[150*2,300,100*2]"
image="units/dwarves/guard.png:400,units/dwarves/guard-bob-[1~5].png:[150*2,300,100*2]"
[/frame]
[/standing_anim]
[idle_anim]
@ -99,19 +90,10 @@
image="units/dwarves/guard-defend-1.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/guard-attack.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/guard-attack.png:100"
[/frame]
[/else]
{SOUND:HIT spear.ogg -150}
[frame]
image="units/dwarves/guard-attack.png:100"
[/frame]
[frame]
image="units/dwarves/guard.png:50"
[/frame]
@ -122,24 +104,8 @@
[/filter_attack]
start_time=-300
[frame]
image="units/dwarves/guard-attack-[1~3].png:[100*2,50]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/guard-attack-4.png:50"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/guard-attack-4.png:50"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/dwarves/guard-attack-[5~7,1].png:[50,100*3]"
image="units/dwarves/guard-attack-[1~7,1].png:[100*2,50*3,100*3]"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -50}
[/attack_anim]
[/unit_type]

View file

@ -90,49 +90,16 @@
[if]
direction=s,se,sw
[frame]
image="units/dwarves/lord-se-ranged[1~4].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/lord-se-ranged5.png:100"
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/lord-se-ranged5.png:100"
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
image="units/dwarves/lord-se-ranged[6~7].png:100"
image="units/dwarves/lord-se-ranged[1~7].png:100"
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image="units/dwarves/lord-ne-ranged[1~4].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/lord-ne-ranged5.png:100"
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/lord-ne-ranged5.png:100"
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
image="units/dwarves/lord-ne-ranged[6~7].png:100"
image="units/dwarves/lord-ne-ranged[1~7].png:100"
[/frame]
[/else]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -150}
[/attack_anim]
[attack_anim]
@ -147,27 +114,7 @@
image="units/dwarves/lord-se-hammer.png:40"
[/frame]
[frame]
image="units/dwarves/lord-se-hammer1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/lord-se-hammer2.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/lord-se-hammer2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/lord-se-hammer[3~7].png:100"
[/frame]
[frame]
image="units/dwarves/lord-se-hammer.png:100"
image="units/dwarves/lord-se-hammer[1~7].png:100,units/dwarves/lord-se-hammer.png:100"
[/frame]
[/if]
[else]
@ -175,29 +122,10 @@
image="units/dwarves/lord-ne-hammer.png:40"
[/frame]
[frame]
image="units/dwarves/lord-ne-hammer1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/lord-ne-hammer2.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/lord-ne-hammer2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/lord-ne-hammer[3~7].png:100"
[/frame]
[frame]
image="units/dwarves/lord-ne-hammer.png:100"
image="units/dwarves/lord-ne-hammer[1~7].png:100,units/dwarves/lord-ne-hammer.png:100"
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -410}
[/attack_anim]
[attack_anim]
@ -210,24 +138,7 @@
[if]
direction=s,se,sw
[frame]
image="units/dwarves/lord-se-axe[1~4].png:[40,60*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/lord-se-axe5.png:60"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/lord-se-axe5.png:60"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/lord-se-axe[6~9].png:[60*2,80*2]"
image="units/dwarves/lord-se-axe[1~9].png:[40,60*6,80*2]"
[/frame]
[frame]
image="units/dwarves/lord.png:40"
@ -235,29 +146,13 @@
[/if]
[else]
[frame]
image="units/dwarves/lord-ne-axe[1~4].png:[40,60*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/lord-ne-axe5.png:60"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/lord-ne-axe5.png:60"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/lord-ne-axe[6~9].png:[60*2,80*2]"
image="units/dwarves/lord-ne-axe[1~9].png:[40,60*6,80*2]"
[/frame]
[frame]
image="units/dwarves/lord-ne.png:40"
[/frame]
[/else]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -130}
[/attack_anim]
{MOVING_ANIM_DIRECTIONAL_10_FRAME "units/dwarves/lord"}

View file

@ -68,25 +68,9 @@
{MISSILE_FRAME_HATCHET}
start_time=-300
[frame]
image="units/dwarves/pathfinder-ranged-1.png:200"
[/frame]
[if]
hits=yes
[frame]
image=units/dwarves/pathfinder-ranged-2.png:200
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/dwarves/pathfinder-ranged-2.png:200
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
image=units/dwarves/pathfinder-ranged-3.png:100
image="units/dwarves/pathfinder-ranged-[1~3].png:[200*2,100]"
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -99,24 +83,8 @@
image="units/dwarves/pathfinder-melee.png:80"
[/frame]
[frame]
image="units/dwarves/pathfinder-melee-[1~3].png:[80*2,50]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/pathfinder-melee-4.png:50"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/pathfinder-melee-4.png:50"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/pathfinder-melee-[5,6].png:100"
image="units/dwarves/pathfinder-melee-[1~6].png:[80*2,50*2,100*2]"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

View file

@ -58,19 +58,9 @@
[frame]
image=units/dwarves/runemaster.png:250
[/frame]
[if]
hits=yes
[frame]
image=units/dwarves/runemaster.png:400
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/dwarves/runemaster.png:400
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[frame]
image=units/dwarves/runemaster.png:400
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -60,24 +60,8 @@
start_time=-400
offset=0.0~-0.15,-0.15~0.1,0.1~0.5,0.5~0.6,0.6~0.6,0.6~0.15,0.15~0.0
[frame]
image="units/dwarves/runesmith-attack-se-[1~4].png:70"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/runesmith-attack-se-5.png:70"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/runesmith-attack-se-5.png:70"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/runesmith-attack-se-[6~10].png:70"
image="units/dwarves/runesmith-attack-se-[1~10].png:70"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -120}
[/attack_anim]
[/unit_type]

View file

@ -60,25 +60,9 @@
{MISSILE_FRAME_HATCHET}
start_time=-300
[frame]
image="units/dwarves/scout-ranged-1.png:200"
[/frame]
[if]
hits=yes
[frame]
image=units/dwarves/scout-ranged-2.png:200
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/dwarves/scout-ranged-2.png:200
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
image=units/dwarves/scout-ranged-3.png:100
image="units/dwarves/scout-ranged-[1~3].png:[200*2,100]"
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -88,24 +72,8 @@
start_time=-260
offset=0.0~0.6:260,0.6~0.6:100,0.6~0.0:150
[frame]
image="units/dwarves/scout-melee-[1~5].png:[80*2,50*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/scout-melee-6.png:50"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/scout-melee-6.png:50"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/scout-melee-[7,8].png:100"
image="units/dwarves/scout-melee-[1~8].png:[80*2,50*4,100*2]"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} 50}
[/attack_anim]
[/unit_type]

View file

@ -78,19 +78,10 @@
image="units/dwarves/sentinel-defend-1.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/sentinel-attack.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/sentinel-attack.png:100"
[/frame]
[/else]
{SOUND:HIT spear.ogg -150}
[frame]
image="units/dwarves/sentinel-attack.png:100"
[/frame]
[frame]
image="units/dwarves/sentinel.png:50"
[/frame]
@ -99,26 +90,17 @@
[filter_attack]
name=spear
[/filter_attack]
start_time=-200
[frame]
image="units/dwarves/sentinel.png:50"
[/frame]
[frame]
image="units/dwarves/sentinel-defend-1.png:50"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/sentinel-attack.png:150"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/sentinel-attack.png:150"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/dwarves/sentinel-attack.png:150"
[/frame]
[frame]
image="units/dwarves/sentinel-defend-1.png:25"
[/frame]

View file

@ -73,19 +73,10 @@
image="units/dwarves/stalwart-defend-1.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/stalwart-attack.png:100"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/stalwart-attack.png:100"
[/frame]
[/else]
{SOUND:HIT spear.ogg -150}
[frame]
image="units/dwarves/stalwart-attack.png:100"
[/frame]
[frame]
image="units/dwarves/stalwart.png:50"
[/frame]
@ -101,20 +92,10 @@
[frame]
image="units/dwarves/stalwart-defend-1.png:50"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/stalwart-attack.png:150"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/stalwart-attack.png:150"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/dwarves/stalwart-attack.png:150"
[/frame]
[frame]
image="units/dwarves/stalwart-defend-1.png:25"
[/frame]

View file

@ -93,27 +93,7 @@
image="units/dwarves/steelclad-se-hammer.png:40"
[/frame]
[frame]
image="units/dwarves/steelclad-se-hammer1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/steelclad-se-hammer2.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/steelclad-se-hammer2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/steelclad-se-hammer[3~7].png:100"
[/frame]
[frame]
image="units/dwarves/steelclad-se-hammer.png:100"
image="units/dwarves/steelclad-se-hammer[1~7].png:100,units/dwarves/steelclad-se-hammer.png:100"
[/frame]
[/if]
[else]
@ -121,29 +101,10 @@
image="units/dwarves/steelclad-ne-hammer.png:40"
[/frame]
[frame]
image="units/dwarves/steelclad-ne-hammer1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/steelclad-ne-hammer2.png:100"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/steelclad-ne-hammer2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/steelclad-ne-hammer[3~7].png:100"
[/frame]
[frame]
image="units/dwarves/steelclad-ne-hammer.png:100"
image="units/dwarves/steelclad-ne-hammer[1~7].png:100,units/dwarves/steelclad-ne-hammer.png:100"
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -210}
[/attack_anim]
[attack_anim]
@ -156,24 +117,7 @@
[if]
direction=s,se,sw
[frame]
image="units/dwarves/steelclad-se-axe[1~4].png:[40,60*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/steelclad-se-axe5.png:60"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/steelclad-se-axe5.png:60"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/steelclad-se-axe[6~9].png:[60*2,80*2]"
image="units/dwarves/steelclad-se-axe[1~9].png:[40,60*6,80*2]"
[/frame]
[frame]
image="units/dwarves/steelclad.png:40"
@ -181,29 +125,13 @@
[/if]
[else]
[frame]
image="units/dwarves/steelclad-ne-axe[1~4].png:[40,60*3]"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/steelclad-ne-axe5.png:60"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/steelclad-ne-axe5.png:60"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/steelclad-ne-axe[6~9].png:[60*2,80*2]"
image="units/dwarves/steelclad-ne-axe[1~9].png:[40,60*6,80*2]"
[/frame]
[frame]
image="units/dwarves/steelclad-ne.png:40"
[/frame]
[/else]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -130}
[/attack_anim]
{MOVING_ANIM_DIRECTIONAL_10_FRAME "units/dwarves/steelclad"}

View file

@ -153,24 +153,8 @@
image="units/dwarves/thunderer-blade.png:50"
[/frame]
[frame]
image="units/dwarves/thunderer-blade-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/thunderer-blade-3.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/thunderer-blade-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/thunderer-blade-[4,5].png:100"
image="units/dwarves/thunderer-blade-[1~5].png:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -143,24 +143,8 @@ Though a single shot from these thundersticks can take several minutes to
image="units/dwarves/thunderguard-blade.png:50"
[/frame]
[frame]
image="units/dwarves/thunderguard-blade-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/dwarves/thunderguard-blade-3.png:100"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/dwarves/thunderguard-blade-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/dwarves/thunderguard-blade-[4,5].png:100"
image="units/dwarves/thunderguard-blade-[1~5].png:100"
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -65,22 +65,9 @@
[frame]
image="units/elves-wood/archer-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/archer-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/archer-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/archer-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/archer-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/archer-bow.png:65"
@ -95,25 +82,9 @@
image="units/elves-wood/archer-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/archer-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/archer-sword-2.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/archer-sword-2.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
image="units/elves-wood/archer-sword-[3,4].png:50"
image="units/elves-wood/archer-sword-[1~4].png:[100,150,50*2]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/elves-wood/archer-sword.png:25"
[/frame]
@ -145,18 +116,8 @@
[frame]
image="units/elves-wood/archer+female-bow.png:65"
[/frame]
[if]
[frame]
image="units/elves-wood/archer+female-bow-attack1.png:75"
[/frame]
[/if]
[else]
[frame]
image="units/elves-wood/archer+female-bow-attack1.png:75"
[/frame]
[/else]
[frame]
image="units/elves-wood/archer+female-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/archer+female-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/archer+female-bow.png:65"
@ -170,22 +131,7 @@
image="units/elves-wood/archer+female-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/archer+female-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/archer+female-sword-2.png:150"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/archer+female-sword-2.png:150"
[/frame]
[/else]
[frame]
image="units/elves-wood/archer+female-sword-[3,4].png:50"
image="units/elves-wood/archer+female-sword-[1~4].png:[100,150,50*2]"
[/frame]
[frame]
image="units/elves-wood/archer+female-sword.png:25"

View file

@ -79,22 +79,9 @@ This has, at times, been interpreted as a form of vengeance for their brethren l
[frame]
image="units/elves-wood/avenger-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/avenger-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/avenger-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/avenger-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/avenger-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/avenger-bow.png:65"
@ -109,25 +96,9 @@ This has, at times, been interpreted as a form of vengeance for their brethren l
image="units/elves-wood/avenger-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/avenger-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/avenger-sword-2.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/avenger-sword-2.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
image="units/elves-wood/avenger-sword-3.png:100"
image="units/elves-wood/avenger-sword-[1~3].png:[100,150,100]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/elves-wood/avenger-sword.png:25"
[/frame]
@ -159,18 +130,8 @@ This has, at times, been interpreted as a form of vengeance for their brethren l
[frame]
image="units/elves-wood/avenger+female-bow.png:65"
[/frame]
[if]
[frame]
image="units/elves-wood/avenger+female-bow-attack1.png:75"
[/frame]
[/if]
[else]
[frame]
image="units/elves-wood/avenger+female-bow-attack1.png:75"
[/frame]
[/else]
[frame]
image="units/elves-wood/avenger+female-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/avenger+female-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/avenger+female-bow.png:75"
@ -184,22 +145,7 @@ This has, at times, been interpreted as a form of vengeance for their brethren l
image="units/elves-wood/avenger+female-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/avenger+female-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/avenger+female-sword-2.png:150"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/avenger+female-sword-2.png:150"
[/frame]
[/else]
[frame]
image="units/elves-wood/avenger+female-sword-3.png:100"
image="units/elves-wood/avenger+female-sword-[1~3].png:[100,150,100]"
[/frame]
[frame]
image="units/elves-wood/avenger+female-sword.png:25"

View file

@ -73,22 +73,9 @@
[frame]
image="units/elves-wood/captain-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/captain-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/captain-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/captain-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/captain-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/captain-bow.png:65"
@ -103,25 +90,9 @@
image="units/elves-wood/captain.png:25"
[/frame]
[frame]
image="units/elves-wood/captain-melee-2.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/captain-melee-1.png:200"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/captain-melee-1.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/elves-wood/captain-melee-2.png:75"
image="units/elves-wood/captain-melee-[2,1,2].png:[75,200,75]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/captain.png:50"
[/frame]

View file

@ -65,22 +65,9 @@
[frame]
image="units/elves-wood/champion-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/champion-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/champion-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/champion-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/champion-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/champion-bow.png:65"
@ -95,24 +82,8 @@
image="units/elves-wood/champion.png:25"
[/frame]
[frame]
image="units/elves-wood/champion-attack-[1,2].png:50"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/champion-attack-3.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/champion-attack-3.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/elves-wood/champion-attack-[4~6].png:[50*2,25]"
image="units/elves-wood/champion-attack-[1~6].png:[50*2,150,50*2,25]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[/unit_type]

View file

@ -88,35 +88,11 @@ The chief ability of Druids lies in healing, and it is for this skill that they
start_time=-300
[frame]
image="units/elves-wood/druid-magic-[1~4].png:75"
halo="halo/elven/nature-halo[1~4].png"
halo_x,halo_y=0,-12
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/druid-magic-4.png:75"
halo="halo/elven/nature-halo5.png"
sound=magic-thorns-[1,2].ogg
halo_x,halo_y=0,-12
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/druid-magic-4.png:75"
halo="halo/elven/nature-halo5.png"
sound=magic-thorns-miss-[1,2].ogg
halo_x,halo_y=0,-12
[/frame]
[/else]
[frame]
image="units/elves-wood/druid-magic-[3~1].png:75"
halo="halo/elven/nature-halo[6~8].png"
image="units/elves-wood/druid-magic-[1~4,4~1].png:75"
halo="halo/elven/nature-halo[1~8].png"
halo_x,halo_y=0,-12
[/frame]
{SOUND:HIT_AND_MISS magic-thorns-[1,2].ogg magic-thorns-miss-[1,2].ogg 0}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -131,22 +107,18 @@ The chief ability of Druids lies in healing, and it is for this skill that they
[/missile_frame]
start_time=-300
[frame]
image="units/elves-wood/druid-magic-[1~3].png:75"
halo="halo/elven/nature-halo[1~3].png"
image="units/elves-wood/druid-magic-[1~4,4~1].png:75"
halo="halo/elven/nature-halo[1~8].png"
halo_x,halo_y=0,-12
[/frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/druid-magic-4.png:75"
halo="halo/elven/nature-halo4.png"
halo_x,halo_y=0,-12
attack_sound_start_time=-76
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound=entangle.wav
[/frame]
[frame]
image="units/elves-wood/druid-magic-[4~1].png:75"
halo="halo/elven/nature-halo[5~8].png"
halo_x,halo_y=0,-12
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -156,20 +128,10 @@ The chief ability of Druids lies in healing, and it is for this skill that they
[frame]
image="units/elves-wood/druid.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/druid-attack.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/druid-attack.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/druid-attack.png:200"
[/frame]
[frame]
image="units/elves-wood/druid.png:75"
[/frame]

View file

@ -75,30 +75,10 @@
start_time=-450
{MISSILE_FRAME_FAERIE_FIRE}
[if]
hits=yes
[frame]
image="units/elves-wood/enchantress-magic-1.png:75"
sound=magic-faeriefire.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=0,-28
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/enchantress-magic-1.png:75"
sound=magic-faeriefire-miss.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=0,-28
[/frame]
[/else]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
[frame]
image="units/elves-wood/enchantress-magic-[2*5,1].png:75"
halo=halo/elven/faerie-fire-halo[2~7].png
image="units/elves-wood/enchantress-magic-[1,2*5,1].png:75"
halo=halo/elven/faerie-fire-halo[1~7].png
halo_x,halo_y=0,-28
[/frame]
[/attack_anim]
@ -106,7 +86,6 @@
[filter_attack]
name=entangle
[/filter_attack]
start_time=-450
missile_start_time=-200
[missile_frame]
offset=1.0
@ -114,23 +93,20 @@
image="projectiles/entangle.png"
image_diagonal="projectiles/entangle.png"
[/missile_frame]
start_time=-450
[frame]
image="units/elves-wood/enchantress-magic-[1,2*4].png:75"
halo=halo/elven/nature-halo[1~5].png
image="units/elves-wood/enchantress-magic-[1,2*6,1].png:75"
halo=halo/elven/nature-halo[1~8].png
halo_x,halo_y=0,-28
[/frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/enchantress-magic-2.png:75"
halo=halo/elven/nature-halo6.png
attack_sound_start_time=-76
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound=entangle.wav
halo_x,halo_y=0,-28
[/frame]
[frame]
image="units/elves-wood/enchantress-magic-[2,1].png:75"
halo=halo/elven/nature-halo[7,8].png
halo_x,halo_y=0,-28
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -139,24 +115,8 @@
offset=0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0
start_time=-250
[frame]
image="units/elves-wood/enchantress-melee-[1,2].png:90"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/enchantress-melee-3.png:100"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/enchantress-melee-3.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/elves-wood/enchantress-melee-[4,6].png:100"
image="units/elves-wood/enchantress-melee-[1~6].png:[90*2,100*4]"
[/frame]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -70}
[/attack_anim]
[/unit_type]

View file

@ -73,22 +73,9 @@
[frame]
image="units/elves-wood/fighter-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/fighter-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/fighter-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/fighter-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/fighter-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/fighter-bow.png:65"
@ -102,22 +89,9 @@
[frame]
image="units/elves-wood/fighter.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/fighter-melee-1.png:200"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/fighter-melee-1.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/fighter-melee-2.png:50"
image="units/elves-wood/fighter-melee-[1~2].png:[200,50]"
[/frame]
[frame]
image="units/elves-wood/fighter.png:25"

View file

@ -64,22 +64,9 @@
[frame]
image="units/elves-wood/hero-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/hero-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/hero-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/hero-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/hero-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/hero-bow.png:65"
@ -94,25 +81,9 @@
image="units/elves-wood/hero.png:25"
[/frame]
[frame]
image="units/elves-wood/hero-melee-[1,2].png:[65,35]"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/hero-melee-3.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/hero-melee-3.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/elves-wood/hero-melee-4.png:45"
image="units/elves-wood/hero-melee-[1~4].png:[65,35,150,45]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/elves-wood/hero-defend.png:60"
[/frame]

View file

@ -39,27 +39,21 @@
image="units/elves-wood/high-lord.png:1"
[/frame]
[frame]
image="units/elves-wood/high-lord-defend-1.png:100"
[/frame]
[if]
hits=hit
[frame]
image="units/elves-wood/high-lord-defend-2.png:100"
sound={SOUND_LIST:ELF_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
image="units/elves-wood/high-lord-defend-2.png:100"
[/frame]
[/else]
[frame]
image="units/elves-wood/high-lord-defend-1.png:100"
image="units/elves-wood/high-lord-defend-[1,2,1].png:100"
[/frame]
[frame]
image="units/elves-wood/high-lord.png:1"
[/frame]
[if]
hits=hit
hit_sound_start_time=-51
[hit_sound_frame]
duration=1
[/hit_sound_frame]
[hit_sound_frame]
sound={SOUND_LIST:ELF_HIT}
[/hit_sound_frame]
[/if]
[/defend]
{DEFENSE_ANIM_RANGE "units/elves-wood/high-lord-magic-defend.png" "units/elves-wood/high-lord-magic.png" {SOUND_LIST:ELF_HIT} ranged}
[attack]
@ -90,29 +84,10 @@
{MISSILE_FRAME_FAERIE_FIRE}
start_time=-450
[if]
hits=yes
[frame]
image="units/elves-wood/high-lord-magic.png:75"
sound=magic-faeriefire.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=-19,-14
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/high-lord-magic.png:75"
sound=magic-faeriefire-miss.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=-19,-14
[/frame]
[/else]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
[frame]
image="units/elves-wood/high-lord-magic.png:75,units/elves-wood/high-lord-magic-1.png"
halo=halo/elven/faerie-fire-halo[2~7].png:75
image="units/elves-wood/high-lord-magic.png:150,units/elves-wood/high-lord-magic-1.png"
halo=halo/elven/faerie-fire-halo[1~7].png:75
halo_x,halo_y=-19,-14
[/frame]
[/attack_anim]
@ -124,22 +99,9 @@
[frame]
image="units/elves-wood/high-lord.png:25"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/high-lord-attack-sword-1.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/high-lord-attack-sword-1.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -175}
[frame]
image="units/elves-wood/high-lord-attack-sword-2.png:175"
image="units/elves-wood/high-lord-attack-sword-[1~2].png:[100,175]"
[/frame]
[frame]
image="units/elves-wood/high-lord.png:100"

View file

@ -63,29 +63,10 @@
{MISSILE_FRAME_FAERIE_FIRE}
start_time=-450
[if]
hits=yes
[frame]
image="units/elves-wood/lord-magic.png:75"
sound=magic-faeriefire.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=-19,-13
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/lord-magic.png:75"
sound=magic-faeriefire-miss.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=-19,-13
[/frame]
[/else]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
[frame]
image="units/elves-wood/lord-magic.png:75,units/elves-wood/lord-magic-1.png"
halo=halo/elven/faerie-fire-halo[2~7].png:75
image="units/elves-wood/lord-magic.png:150,units/elves-wood/lord-magic-1.png"
halo=halo/elven/faerie-fire-halo[1~7].png:75
halo_x,halo_y=-19,-13
[/frame]
[/attack_anim]
@ -97,20 +78,10 @@
[frame]
image="units/elves-wood/lord.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/lord-melee.png:225"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/lord-melee.png:225"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/lord-melee.png:225"
[/frame]
[frame]
image="units/elves-wood/lord.png:75"
[/frame]

View file

@ -74,22 +74,9 @@
[frame]
image="units/elves-wood/marksman-bow.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/marksman-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/marksman-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -400}
[frame]
image="units/elves-wood/marksman-bow-attack[2~4].png:[75,100,150]"
image="units/elves-wood/marksman-bow-attack[1~4].png:[75*2,100,150]"
[/frame]
[frame]
image="units/elves-wood/marksman-bow.png:75"
@ -104,25 +91,9 @@
image="units/elves-wood/marksman-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/marksman-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/marksman-sword-2.png:175"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/marksman-sword-2.png:175"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
image="units/elves-wood/marksman-sword-3.png:75"
image="units/elves-wood/marksman-sword-[1~3].png:[100,175,75]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/elves-wood/marksman-sword.png:25"
[/frame]
@ -162,18 +133,8 @@
[frame]
image="units/elves-wood/marksman+female-bow.png:75"
[/frame]
[if]
[frame]
image="units/elves-wood/marksman+female-bow-attack1.png:75"
[/frame]
[/if]
[else]
[frame]
image="units/elves-wood/marksman+female-bow-attack1.png:75"
[/frame]
[/else]
[frame]
image="units/elves-wood/marksman+female-bow-attack[2~4].png:[75,100,150]"
image="units/elves-wood/marksman+female-bow-attack[1~4].png:[75*2,100,150]"
[/frame]
[frame]
image="units/elves-wood/marksman+female-bow.png:75"
@ -187,22 +148,7 @@
image="units/elves-wood/marksman+female-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/marksman+female-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/marksman+female-sword-2.png:175"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/marksman+female-sword-2.png:175"
[/frame]
[/else]
[frame]
image="units/elves-wood/marksman+female-sword-3.png:75"
image="units/elves-wood/marksman+female-sword-[1~3].png:[100,175,75]"
[/frame]
[frame]
image="units/elves-wood/marksman+female-sword.png:25"

View file

@ -74,22 +74,9 @@
[frame]
image="units/elves-wood/marshal-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/marshal-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/marshal-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/marshal-bow-attack[2~4].png:[75,100,130]"
image="units/elves-wood/marshal-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/marshal-bow.png:65"
@ -103,22 +90,9 @@
[frame]
image="units/elves-wood/marshal-melee-2.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/marshal-melee-1.png:175"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/marshal-melee-1.png:175"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/marshal-melee-2.png:75"
image="units/elves-wood/marshal-melee-[1~2].png:[175,75]"
[/frame]
[frame]
image="units/elves-wood/marshal.png:50"

View file

@ -77,22 +77,9 @@ The speed of these soldiers allows the elves to strike when and where they choos
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-500
[if]
hits=yes
[frame]
image="units/elves-wood/outrider-attack1.png:100"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/outrider-attack1.png:100"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -500}
[frame]
image="units/elves-wood/outrider-attack[2,1].png:[250,100]"
image="units/elves-wood/outrider-attack[1,2,1].png:[100,250,100]"
[/frame]
[frame]
image="units/elves-wood/outrider-moving.png:100"
@ -102,27 +89,15 @@ The speed of these soldiers allows the elves to strike when and where they choos
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/elves-wood/outrider.png:25"
sound=horse-elf-canter.wav
[/frame]
[frame]
image="units/elves-wood/outrider-melee-2.png:75"
image="units/elves-wood/outrider-melee-[2,1].png:[75,200]"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/outrider-melee-1.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/outrider-melee-1.png:200"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/outrider-moving.png:75"
[/frame]

View file

@ -85,22 +85,9 @@
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-400
[if]
hits=yes
[frame]
image="units/elves-wood/scout-attack1.png:100"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/scout-attack1.png:100"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -400}
[frame]
image="units/elves-wood/scout-attack2.png:250"
image="units/elves-wood/scout-attack[1~2].png:[100,250]"
[/frame]
[frame]
image="units/elves-wood/scout-moving.png:100"
@ -118,20 +105,10 @@
[frame]
image="units/elves-wood/scout-moving.png:75"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/scout-attack.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/scout-attack.png:200"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/scout-attack.png:200"
[/frame]
[frame]
image="units/elves-wood/scout-moving.png:100"
[/frame]

View file

@ -84,29 +84,18 @@ The healing abilities of the elves are also remarkable, and of capital use in ba
[/missile_frame]
start_time=-450
[frame]
image="units/elves-wood/shaman.png"
halo=halo/elven/nature-halo[1~3].png:75
image="units/elves-wood/shaman.png:225,units/elves-wood/shaman-attack2.png:225,units/elves-wood/shaman.png:100"
halo=halo/elven/nature-halo[1~6].png:75,halo/elven/nature-halo[7~8].png:50
halo_x,halo_y=0,-12
[/frame]
[frame]
image="units/elves-wood/shaman-attack2.png"
halo=halo/elven/nature-halo[4,5].png:75
halo_x,halo_y=0,-12
[/frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/shaman-attack2.png"
halo=halo/elven/nature-halo6.png:75
attack_sound_start_time=-76
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound=entangle.wav
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=0
end=100
image="units/elves-wood/shaman.png"
halo=halo/elven/nature-halo[7,8].png:50
halo_x,halo_y=0,-12
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/shaman.png:50"
[/frame]
@ -119,20 +108,10 @@ The healing abilities of the elves are also remarkable, and of capital use in ba
[frame]
image="units/elves-wood/shaman.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/shaman-attack.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/shaman-attack.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/elves-wood/shaman-attack.png:200"
[/frame]
[frame]
image="units/elves-wood/shaman.png:75"
[/frame]

View file

@ -69,22 +69,9 @@
[frame]
image="units/elves-wood/sharpshooter-bow.png:65"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/sharpshooter-bow-attack1.png:75"
sound=bow-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/sharpshooter-bow-attack1.png:75"
sound=bow.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/sharpshooter-bow-attack[2~5].png:[75,100,130,150]"
image="units/elves-wood/sharpshooter-bow-attack[1~5].png:[75*2,100,130,150]"
[/frame]
[/attack_anim]
[attack_anim]
@ -96,25 +83,9 @@
image="units/elves-wood/sharpshooter-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/sharpshooter-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/sharpshooter-sword-2.png:175"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/sharpshooter-sword-2.png:175"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
image="units/elves-wood/sharpshooter-sword-3.png:75"
image="units/elves-wood/sharpshooter-sword-[1~3].png:[100,175,75]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/elves-wood/sharpshooter-sword.png:25"
[/frame]
@ -146,20 +117,8 @@
[frame]
image="units/elves-wood/sharpshooter+female-bow.png:65"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/sharpshooter+female-bow-attack1.png:75"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/sharpshooter+female-bow-attack1.png:75"
[/frame]
[/else]
[frame]
image="units/elves-wood/sharpshooter+female-bow-attack[2~5].png:[75,100,130,150]"
image="units/elves-wood/sharpshooter+female-bow-attack[1~5].png:[75*2,100,130,150]"
[/frame]
[/attack_anim]
[attack_anim]
@ -170,22 +129,7 @@
image="units/elves-wood/sharpshooter+female-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/sharpshooter+female-sword-1.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/elves-wood/sharpshooter+female-sword-2.png:175"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-wood/sharpshooter+female-sword-2.png:175"
[/frame]
[/else]
[frame]
image="units/elves-wood/sharpshooter+female-sword-3.png:75"
image="units/elves-wood/sharpshooter+female-sword-[1~3].png:[100,175,75]"
[/frame]
[frame]
image="units/elves-wood/sharpshooter+female-sword.png:25"

View file

@ -93,32 +93,10 @@
start_time=-250
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo[1~5].png:75
halo_x,halo_y=0,-12
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
sound=magic-thorns-[1,2].ogg
halo=halo/elven/nature-halo6.png:75
halo_x,halo_y=0,-12
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
sound=magic-thorns-miss-[1,2].ogg
halo=halo/elven/nature-halo6.png:75
halo_x,halo_y=0,-12
[/frame]
[/else]
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo[7,8].png:75
halo=halo/elven/nature-halo[1~8].png:75
halo_x,halo_y=0,-12
[/frame]
{SOUND:HIT_AND_MISS magic-thorns-[1,2].ogg magic-thorns-miss-[1,2].ogg 125}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -134,21 +112,17 @@
start_time=-450
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo[1~5].png:75
halo=halo/elven/nature-halo[1~8].png:75
halo_x,halo_y=0,-12
[/frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo6.png:75
attack_sound_start_time=-76
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound=entangle.wav
halo_x,halo_y=0,-12
[/frame]
[frame]
image="units/elves-wood/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo[7,8].png:75
halo_x,halo_y=0,-12
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]

View file

@ -77,30 +77,10 @@ Those able to do so are roughly titled as sorceresses by other races; and
{MISSILE_FRAME_FAERIE_FIRE}
start_time=-450
[if]
hits=yes
[frame]
image="units/elves-wood/sorceress-magic-1.png:75"
sound=magic-faeriefire.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=0,-28
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/sorceress-magic-1.png:75"
sound=magic-faeriefire-miss.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=0,-28
[/frame]
[/else]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
[frame]
image="units/elves-wood/sorceress-magic-[2,3,3,3~1].png:75"
halo=halo/elven/faerie-fire-halo[2~7].png
image="units/elves-wood/sorceress-magic-[1~3,3,3~1].png:75"
halo=halo/elven/faerie-fire-halo[1~7].png
halo_x,halo_y=0,-28
[/frame]
[/attack_anim]
@ -118,22 +98,18 @@ Those able to do so are roughly titled as sorceresses by other races; and
start_time=-450
[frame]
image="units/elves-wood/sorceress-magic-[1,2].png:75,units/elves-wood/sorceress-magic-3.png"
halo=halo/elven/nature-halo[1~5].png:75
image="units/elves-wood/sorceress-magic-[1~3,2,1].png:[75*2,300,75*2]"
halo=halo/elven/nature-halo[1~8].png:75
halo_x,halo_y=0,-28
[/frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/sorceress-magic-3.png:75"
halo=halo/elven/nature-halo6.png
attack_sound_start_time=-76
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound=entangle.wav
halo_x,halo_y=0,-28
[/frame]
[frame]
image="units/elves-wood/sorceress-magic-[2,1].png:75"
halo=halo/elven/nature-halo[7,8].png
halo_x,halo_y=0,-28
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -143,24 +119,8 @@ Those able to do so are roughly titled as sorceresses by other races; and
offset=0.0~-0.25:150,-0.25~0.1:100,0.1~0.5:250,0.5~0.6:100, 0.6~0.6:150,0.6~0.15:200,0.15~0.0:150
[frame]
image="units/elves-wood/sorceress-melee-attack-[1~4].png:80"
[/frame]
[if]
hits=yes
[frame]
image="units/elves-wood/sorceress-melee-attack-5.png:80"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/sorceress-melee-attack-5.png:80"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/elves-wood/sorceress-melee-attack-[6~10,1,2].png:[100*2,80*5]"
image="units/elves-wood/sorceress-melee-attack-[1~10,1,2].png:[80*5,100*2,80*5]"
[/frame]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -30}
[/attack_anim]
[/unit_type]

View file

@ -81,30 +81,10 @@
{MISSILE_FRAME_FAERIE_FIRE}
start_time=-450
[if]
hits=yes
[frame]
image="units/elves-wood/sylph-magic.png:75"
sound=magic-faeriefire.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=0,-28
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/elves-wood/sylph-magic.png:75"
sound=magic-faeriefire-miss.ogg
halo=halo/elven/faerie-fire-halo1.png
halo_x,halo_y=0,-28
[/frame]
[/else]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -450}
[frame]
image="units/elves-wood/sylph-magic.png"
halo=halo/elven/faerie-fire-halo[2~7].png:75
halo=halo/elven/faerie-fire-halo[1~7].png:75
halo_x,halo_y=0,-28
[/frame]
[/attack_anim]
@ -121,21 +101,17 @@
start_time=-450
[frame]
image="units/elves-wood/sylph-magic.png"
halo=halo/elven/faerie-fire-halo[1~5].png:75
halo=halo/elven/faerie-fire-halo[1~7].png:75
halo_x,halo_y=0,-28
[/frame]
{SOUND:SLOW}
[frame]
image="units/elves-wood/sylph-magic.png"
halo=halo/elven/faerie-fire-halo6.png:75
attack_sound_start_time=-76
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
sound=entangle.wav
halo_x,halo_y=0,-28
[/frame]
[frame]
image="units/elves-wood/sylph-magic.png"
halo=halo/elven/faerie-fire-halo7.png:75
halo_x,halo_y=0,-28
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]

View file

@ -80,24 +80,11 @@ The claws of a wolf are not generally regarded as being the more dangerous parts
[frame]
image="units/goblins/direwolver-moving.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/goblins/direwolver-attack.png:50"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/direwolver-attack.png:50"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/goblins/direwolver-attack.png:100"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} -100}
{SOUND:POISON}
[frame]
image="units/goblins/direwolver-attack.png:150"
[/frame]
[frame]
image="units/goblins/direwolver-moving.png:50"
[/frame]
@ -116,21 +103,9 @@ The claws of a wolf are not generally regarded as being the more dangerous parts
sound={SOUND_LIST:WOLF_GROWL}
[/frame]
[frame]
image="units/goblins/direwolver-attack.png:150"
image="units/goblins/direwolver-attack.png:200"
[/frame]
[if]
hits=no
[frame]
image="units/goblins/direwolver-attack.png:50"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/goblins/direwolver-attack.png:50"
sound=bite.ogg
[/frame]
[/else]
{SOUND:HIT bite.ogg -100}
[frame]
image="units/goblins/direwolver-moving.png:250"
[/frame]

View file

@ -82,21 +82,9 @@
sound={SOUND_LIST:THROW}
[/frame]
[frame]
image="units/goblins/impaler-attack-ranged-s.png:50"
image="units/goblins/impaler-attack-ranged-s.png:100"
[/frame]
[if]
hits=yes
[frame]
sound=spear.ogg
image="units/goblins/impaler-attack-ranged-s.png:50"
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/impaler-attack-ranged-s.png:50"
[/frame]
[/else]
{SOUND:HIT spear.ogg -100}
[frame]
image="units/goblins/impaler-death-1.png:50"
[/frame]
@ -112,25 +100,9 @@
image=units/goblins/impaler.png:75
[/frame]
[frame]
image=units/goblins/impaler-attack-ne.png:50
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/impaler-attack-ne.png:150
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/impaler-attack-ne.png:150
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/impaler-attack-ne.png:50
image=units/goblins/impaler-attack-ne.png:250
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -75}
[frame]
image=units/goblins/impaler.png:75
[/frame]
@ -146,25 +118,9 @@
image=units/goblins/impaler.png:75
[/frame]
[frame]
image=units/goblins/impaler-attack-n.png:50
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/impaler-attack-n.png:150
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/impaler-attack-n.png:150
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/impaler-attack-n.png:50
image=units/goblins/impaler-attack-n.png:250
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -75}
[frame]
image=units/goblins/impaler.png:75
[/frame]
@ -180,25 +136,9 @@
image=units/goblins/impaler.png:75
[/frame]
[frame]
image=units/goblins/impaler-attack-se-1.png:50
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/impaler-attack-s.png:150
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/impaler-attack-s.png:150
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/impaler-attack-se-1.png:50
image=units/goblins/impaler-attack-[se-1,s,se-1].png:[50,150,50]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -75}
[frame]
image=units/goblins/impaler.png:75
[/frame]
@ -214,25 +154,9 @@
image=units/goblins/impaler.png:75
[/frame]
[frame]
image=units/goblins/impaler-attack-se-1.png:50
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/impaler-attack-se-2.png:150
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/impaler-attack-se-2.png:150
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/impaler-attack-se-1.png:50
image=units/goblins/impaler-attack-se-[1,2,1].png:[50,150,50]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -75}
[frame]
image=units/goblins/impaler.png:75
[/frame]

View file

@ -61,21 +61,9 @@ The wolves they are given are bred for speed and strength, making them quite dan
sound={SOUND_LIST:WOLF_GROWL}
[/frame]
[frame]
image="units/goblins/knight-attack.png:150"
image="units/goblins/knight-attack.png:200"
[/frame]
[if]
hits=no
[frame]
image="units/goblins/knight-attack.png:50"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/goblins/knight-attack.png:50"
sound=bite.ogg
[/frame]
[/else]
{SOUND:HIT bite.ogg -100}
[frame]
image="units/goblins/knight-moving.png:250"
[/frame]

View file

@ -85,20 +85,10 @@
[frame]
image="units/goblins/pillager-defend-1.png:50"
[/frame]
[if]
hits=yes
[frame]
image="units/goblins/pillager-attack2.png:75"
sound=net.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/pillager-attack2.png:75"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS net.wav {SOUND_LIST:MISS} -150}
[frame]
image="units/goblins/pillager-attack2.png:75"
[/frame]
[frame]
image="units/goblins/pillager.png:175"
[/frame]
@ -109,20 +99,10 @@
name=torch
[/filter_attack]
start_time=-200
[if]
hits=yes
[frame]
image="units/goblins/pillager-moving.png:100"
sound=torch.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/pillager-moving.png:100"
sound=torch-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS torch.ogg torch-miss.ogg -200}
[frame]
image="units/goblins/pillager-moving.png:100"
[/frame]
[frame]
image="units/goblins/pillager-attack.png:150"
[/frame]
@ -141,21 +121,9 @@
sound={SOUND_LIST:WOLF_GROWL}
[/frame]
[frame]
image="units/goblins/pillager-attack.png:150"
image="units/goblins/pillager-attack.png:200"
[/frame]
[if]
hits=no
[frame]
image="units/goblins/pillager-attack.png:50"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/goblins/pillager-attack.png:50"
sound=bite.ogg
[/frame]
[/else]
{SOUND:HIT bite.ogg -100}
[frame]
image="units/goblins/pillager-moving.png:250"
[/frame]

View file

@ -62,25 +62,9 @@
image=units/goblins/rouser-defend.png:50
[/frame]
[frame]
image=units/goblins/rouser-attack1.png:50
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/rouser-attack-se.png:150
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/rouser-attack-se.png:150
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/rouser-attack[3,4].png:50
image=units/goblins/rouser-attack[1,-se,3~4].png:[50,150,50*2]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -75}
[frame]
image=units/goblins/rouser.png:25
[/frame]
@ -98,25 +82,9 @@
image=units/goblins/rouser-defend.png:50
[/frame]
[frame]
image=units/goblins/rouser-attack1.png:50
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/rouser-attack-ne.png:150
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/rouser-attack-ne.png:150
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/rouser-attack[3,4].png:50
image=units/goblins/rouser-attack[1,-ne,3~4].png:[50,150,50*2]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -75}
[frame]
image=units/goblins/rouser.png:25
[/frame]
@ -128,25 +96,9 @@
direction=s
start_time=-200
[frame]
image=units/goblins/rouser-attack4.png:100
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/rouser-attack-s.png:200
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/rouser-attack-s.png:200
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/rouser-attack4.png:100
image=units/goblins/rouser-attack[4,-s,4].png:[100,200,100]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -155,24 +107,8 @@
direction=n
start_time=-200
[frame]
image=units/goblins/rouser-attack4.png:100
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/rouser-attack-n.png:200
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/rouser-attack-n.png:200
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/rouser-attack4.png:100
image=units/goblins/rouser-attack[4,-n,4].png:[100,200,100]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[/unit_type]

View file

@ -81,19 +81,10 @@ Some speculate that the existence of these creatures is the beginning of a failu
image="units/goblins/spearman.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/goblins/spearman-attack-se1.png:150"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/spearman-attack-se1.png:150"
[/frame]
[/else]
{SOUND:HIT spear.ogg -100}
[frame]
image="units/goblins/spearman-attack-se1.png:150"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
@ -112,19 +103,10 @@ Some speculate that the existence of these creatures is the beginning of a failu
image="units/goblins/spearman.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/goblins/spearman-attack-s1.png:150"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/spearman-attack-s1.png:150"
[/frame]
[/else]
{SOUND:HIT spear.ogg -100}
[frame]
image="units/goblins/spearman-attack-s1.png:150"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
@ -143,19 +125,10 @@ Some speculate that the existence of these creatures is the beginning of a failu
image="units/goblins/spearman.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/goblins/spearman-attack-ne1.png:150"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/spearman-attack-ne1.png:150"
[/frame]
[/else]
{SOUND:HIT spear.ogg -100}
[frame]
image="units/goblins/spearman-attack-ne1.png:150"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
@ -174,19 +147,10 @@ Some speculate that the existence of these creatures is the beginning of a failu
image="units/goblins/spearman.png:100"
sound={SOUND_LIST:THROW}
[/frame]
[if]
hits=yes
[frame]
image="units/goblins/spearman-attack-n1.png:150"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/goblins/spearman-attack-n1.png:150"
[/frame]
[/else]
{SOUND:HIT spear.ogg -100}
[frame]
image="units/goblins/spearman-attack-n1.png:150"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
@ -196,25 +160,9 @@ Some speculate that the existence of these creatures is the beginning of a failu
direction=se,sw
start_time=-200
[frame]
image=units/goblins/spearman-attack-se1.png:100
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/spearman-attack-se2.png:200
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/spearman-attack-se2.png:200
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/spearman-attack-se1.png:100
image=units/goblins/spearman-attack-se[1,2,1].png:[100,200,100]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -224,25 +172,9 @@ Some speculate that the existence of these creatures is the beginning of a failu
direction=ne,nw
start_time=-200
[frame]
image=units/goblins/spearman-attack-ne1.png:100
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/spearman-attack-ne2.png:200
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/spearman-attack-ne2.png:200
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/spearman-attack-ne1.png:100
image=units/goblins/spearman-attack-ne[1,2,1].png:[100,200,100]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -252,25 +184,9 @@ Some speculate that the existence of these creatures is the beginning of a failu
direction=s
start_time=-200
[frame]
image=units/goblins/spearman-attack-s1.png:100
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/spearman-attack-s2.png:200
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/spearman-attack-s2.png:200
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/spearman-attack-s1.png:100
image=units/goblins/spearman-attack-s[1,2,1].png:[100,200,100]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -280,24 +196,8 @@ Some speculate that the existence of these creatures is the beginning of a failu
direction=n
start_time=-200
[frame]
image=units/goblins/spearman-attack-n1.png:100
[/frame]
[if]
hits=yes
[frame]
image=units/goblins/spearman-attack-n2.png:200
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image=units/goblins/spearman-attack-n2.png:200
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image=units/goblins/spearman-attack-n1.png:100
image=units/goblins/spearman-attack-n[1,2,1].png:[100,200,100]
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[/unit_type]

View file

@ -82,21 +82,9 @@ Wolves, likely, could never support the weight of a man in plate, but a goblin i
sound={SOUND_LIST:WOLF_GROWL}
[/frame]
[frame]
image="units/goblins/wolf-rider-attack.png:150"
image="units/goblins/wolf-rider-attack.png:200"
[/frame]
[if]
hits=no
[frame]
image="units/goblins/wolf-rider-attack.png:50"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/goblins/wolf-rider-attack.png:50"
sound=bite.ogg
[/frame]
[/else]
{SOUND:HIT bite.ogg -100}
[frame]
image="units/goblins/wolf-rider-moving.png:250"
[/frame]

View file

@ -65,24 +65,8 @@
[/filter_attack]
start_time=-200
[frame]
image="units/monsters/gryphon-flying-5.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/monsters/gryphon-flying-4.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/monsters/gryphon-flying-4.png:200"
sound=claws.ogg
[/frame]
[/else]
[frame]
image="units/monsters/gryphon-flying-5.png:100"
image="units/monsters/gryphon-flying-[5,4,5].png:[100,200,100]"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -47,8 +47,8 @@
number=2
[/attack]
[standing_anim]
layer=60
start_time=0
layer=60
[frame]
image="units/dwarves/gryphon-master-flying-[1~8].png:150"
[/frame]
@ -67,24 +67,8 @@
[/filter_attack]
start_time=-200
[frame]
image="units/dwarves/gryphon-master-flying-4.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/dwarves/gryphon-master-flying-5.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/dwarves/gryphon-master-flying-5.png:200"
sound=claws.ogg
[/frame]
[/else]
[frame]
image="units/dwarves/gryphon-master-flying-4.png:100"
image="units/dwarves/gryphon-master-flying-[4,5,4].png:[100,200,100]"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -67,24 +67,8 @@
[/filter_attack]
start_time=-200
[frame]
image="units/dwarves/gryphon-rider-flying-5.png:100"
[/frame]
[if]
hits=no
[frame]
image="units/dwarves/gryphon-rider-flying-4.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/dwarves/gryphon-rider-flying-4.png:200"
sound=claws.ogg
[/frame]
[/else]
[frame]
image="units/dwarves/gryphon-rider-flying-5.png:100"
image="units/dwarves/gryphon-rider-flying-[5,4,5].png:[100,200,100]"
[/frame]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -67,20 +67,11 @@
image="units/human-loyalists/grand-knight.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/grand-knight-moving.png:350"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/grand-knight-moving.png:350"
sound=spear.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -200}
[frame]
image="units/human-loyalists/grand-knight-moving.png:350"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
image="units/human-loyalists/grand-knight.png:50"
[/frame]
@ -94,20 +85,10 @@
image="units/human-loyalists/grand-knight.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/grand-knight-attack-sword.png:250"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/grand-knight-attack-sword.png:250"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/grand-knight-attack-sword.png:250"
[/frame]
[frame]
image="units/human-loyalists/grand-knight.png:100"
[/frame]

View file

@ -67,20 +67,10 @@
image="units/human-loyalists/knight.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/knight-moving.png:350"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/knight-moving.png:350"
sound=spear.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -200}
[frame]
image="units/human-loyalists/knight-moving.png:350"
[/frame]
[frame]
image="units/human-loyalists/knight.png:50"
[/frame]
@ -94,20 +84,10 @@
image="units/human-loyalists/knight.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/knight-attack.png:300"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/knight-attack.png:300"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/knight-attack.png:300"
[/frame]
[frame]
image="units/human-loyalists/knight.png:50"
[/frame]

View file

@ -61,20 +61,10 @@
[frame]
image="units/human-loyalists/lancer-moving.png:75"
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/lancer-attack.png:300"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/lancer-attack.png:300"
sound=spear.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/lancer-attack.png:300"
[/frame]
[frame]
image="units/human-loyalists/lancer-moving.png:50"
[/frame]

View file

@ -82,20 +82,10 @@ Full paladins are generally not quite as fearsome as the Grand Knights tha
image="units/human-loyalists/paladin.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/paladin-moving.png:350"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/paladin-moving.png:350"
sound=spear.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg {SOUND_LIST:MISS} -200}
[frame]
image="units/human-loyalists/paladin-moving.png:350"
[/frame]
[frame]
image="units/human-loyalists/paladin.png:50"
[/frame]
@ -104,24 +94,16 @@ Full paladins are generally not quite as fearsome as the Grand Knights tha
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/human-loyalists/paladin.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/paladin-attack-sword.png:250"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/paladin-attack-sword.png:250"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/paladin-attack-sword.png:250"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
image="units/human-loyalists/paladin.png:100"
[/frame]

View file

@ -54,36 +54,20 @@
[filter_attack]
name=bow
[/filter_attack]
start_time=-445
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
image="units/human-loyalists/bowman-bow.png:65"
[/frame]
[frame]
image="units/human-loyalists/bowman-bow-attack-[1,2].png:75"
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/bowman-bow-attack-3.png:100"
sound=bow-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/bowman-bow-attack-3.png:100"
sound=bow.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/bowman-bow-attack-[4,1].png:[130,65]"
image="units/human-loyalists/bowman-bow-attack-[1~4,1].png:[75*2,100,130,65]"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -230}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -95,25 +79,9 @@
image="units/human-loyalists/bowman-melee-defend-1.png:50"
[/frame]
[frame]
image="units/human-loyalists/bowman-melee-attack-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/bowman-melee-attack-2.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/bowman-melee-attack-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-loyalists/bowman-melee-attack-[3,4].png:100"
image="units/human-loyalists/bowman-melee-attack-[1~4].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -125}
[frame]
image="units/human-loyalists/bowman-melee-defend-1.png:50"
[/frame]

View file

@ -68,25 +68,10 @@
[/filter_attack]
start_time=-1100
[frame]
image="units/human-loyalists/cavalier-ranged-[1~5].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/cavalier-ranged-6.png:200"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/cavalier-ranged-6.png:200"
sound=crossbow-miss.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/cavalier-ranged-7.png:300"
image="units/human-loyalists/cavalier-ranged-[1~7].png:[100*5,200,300]"
[/frame]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -600}
missile_start_time=-150
[missile_frame]
duration=150
@ -106,20 +91,10 @@
image="units/human-loyalists/cavalier-moving.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/cavalier-attack.png:300"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/cavalier-attack.png:300"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/cavalier-attack.png:300"
[/frame]
[frame]
image="units/human-loyalists/cavalier-moving.png:50"
[/frame]

View file

@ -74,20 +74,10 @@ Cavalrymen are very useful for taking and holding positions on open ground, for
image="units/human-loyalists/cavalryman-moving.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/cavalryman-attack.png:300"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/cavalryman-attack.png:300"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/cavalryman-attack.png:300"
[/frame]
[frame]
image="units/human-loyalists/cavalryman-moving.png:50"
[/frame]

View file

@ -74,25 +74,10 @@
[/filter_attack]
start_time=-1100
[frame]
image="units/human-loyalists/dragoon-ranged-[1~5].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/dragoon-ranged-6.png:200"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/dragoon-ranged-6.png:200"
sound=crossbow-miss.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/dragoon-ranged-7.png:300"
image="units/human-loyalists/dragoon-ranged-[1~7].png:[100*5,200,300]"
[/frame]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -600}
missile_start_time=-150
[missile_frame]
duration=150
@ -112,20 +97,10 @@
image="units/human-loyalists/dragoon-moving.png:50"
sound=horse-canter.wav
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/dragoon-attack.png:300"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/dragoon-attack.png:300"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/dragoon-attack.png:300"
[/frame]
[frame]
image="units/human-loyalists/dragoon-moving.png:50"
[/frame]

View file

@ -73,20 +73,10 @@ Experienced fencers carry with them a small crossbow that is easily concealed un
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-350
[if]
hits=yes
[frame]
image="units/human-loyalists/duelist-ranged.png:400"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/duelist-ranged.png:400"
sound=crossbow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -350}
[frame]
image="units/human-loyalists/duelist-ranged.png:400"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
@ -96,20 +86,10 @@ Experienced fencers carry with them a small crossbow that is easily concealed un
[frame]
image="units/human-loyalists/duelist.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/duelist-attack.png:200"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/duelist-attack.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -150}
[frame]
image="units/human-loyalists/duelist-attack.png:200"
[/frame]
[frame]
image="units/human-loyalists/duelist.png:100"
[/frame]

View file

@ -51,42 +51,10 @@ Outfitted with only a dagger and saber, fencers are light on their feet and usef
image="units/human-loyalists/fencer.png:1"
[/frame]
[frame]
image="units/human-loyalists/fencer-defend-1-[1,2,1].png:[83,83,84]"
[/frame]
[frame]
image="units/human-loyalists/fencer-defend-1-1.png:1"
[/frame]
[/defend]
[defend]
hits=hit
start_time=-126
[frame]
image="units/human-loyalists/fencer.png:1"
[/frame]
[frame]
image="units/human-loyalists/fencer-defend.png:100"
[/frame]
[frame]
image="units/human-loyalists/fencer-defend.png:150"
sound={SOUND_LIST:HUMAN_HIT}
[/frame]
[frame]
image="units/human-loyalists/fencer.png:1"
[/frame]
[/defend]
[defend]
hits=kill
start_time=-126
[frame]
image="units/human-loyalists/fencer.png:1"
[/frame]
[frame]
image="units/human-loyalists/fencer-defend.png:250"
[/frame]
[frame]
image="units/human-loyalists/fencer.png:1"
image="units/human-loyalists/fencer-defend-1-[1,2,1].png:[83,83,85]"
[/frame]
[/defend]
{DEFENSE_ANIM_FILTERED units/human-loyalists/fencer-defend.png units/human-loyalists/fencer.png {SOUND_LIST:HUMAN_HIT} (hits=hit,kill)}
[death]
start_time=0
[frame]
@ -115,28 +83,9 @@ Outfitted with only a dagger and saber, fencers are light on their feet and usef
[/filter_attack]
start_time=-300
[frame]
image="units/human-loyalists/fencer-attack-[1,2].png:50"
offset=0.0~-0.07,-0.07~-0.15
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/fencer-attack-3.png:50"
sound={SOUND_LIST:SWORD_SWISH}
offset=-0.15~-0.25
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/fencer-attack-3.png:50"
sound={SOUND_LIST:MISS}
offset=-0.15~-0.25
[/frame]
[/else]
[frame]
image="units/human-loyalists/fencer-attack-[4~9,1].png:50"
offset=-0.25~-0.2,-0.2~-0.1,-0.1~0.25,0.25~0.55,0.55~0.25,0.25~0.1,0.1~0.0
image="units/human-loyalists/fencer-attack-[1~9,1].png:50"
offset=0.0~-0.07,-0.07~-0.15,-0.15~-0.25,-0.25~-0.2,-0.2~-0.1,-0.1~0.25,0.25~0.55,0.55~0.25,0.25~0.1,0.1~0.0
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -200}
[/attack_anim]
[/unit_type]

View file

@ -91,22 +91,9 @@
[frame]
image="units/human-loyalists/general-crossbow.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/general-crossbow-attack1.png:150"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/general-crossbow-attack1.png:150"
sound=crossbow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -300}
[frame]
image="units/human-loyalists/general-crossbow-attack2.png:150"
image="units/human-loyalists/general-crossbow-attack[1~2].png:150"
[/frame]
[/attack_anim]
[attack_anim]
@ -123,29 +110,10 @@
offset=0.1~0.15
[/frame]
[frame]
image="units/human-loyalists/general-attack-sword1.png:100"
offset=0.15~0.35
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/general-attack-sword2.png:75"
sound={SOUND_LIST:SWORD_SWISH}
offset=0.35~0.45
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/general-attack-sword2.png:75"
sound={SOUND_LIST:MISS}
offset=0.35~0.45
[/frame]
[/else]
[frame]
image="units/human-loyalists/general-attack-sword[3~5].png:[100,50,75]"
offset=0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75
image="units/human-loyalists/general-attack-sword[1~5].png:[100,75,100,50,75]"
offset=0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/general.png:75"
offset=0.2~0.0

View file

@ -85,22 +85,9 @@
[frame]
image="units/human-loyalists/marshal-crossbow.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/marshal-crossbow-attack1.png:150"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/marshal-crossbow-attack1.png:150"
sound=crossbow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -300}
[frame]
image="units/human-loyalists/marshal-crossbow-attack2.png:150"
image="units/human-loyalists/marshal-crossbow-attack[1~2].png:150"
[/frame]
[/attack_anim]
[attack_anim]
@ -117,29 +104,10 @@
offset=0.1~0.15
[/frame]
[frame]
image="units/human-loyalists/marshal-attack-sword1.png:100"
offset=0.15~0.35
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/marshal-attack-sword2.png:75"
sound={SOUND_LIST:SWORD_SWISH}
offset=0.35~0.45
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/marshal-attack-sword2.png:75"
sound={SOUND_LIST:MISS}
offset=0.35~0.45
[/frame]
[/else]
[frame]
image="units/human-loyalists/marshal-attack-sword[3,4*2,5].png:[100,20,30,75]"
offset=0.45~0.5,0.5,0.5~0.4,0.4~0.2
image="units/human-loyalists/marshal-attack-sword[1~5].png:[100,75,100,50,75]"
offset=0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/marshal.png:75"
offset=0.2~0.0

View file

@ -74,22 +74,9 @@ However, a halberd is notably more expensive to craft than a spear, and in the h
image="units/human-loyalists/halberdier-defend.png:50"
[/frame]
[frame]
image="units/human-loyalists/halberdier-slash-se-1.png:100"
image="units/human-loyalists/halberdier-slash-se-[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/halberdier-slash-se-2.png:200"
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/halberdier-slash-se-2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/halberdier-pierce-se.png:100"
[/frame]
@ -110,20 +97,10 @@ However, a halberd is notably more expensive to craft than a spear, and in the h
[frame]
image="units/human-loyalists/halberdier-defend.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:200"
[/frame]
[frame]
image="units/human-loyalists/halberdier-defend.png:75"
[/frame]
@ -141,20 +118,10 @@ However, a halberd is notably more expensive to craft than a spear, and in the h
[frame]
image="units/human-loyalists/halberdier-defend.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/halberdier-pierce-se.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/halberdier-pierce-se.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/halberdier-pierce-se.png:200"
[/frame]
[frame]
image="units/human-loyalists/halberdier-defend.png:75"
[/frame]
@ -165,46 +132,14 @@ However, a halberd is notably more expensive to craft than a spear, and in the h
type=pierce
[/filter_attack]
direction=n
hits=yes
start_time=-250
[frame]
image="units/human-loyalists/halberdier.png:50"
[/frame]
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:100"
[/frame]
[frame]
image="units/human-loyalists/halberdier-pierce-n.png:200"
sound=spear.ogg
[/frame]
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:50"
[/frame]
[frame]
image="units/human-loyalists/halberdier-defend.png:25"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=halberd
type=pierce
[/filter_attack]
direction=n
hits=no
start_time=-250
[frame]
image="units/human-loyalists/halberdier.png:50"
[/frame]
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:100"
[/frame]
[frame]
image="units/human-loyalists/halberdier-pierce-n.png:250"
sound=spear-miss.ogg
[/frame]
[frame]
image="units/human-loyalists/halberdier-pierce-ne.png:50"
image="units/human-loyalists/halberdier-pierce-[ne,n,ne].png:[100,200,50]"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/halberdier-defend.png:25"
[/frame]
@ -222,22 +157,9 @@ However, a halberd is notably more expensive to craft than a spear, and in the h
[frame]
image="units/human-loyalists/halberdier-defend.png:50"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/halberdier-pierce-s.png:250"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/halberdier-pierce-s.png:250"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/halberdier-pierce-se.png:50"
image="units/human-loyalists/halberdier-pierce-[s,se].png:[250,50]"
[/frame]
[frame]
image="units/human-loyalists/halberdier-defend.png:25"

View file

@ -55,22 +55,9 @@
[/filter_attack]
start_time=-230
[frame]
image="units/human-loyalists/heavyinfantry-attack-1.png:130"
image="units/human-loyalists/heavyinfantry-attack-[1~2].png:[130,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/heavyinfantry-attack-2.png:200"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/heavyinfantry-attack-2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/heavyinfantry.png:100"
[/frame]

View file

@ -44,22 +44,9 @@ Though staggering in melee combat, there are many drawbacks to being outfitted i
[/filter_attack]
start_time=-260
[frame]
image="units/human-loyalists/siegetrooper-attack-1.png:160"
image="units/human-loyalists/siegetrooper-attack-[1~2].png:[160,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/siegetrooper-attack-2.png:200"
sound=mace.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/siegetrooper-attack-2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/siegetrooper.png:100"
[/frame]

View file

@ -67,28 +67,22 @@
[/missile_frame]
start_time=-250
[frame]
image="units/human-loyalists/javelineer-attack-ranged-1.png:100"
image="units/human-loyalists/javelineer-attack-ranged-[1~4].png:[100*3,50]"
[/frame]
[frame]
image="units/human-loyalists/javelineer-attack-ranged-2.png:100"
attack_sound_start_time=-51
[attack_sound_frame]
duration=1
[/attack_sound_frame]
[attack_sound_frame]
duration=100
sound={SOUND_LIST:THROW}
[/frame]
[/attack_sound_frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/javelineer-attack-ranged-3.png:100"
[attack_sound_frame]
sound=spear.ogg
[/frame]
[/attack_sound_frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/javelineer-attack-ranged-3.png:100"
[/frame]
[/else]
[frame]
image="units/human-loyalists/javelineer-attack-ranged-4.png:50"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
@ -96,22 +90,9 @@
[/filter_attack]
start_time=-300
[frame]
image="units/human-loyalists/javelineer-attack-melee-[1,2].png:100"
image="units/human-loyalists/javelineer-attack-melee-[1~3].png:[100*2,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/javelineer-attack-melee-3.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/javelineer-attack-melee-3.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/javelineer-attack-ranged-1.png:75"
[/frame]

View file

@ -82,22 +82,9 @@
[frame]
image="units/human-loyalists/lieutenant-crossbow.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/lieutenant-crossbow-attack1.png:150"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/lieutenant-crossbow-attack1.png:150"
sound=crossbow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -300}
[frame]
image="units/human-loyalists/lieutenant-crossbow-attack2.png:150"
image="units/human-loyalists/lieutenant-crossbow-attack[1~2].png:150"
[/frame]
[/attack_anim]
[attack_anim]
@ -109,24 +96,8 @@
image="units/human-loyalists/lieutenant.png:50"
[/frame]
[frame]
image="units/human-loyalists/lieutenant-attack-sword-1.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/lieutenant-attack-sword-2.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/lieutenant-attack-sword-2.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-loyalists/lieutenant-attack-sword-3.png:100"
image="units/human-loyalists/lieutenant-attack-sword-[1~3].png:[75,150,100]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -54,7 +54,6 @@
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
duration=1000
image="units/human-loyalists/longbowman-idle-[1~4,3,4,3,4,3,4,1].png:[1000,400,100,200,100,200,100,200,100,400,100]"
[/frame]
[/idle_anim]
@ -73,28 +72,9 @@
image="units/human-loyalists/longbowman-bow.png:65"
[/frame]
[frame]
image="units/human-loyalists/longbowman-bow-attack-[1,2].png:75"
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/longbowman-bow-attack-3.png:100"
sound=bow-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/longbowman-bow-attack-3.png:100"
sound=bow.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/longbowman-bow-attack-4.png:130"
[/frame]
[frame]
image="units/human-loyalists/longbowman-bow-attack-1.png:65"
image="units/human-loyalists/longbowman-bow-attack-[1~4,1].png:[75*2,100,130,65]"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -230}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -106,25 +86,9 @@
image="units/human-loyalists/longbowman-melee-defend-1.png:50"
[/frame]
[frame]
image="units/human-loyalists/longbowman-melee-attack-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/longbowman-melee-attack-2.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/longbowman-melee-attack-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-loyalists/longbowman-melee-attack-[3,4].png:100"
image="units/human-loyalists/longbowman-melee-attack-[1~4].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -125}
[frame]
image="units/human-loyalists/longbowman-melee-defend-1.png:50"
[/frame]

View file

@ -54,7 +54,6 @@
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
duration=1000
image="units/human-loyalists/masterbowman-idle-[1~4,3,4,3,4,3,4,1].png:[1000,400,100,200,100,200,100,200,100,400,100]"
[/frame]
[/idle_anim]
@ -73,28 +72,9 @@
image="units/human-loyalists/masterbowman-bow.png:65"
[/frame]
[frame]
image="units/human-loyalists/masterbowman-bow-attack-[1,2].png:75"
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/masterbowman-bow-attack-3.png:100"
sound=bow-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/masterbowman-bow-attack-3.png:100"
sound=bow.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/masterbowman-bow-attack-4.png:130"
[/frame]
[frame]
image="units/human-loyalists/masterbowman-bow-attack-1.png:65"
image="units/human-loyalists/masterbowman-bow-attack-[1~4,1].png:[75*2,100,130,65]"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -230}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -106,25 +86,9 @@
image="units/human-loyalists/masterbowman-melee-defend-1.png:50"
[/frame]
[frame]
image="units/human-loyalists/masterbowman-melee-attack-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/masterbowman-melee-attack-2.png:100"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/masterbowman-melee-attack-2.png:100"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-loyalists/masterbowman-melee-attack-[3,4].png:100"
image="units/human-loyalists/masterbowman-melee-attack-[1~4].png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -125}
[frame]
image="units/human-loyalists/masterbowman-melee-defend-1.png:50"
[/frame]

View file

@ -162,22 +162,9 @@ They usually have the luxury of choosing their appointments, and are free to roa
image="units/human-loyalists/master-at-arms.png:25"
[/frame]
[frame]
image="units/human-loyalists/master-at-arms-melee-1-[1,2].png:50"
image="units/human-loyalists/master-at-arms-melee-1-[1~3].png:[50*2,150]"
[/frame]
[if]
hits=no
[frame]
image="units/human-loyalists/master-at-arms-melee-1-3.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-loyalists/master-at-arms-melee-1-3.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/human-loyalists/master-at-arms-recover-[1,2].png:50"
[/frame]

View file

@ -66,20 +66,10 @@
[frame]
image="units/human-loyalists/pikeman.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/pikeman-attack-ne.png:250"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/pikeman-attack-ne.png:250"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -250}
[frame]
image="units/human-loyalists/pikeman-attack-ne.png:250"
[/frame]
[frame]
image="units/human-loyalists/pikeman.png:75"
[/frame]
@ -93,20 +83,10 @@
[frame]
image="units/human-loyalists/pikeman.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/pikeman-attack-se.png:250"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/pikeman-attack-se.png:250"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -250}
[frame]
image="units/human-loyalists/pikeman-attack-se.png:250"
[/frame]
[frame]
image="units/human-loyalists/pikeman.png:75"
[/frame]
@ -123,20 +103,10 @@
[frame]
image="units/human-loyalists/pikeman-attack-ne.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/pikeman-attack-n.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/pikeman-attack-n.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/pikeman-attack-n.png:200"
[/frame]
[frame]
image="units/human-loyalists/pikeman.png:75"
[/frame]
@ -153,20 +123,10 @@
[frame]
image="units/human-loyalists/pikeman-attack-se.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/pikeman-attack-s.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/pikeman-attack-s.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/pikeman-attack-s.png:200"
[/frame]
[frame]
image="units/human-loyalists/pikeman.png:75"
[/frame]

View file

@ -58,29 +58,10 @@
offset=0.1~0.15
[/frame]
[frame]
image="units/human-loyalists/royalguard-attack-sword1.png:100"
offset=0.15~0.35
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/royalguard-attack-sword2.png:75"
sound={SOUND_LIST:SWORD_SWISH}
offset=0.35~0.45
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/royalguard-attack-sword2.png:75"
sound={SOUND_LIST:MISS}
offset=0.35~0.45
[/frame]
[/else]
[frame]
image="units/human-loyalists/royalguard-attack-sword[3~5].png:[100,50,75]"
offset=0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75
image="units/human-loyalists/royalguard-attack-sword[1~5].png:[100,75,100,50,75]"
offset=0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/royalguard.png:75"
offset=0.2~0.0

View file

@ -76,22 +76,9 @@
[frame]
image="units/human-loyalists/sergeant-crossbow.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/sergeant-crossbow-attack1.png:150"
sound=crossbow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/sergeant-crossbow-attack1.png:150"
sound=crossbow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS crossbow.ogg crossbow-miss.ogg -300}
[frame]
image="units/human-loyalists/sergeant-crossbow-attack2.png:150"
image="units/human-loyalists/sergeant-crossbow-attack[1~2].png:150"
[/frame]
[/attack_anim]
[attack_anim]
@ -103,25 +90,9 @@
image="units/human-loyalists/sergeant.png:25"
[/frame]
[frame]
image="units/human-loyalists/sergeant-attack-sword-1.png:75"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/sergeant-attack-sword-2.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/sergeant-attack-sword-2.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-loyalists/sergeant-attack-sword-3.png:100"
image="units/human-loyalists/sergeant-attack-sword-[1~3].png:[75,150,100]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
image="units/human-loyalists/sergeant.png:25"
[/frame]

View file

@ -46,22 +46,9 @@
name=morning star
[/filter_attack]
start_time=-260
[if]
hits=yes
[frame]
image="units/human-loyalists/shocktrooper-attack-1.png:85"
sound=flail.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/shocktrooper-attack-1.png:85"
sound=flail-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS flail.ogg flail-miss.ogg -260}
[frame]
image="units/human-loyalists/shocktrooper-attack-[2~6].png:[100,125,50*3]"
image="units/human-loyalists/shocktrooper-attack-[1~6].png:[85,100,125,50*3]"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -98,21 +98,9 @@
[frame]
image="units/human-loyalists/spearman-attack-ranged.png:50"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/spearman-attack-ranged.png:50"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/spearman-attack-ranged.png:50"
[/frame]
[/else]
{SOUND:HIT spear.ogg -100}
[frame]
image="units/human-loyalists/spearman-attack-ranged2.png:100"
image="units/human-loyalists/spearman-attack-[ranged,ranged2].png:[50,100]"
[/frame]
[/attack_anim]
[attack_anim]
@ -123,25 +111,9 @@
direction=s
offset="0~0.5,0.5~0"
[frame]
image="units/human-loyalists/spearman-attack-s-[1~4].png:25"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/spearman-attack-s-5.png:25"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/spearman-attack-s-5.png:25"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/spearman-attack-s-[6~14].png:25"
image="units/human-loyalists/spearman-attack-s-[1~14].png:25"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -152,20 +124,10 @@
[frame]
image="units/human-loyalists/spearman.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/spearman-attack-n.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/spearman-attack-n.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/spearman-attack-n.png:200"
[/frame]
[frame]
image="units/human-loyalists/spearman.png:50"
[/frame]
@ -179,20 +141,10 @@
[frame]
image="units/human-loyalists/spearman.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/spearman-attack-ne.png:200"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/spearman-attack-ne.png:200"
sound=spear-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/human-loyalists/spearman-attack-ne.png:200"
[/frame]
[frame]
image="units/human-loyalists/spearman.png:50"
[/frame]
@ -205,24 +157,8 @@
direction=se,sw
offset="0~0.4,0.4~0"
[frame]
image="units/human-loyalists/spearman-attack-se-[1~3].png:32"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/spearman-attack-se-4.png:32"
sound=spear.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/spearman-attack-se-4.png:32"
sound=spear-miss.ogg
[/frame]
[/else]
[frame]
image="units/human-loyalists/spearman-attack-se-[5~11].png:32"
image="units/human-loyalists/spearman-attack-se-[1~11].png:32"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -128}
[/attack_anim]
[/unit_type]

View file

@ -60,24 +60,8 @@
image="units/human-loyalists/swordsman.png:25"
[/frame]
[frame]
image="units/human-loyalists/swordsman-attack-1.png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-loyalists/swordsman-attack-2.png:150"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-loyalists/swordsman-attack-2.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-loyalists/swordsman-attack-3.png:125"
image="units/human-loyalists/swordsman-attack-[1~3].png:[100,150,125]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[/unit_type]

View file

@ -70,25 +70,9 @@ Physically frail, and lacking familiarity with combat, magi do possess certain a
start_time=-800
[frame]
image="units/human-magi/mage-attack-magic[1,2].png:[100,350]"
[/frame]
[if]
hits=no
[frame]
image="units/human-magi/mage-attack-magic2.png:250"
sound=magic-missile-[1~3]-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-magi/mage-attack-magic2.png:250"
sound=magic-missile-[1~3].ogg
[/frame]
[/else]
[frame]
image="units/human-magi/mage-attack-magic1.png:200"
image="units/human-magi/mage-attack-magic[1,2,1].png:[100,700,200]"
[/frame]
{SOUND:HIT_AND_MISS magic-missile-[1~3].ogg magic-missile-[1~3]-miss.ogg -350}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -99,22 +83,9 @@ Physically frail, and lacking familiarity with combat, magi do possess certain a
image="units/human-magi/mage.png:50"
[/frame]
[frame]
image="units/human-magi/mage-attack-staff1.png:100"
image="units/human-magi/mage-attack-staff[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/mage-attack-staff2.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/mage-attack-staff2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-magi/mage-attack-magic1.png:50"
[/frame]
@ -149,20 +120,7 @@ Physically frail, and lacking familiarity with combat, magi do possess certain a
{MAGIC_MISSILE 11 -20}
{MAGIC_MISSILE_STAFF_FLARE -750 600 11 -20}
[frame]
image="units/human-magi/mage+female-attack-magic[1,2].png:[100,350]"
[/frame]
[if]
[frame]
image="units/human-magi/mage+female-attack-magic2.png:250"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/mage+female-attack-magic2.png:250"
[/frame]
[/else]
[frame]
image="units/human-magi/mage+female-attack-magic1.png:200"
image="units/human-magi/mage+female-attack-magic[1,2,1].png:[100,700,200]"
[/frame]
[/attack_anim]
[attack_anim]
@ -173,18 +131,8 @@ Physically frail, and lacking familiarity with combat, magi do possess certain a
image="units/human-magi/mage+female.png:50"
[/frame]
[frame]
image="units/human-magi/mage+female-attack-staff1.png:100"
image="units/human-magi/mage+female-attack-staff[1~2].png:[100,200]"
[/frame]
[if]
[frame]
image="units/human-magi/mage+female-attack-staff2.png:200"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/mage+female-attack-staff2.png:200"
[/frame]
[/else]
[frame]
image="units/human-magi/mage+female-attack-magic1.png:50"
[/frame]

View file

@ -92,22 +92,9 @@ Though not trained for any sort of combat, if need arises an Arch Mage can unlea
image="units/human-magi/arch-mage.png:50"
[/frame]
[frame]
image="units/human-magi/arch-mage-attack-staff-1.png:100"
image="units/human-magi/arch-mage-attack-staff-[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/arch-mage-attack-staff-2.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/arch-mage-attack-staff-2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-magi/arch-mage-attack-magic-1.png:75"
[/frame]
@ -160,18 +147,8 @@ Though not trained for any sort of combat, if need arises an Arch Mage can unlea
image="units/human-magi/arch-mage+female.png:50"
[/frame]
[frame]
image="units/human-magi/arch-mage+female-attack-staff-1.png:100"
image="units/human-magi/arch-mage+female-attack-staff-[1~2].png:[100,200]"
[/frame]
[if]
[frame]
image="units/human-magi/arch-mage+female-attack-staff-2.png:200"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/arch-mage+female-attack-staff-2.png:200"
[/frame]
[/else]
[frame]
image="units/human-magi/arch-mage+female-attack-magic-1.png:75"
[/frame]

View file

@ -52,22 +52,9 @@
image="units/human-magi/elder-mage-ranged1.png:25"
[/frame]
[frame]
image="units/human-magi/elder-mage-melee1.png:100"
image="units/human-magi/elder-mage-melee[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/elder-mage-melee2.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/elder-mage-melee2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-magi/elder-mage-ranged1.png:50"
[/frame]
@ -85,22 +72,9 @@
{LIGHTNING_BOLT {DIRECTION_NUMBER} }
start_time=-300
[if]
hits=yes
[frame]
image="units/human-magi/elder-mage-ranged1.png:100"
sound=lightning.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/elder-mage-ranged1.png:100"
sound=lightning-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS lightning.ogg lightning-miss.ogg -300}
[frame]
image="units/human-magi/elder-mage-ranged[2,3~1].png:[100,200,100,50]"
image="units/human-magi/elder-mage-ranged[1~3,2,1].png:[100*2,200,100,50]"
[/frame]
[/attack_anim]
#enddef

View file

@ -86,22 +86,9 @@ Though they are not warriors, by any means, the application of their art to comb
image="units/human-magi/great-mage.png:50"
[/frame]
[frame]
image="units/human-magi/great-mage-attack-staff-1.png:100"
image="units/human-magi/great-mage-attack-staff-[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/great-mage-attack-staff-2.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/great-mage-attack-staff-2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-magi/great-mage-attack-magic-1.png:75"
[/frame]
@ -154,18 +141,8 @@ Though they are not warriors, by any means, the application of their art to comb
image="units/human-magi/great-mage+female.png:50"
[/frame]
[frame]
image="units/human-magi/great-mage+female-attack-staff-1.png:100"
image="units/human-magi/great-mage+female-attack-staff-[1~2].png:[100,200]"
[/frame]
[if]
[frame]
image="units/human-magi/great-mage+female-attack-staff-2.png:200"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/great-mage+female-attack-staff-2.png:200"
[/frame]
[/else]
[frame]
image="units/human-magi/great-mage+female-attack-magic-1.png:75"
[/frame]

View file

@ -87,22 +87,9 @@ Though physically frail, and untrained as warriors, the Red Magi have a nu
image="units/human-magi/red-mage.png:50"
[/frame]
[frame]
image="units/human-magi/red-mage-attack-staff-1.png:100"
image="units/human-magi/red-mage-attack-staff-[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/red-mage-attack-staff-2.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/red-mage-attack-staff-2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-magi/red-mage-attack-magic-1.png:75"
[/frame]
@ -155,18 +142,8 @@ Though physically frail, and untrained as warriors, the Red Magi have a nu
image="units/human-magi/red-mage+female.png:50"
[/frame]
[frame]
image="units/human-magi/red-mage+female-attack-staff-1.png:100"
image="units/human-magi/red-mage+female-attack-staff-[1~2].png:[100,200]"
[/frame]
[if]
[frame]
image="units/human-magi/red-mage+female-attack-staff-2.png:200"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/red-mage+female-attack-staff-2.png:200"
[/frame]
[/else]
[frame]
image="units/human-magi/red-mage+female-attack-magic-1.png:75"
[/frame]

View file

@ -76,25 +76,9 @@ Silver magi are often more physically adept than other magi, and their skills ar
start_time=-800
[frame]
image="units/human-magi/silver-mage-attack-magic[1,2].png:[100,350]"
[/frame]
[if]
hits=no
[frame]
image="units/human-magi/silver-mage-attack-magic2.png:250"
sound=magic-missile-[1~3]-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/human-magi/silver-mage-attack-magic2.png:250"
sound=magic-missile-[1~3].ogg
[/frame]
[/else]
[frame]
image="units/human-magi/silver-mage-attack-magic1.png:200"
image="units/human-magi/silver-mage-attack-magic[1,2,1].png:[100,700,200]"
[/frame]
{SOUND:HIT_AND_MISS magic-missile-[1~3].ogg magic-missile-[1~3]-miss.ogg -350}
[/attack_anim]
[attack_anim]
[filter_attack]
@ -105,22 +89,9 @@ Silver magi are often more physically adept than other magi, and their skills ar
image="units/human-magi/silver-mage.png:50"
[/frame]
[frame]
image="units/human-magi/silver-mage-attack-staff1.png:100"
image="units/human-magi/silver-mage-attack-staff[1~2].png:[100,200]"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/silver-mage-attack-staff2.png:200"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/silver-mage-attack-staff2.png:200"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
image="units/human-magi/silver-mage-attack-magic1.png:75"
[/frame]
@ -226,20 +197,7 @@ Silver magi are often more physically adept than other magi, and their skills ar
{MAGIC_MISSILE 14 -23}
{MAGIC_MISSILE_STAFF_FLARE -750 600 14 -23}
[frame]
image="units/human-magi/silver-mage+female-attack-magic[1,2].png:[100,350]"
[/frame]
[if]
[frame]
image="units/human-magi/silver-mage+female-attack-magic2.png:250"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/silver-mage+female-attack-magic2.png:250"
[/frame]
[/else]
[frame]
image="units/human-magi/silver-mage+female-attack-magic1.png:200"
image="units/human-magi/silver-mage+female-attack-magic[1,2,1].png:[100,700,200]"
[/frame]
[/attack_anim]
[attack_anim]
@ -250,18 +208,8 @@ Silver magi are often more physically adept than other magi, and their skills ar
image="units/human-magi/silver-mage+female.png:50"
[/frame]
[frame]
image="units/human-magi/silver-mage+female-attack-staff1.png:100"
image="units/human-magi/silver-mage+female-attack-staff[1~2].png:[100,200]"
[/frame]
[if]
[frame]
image="units/human-magi/silver-mage+female-attack-staff2.png:200"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/silver-mage+female-attack-staff2.png:200"
[/frame]
[/else]
[frame]
image="units/human-magi/silver-mage+female-attack-magic1.png:75"
[/frame]

View file

@ -82,30 +82,11 @@ Though not trained for combat, they are a potent ally against magical or unnatur
[frame]
image="units/human-magi/white-mage-magic-[1,2].png:75"
[/frame]
[frame]
image="units/human-magi/white-mage-magic-3.png:75"
halo=halo/holy/halo6.png
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/white-mage-magic-3.png:75"
sound={SOUND_LIST:HOLY}
halo=halo/holy/halo1.png
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/white-mage-magic-3.png:75"
sound={SOUND_LIST:HOLY_MISS}
halo=halo/holy/halo1.png
[/frame]
[/else]
[frame]
image="units/human-magi/white-mage-magic-3.png"
halo=halo/holy/halo[3,5,6].png:[75*2,50]
halo=halo/holy/halo[6,1,3,5,6].png:[75*4,50]
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:HOLY} {SOUND_LIST:HOLY_MISS} -75}
[frame]
image="units/human-magi/white-mage-magic-[2,1].png:50"
[/frame]
@ -119,25 +100,9 @@ Though not trained for combat, they are a potent ally against magical or unnatur
image="units/human-magi/white-mage.png:25"
[/frame]
[frame]
image="units/human-magi/white-mage-melee-[1,2].png:100"
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/white-mage-melee-3.png:150"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/white-mage-melee-3.png:150"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/human-magi/white-mage-melee-[4~6].png:100"
image="units/human-magi/white-mage-melee-[1~6].png:[100*2,150,100*3]"
[/frame]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[/attack_anim]
[female]
name= _ "female^White Mage"
@ -180,19 +145,6 @@ Though not trained for combat, they are a potent ally against magical or unnatur
[frame]
image="units/human-magi/white-mage+female-magic-[1,2].png:75"
[/frame]
[frame]
image="units/human-magi/white-mage+female-magic-3.png:75"
[/frame]
[if]
[frame]
image="units/human-magi/white-mage+female-magic-3.png:75"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/white-mage+female-magic-3.png:75"
[/frame]
[/else]
[frame]
image="units/human-magi/white-mage+female-magic-3.png"
[/frame]
@ -208,20 +160,7 @@ Though not trained for combat, they are a potent ally against magical or unnatur
image="units/human-magi/white-mage+female.png:25"
[/frame]
[frame]
image="units/human-magi/white-mage+female-melee-[1,2].png:100"
[/frame]
[if]
[frame]
image="units/human-magi/white-mage+female-melee-3.png:150"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/white-mage+female-melee-3.png:150"
[/frame]
[/else]
[frame]
image="units/human-magi/white-mage+female-melee-[4~6].png:100"
image="units/human-magi/white-mage+female-melee-[1~6].png:[100*2,150,100*3]"
[/frame]
[/attack_anim]
[/female]

View file

@ -85,30 +85,11 @@ Following a strict code of piety and honor, these men and women work tirelessly
[frame]
image="units/human-magi/white-cleric-magic-[1,2].png:75"
[/frame]
[frame]
image="units/human-magi/white-cleric-magic-3.png:75"
halo=halo/holy/halo6.png
[/frame]
[if]
hits=yes
[frame]
image="units/human-magi/white-cleric-magic-3.png:75"
sound={SOUND_LIST:HOLY}
halo=halo/holy/halo1.png
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/white-cleric-magic-3.png:75"
sound={SOUND_LIST:HOLY_MISS}
halo=halo/holy/halo1.png
[/frame]
[/else]
[frame]
image="units/human-magi/white-cleric-magic-3.png"
halo=halo/holy/halo[3,5,6].png:[75*2,50]
halo=halo/holy/halo[6,1,3,5,6].png:[75*4,50]
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:HOLY} {SOUND_LIST:HOLY_MISS} -75}
[frame]
image="units/human-magi/white-cleric-magic-[2,1].png:50"
[/frame]
@ -119,20 +100,10 @@ Following a strict code of piety and honor, these men and women work tirelessly
[/filter_attack]
start_time=-200
[if]
hits=yes
[frame]
image="units/human-magi/white-cleric-magic-3.png:25"
sound=flail.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/white-cleric-magic-3.png:25"
sound=flail-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS flail.ogg flail-miss.ogg -200}
[frame]
image="units/human-magi/white-cleric-magic-3.png:25"
[/frame]
[frame]
image="units/human-magi/white-cleric-mace-[1~4].png:[75*3,100]"
[/frame]
@ -175,19 +146,6 @@ Following a strict code of piety and honor, these men and women work tirelessly
[frame]
image="units/human-magi/white-cleric+female-magic-[1,2].png:75"
[/frame]
[frame]
image="units/human-magi/white-cleric+female-magic-3.png:75"
[/frame]
[if]
[frame]
image="units/human-magi/white-cleric+female-magic-3.png:75"
[/frame]
[/if]
[else]
[frame]
image="units/human-magi/white-cleric+female-magic-3.png:75"
[/frame]
[/else]
[frame]
image="units/human-magi/white-cleric+female-magic-3.png"
[/frame]
@ -199,18 +157,9 @@ Following a strict code of piety and honor, these men and women work tirelessly
[filter_attack]
name=morning star
[/filter_attack]
[if]
hits=yes
[frame]
image="units/human-magi/white-cleric+female-magic-3.png:25"
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/human-magi/white-cleric+female-magic-3.png:25"
[/frame]
[/else]
[frame]
image="units/human-magi/white-cleric+female-magic-3.png:25"
[/frame]
[frame]
image="units/human-magi/white-cleric+female-mace-[1~4].png:[75*3,100]"
[/frame]

Some files were not shown because too many files have changed in this diff Show more