AnimationWML update for UtBS

conversion to the new animation syntax, thereby deleting all instances
of the deprecated begin= parameter
This commit is contained in:
aquileia 2014-02-21 17:01:14 +01:00 committed by Ignacio R. Morelle
parent 7954281a59
commit 15f225cb1c
39 changed files with 512 additions and 3099 deletions

View file

@ -23,10 +23,12 @@ Version 1.11.9+dev:
31,11 at the end of The Bay of Pearls, causing it to disappear
forever.
* S15 (The Lost General): fix bug of sighted events firing too early
* Liberty:
* Liberty:
* Updated sprites for Shadow Mage line.
* Son of the Black Eye:
* Rebalancing of the campaign is now complete
* Under the Burning Suns:
* Updated animation WML of all campaign specific units
* Editor:
* Fixed: Drawing the offmap area for small resolutions.
* GUI2:

View file

@ -42,52 +42,28 @@
[filter_attack]
name=magic
[/filter_attack]
missile_start_time=-200
[missile_frame]
begin=-200
end=0
duration=200
image=projectiles/darkmissile-n.png
image_diagonal=projectiles/darkmissile-ne.png
[/missile_frame]
[if]
hits=yes
[frame]
sound=magic-dark.ogg
image=units/elves-desert/corrupted-elf.png
begin=-200
end=0
[/frame]
[/if]
[else]
hits=no
[frame]
sound=magic-dark-miss.ogg
image=units/elves-desert/corrupted-elf.png
begin=-200
end=0
[/frame]
[/else]
start_time=-200
[frame]
image=units/elves-desert/corrupted-elf.png:200
[/frame]
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -200}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
[if]
hits=yes
[frame]
begin=-100
end=100
image=units/elves-desert/corrupted-elf-attack.png
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image=units/elves-desert/corrupted-elf-attack.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=-200
[frame]
image=units/elves-desert/corrupted-elf.png:200
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -44,172 +44,41 @@
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/archer-bow.png"
image="units/elves-desert/archer-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/archer-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/archer-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
begin=-305
end=-230
image="units/elves-desert/archer-bow-attack2.png"
image="units/elves-desert/archer-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/archer-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/archer-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/archer-bow.png"
image="units/elves-desert/archer-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/archer-sword.png"
image="units/elves-desert/archer-sword.png:25"
[/frame]
[frame]
begin=-175
end=-75
image="units/elves-desert/archer-sword-1.png"
image="units/elves-desert/archer-sword-[1~4].png:[100,150,50*2]"
[/frame]
[if]
hits=no
[frame]
begin=-75
end=75
image="units/elves-desert/archer-sword-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=75
image="units/elves-desert/archer-sword-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
begin=75
end=125
image="units/elves-desert/archer-sword-3.png"
[/frame]
[frame]
begin=125
end=175
image="units/elves-desert/archer-sword-4.png"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/archer-sword.png"
image="units/elves-desert/archer-sword.png:25"
[/frame]
[/attack_anim]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
duration=100
image="units/elves-desert/archer-idle-1.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-2.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-3.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-4.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-5.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-6.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-3.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-4.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-5.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-6.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-3.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-4.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-5.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-6.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-2.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/archer-idle-1.png"
[/frame]
[/idle_anim]
[female]
name= _ "female^Desert Archer"
gender=female
@ -222,29 +91,13 @@
name=bow
[/filter_attack]
[frame]
image="units/elves-desert/archer+female-bow.png"
[/frame]
[if]
[frame]
image="units/elves-desert/archer+female-bow-attack1.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/archer+female-bow-attack1.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/archer+female-bow-attack2.png"
image="units/elves-desert/archer+female-bow.png:65"
[/frame]
[frame]
image="units/elves-desert/archer+female-bow-attack3.png"
image="units/elves-desert/archer+female-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-desert/archer+female-bow-attack4.png"
[/frame]
[frame]
image="units/elves-desert/archer+female-bow.png"
image="units/elves-desert/archer+female-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
@ -252,34 +105,23 @@
name=sword
[/filter_attack]
[frame]
image="units/elves-desert/archer+female-sword.png"
image="units/elves-desert/archer+female-sword.png:25"
[/frame]
[frame]
image="units/elves-desert/archer+female-sword-1.png"
[/frame]
[if]
hits=no
[frame]
image="units/elves-desert/archer+female-sword-2.png"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-desert/archer+female-sword-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/archer+female-sword-3.png"
image="units/elves-desert/archer+female-sword-[1~4].png:[100,150,50*2]"
[/frame]
[frame]
image="units/elves-desert/archer+female-sword-4.png"
[/frame]
[frame]
image="units/elves-desert/archer+female-sword.png"
image="units/elves-desert/archer+female-sword.png:25"
[/frame]
[/attack_anim]
[/female]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
image="units/elves-desert/archer-idle-[1~6,3~6,3~6,2,1].png:100"
[/frame]
[/idle_anim]
[/unit_type]
#define DESERT_ARCHER_VARIANT SUFFIX_NUMBER COST

View file

@ -57,99 +57,41 @@
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/avenger-bow.png"
image="units/elves-desert/avenger-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/avenger-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/avenger-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
begin=-305
end=-230
image="units/elves-desert/avenger-bow-attack2.png"
image="units/elves-desert/avenger-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/avenger-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/avenger-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/avenger-bow.png"
image="units/elves-desert/avenger-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/avenger-sword.png"
image="units/elves-desert/avenger-sword.png:25"
[/frame]
[frame]
begin=-175
end=-75
image="units/elves-desert/avenger-sword-1.png"
image="units/elves-desert/avenger-sword-[1~3].png:[100,150,100]"
[/frame]
[if]
hits=no
[frame]
begin=-75
end=75
image="units/elves-desert/avenger-sword-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=75
image="units/elves-desert/avenger-sword-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
begin=75
end=175
image="units/elves-desert/avenger-sword-3.png"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/avenger-sword.png"
image="units/elves-desert/avenger-sword.png:25"
[/frame]
[/attack_anim]
[female]
name= _ "female^Desert Avenger"
image="units/elves-desert/avenger+female.png"
@ -161,29 +103,13 @@
name=bow
[/filter_attack]
[frame]
image="units/elves-desert/avenger+female-bow.png"
[/frame]
[if]
[frame]
image="units/elves-desert/avenger+female-bow-attack1.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/avenger+female-bow-attack1.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/avenger+female-bow-attack2.png"
image="units/elves-desert/avenger+female-bow.png:65"
[/frame]
[frame]
image="units/elves-desert/avenger+female-bow-attack3.png"
image="units/elves-desert/avenger+female-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-desert/avenger+female-bow-attack4.png"
[/frame]
[frame]
image="units/elves-desert/avenger+female-bow.png"
image="units/elves-desert/avenger+female-bow.png:75"
[/frame]
[/attack_anim]
[attack_anim]
@ -191,28 +117,13 @@
name=sword
[/filter_attack]
[frame]
image="units/elves-desert/avenger+female-sword.png"
image="units/elves-desert/avenger+female-sword.png:25"
[/frame]
[frame]
image="units/elves-desert/avenger+female-sword-1.png"
[/frame]
[if]
hits=no
[frame]
image="units/elves-desert/avenger+female-sword-2.png"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-desert/avenger+female-sword-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/avenger+female-sword-3.png"
image="units/elves-desert/avenger+female-sword-[1~3].png:[100,150,100]"
[/frame]
[frame]
image="units/elves-desert/avenger+female-sword.png"
image="units/elves-desert/avenger+female-sword.png:25"
[/frame]
[/attack_anim]
[/female]

View file

@ -6,10 +6,9 @@
image=units/elves-desert/captain.png
{MAGENTA_IS_THE_TEAM_COLOR}
[leading_anim]
start_time=-150
[frame]
begin=-150
end=150
image="units/elves-desert/captain-leading.png"
image="units/elves-desert/captain-leading.png:300"
[/frame]
[/leading_anim]
hitpoints=47
@ -52,129 +51,38 @@
[filter_attack]
name=bow
[/filter_attack]
hits=yes
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/captain-bow.png"
image="units/elves-desert/captain-bow.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-desert/captain-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-380
end=-305
image="units/elves-desert/captain-bow-attack1.png"
sound=bow.ogg
[/frame]
[frame]
begin=-305
end=-230
image="units/elves-desert/captain-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/captain-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/captain-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/captain-bow.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
hits=no
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-445
end=-380
image="units/elves-desert/captain-bow.png"
[/frame]
[frame]
begin=-380
end=-305
image="units/elves-desert/captain-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[frame]
begin=-305
end=-230
image="units/elves-desert/captain-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/captain-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/captain-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/captain-bow.png"
image="units/elves-desert/captain-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/captain.png"
image="units/elves-desert/captain.png:25"
[/frame]
[frame]
begin=-175
end=-100
image="units/elves-desert/captain-melee-2.png"
image="units/elves-desert/captain-melee-[2,1,2].png:[75,200,75]"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/captain-melee-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/captain-melee-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
begin=100
end=175
image="units/elves-desert/captain-melee-2.png"
[/frame]
[frame]
begin=175
end=225
image="units/elves-desert/captain.png"
image="units/elves-desert/captain.png:50"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -43,139 +43,35 @@
[filter_attack]
name=bow
[/filter_attack]
hits=yes
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/champion-bow.png"
image="units/elves-desert/champion-bow.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-desert/champion-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-380
end=-305
image="units/elves-desert/champion-bow-attack1.png"
sound=bow.ogg
[/frame]
[frame]
begin=-305
end=-230
image="units/elves-desert/champion-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/champion-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/champion-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/champion-bow.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
hits=no
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-445
end=-380
image="units/elves-desert/champion-bow.png"
[/frame]
[frame]
begin=-380
end=-305
image="units/elves-desert/champion-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[frame]
begin=-305
end=-230
image="units/elves-desert/champion-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/champion-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/champion-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/champion-bow.png"
image="units/elves-desert/champion-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/champion.png"
image="units/elves-desert/champion.png:25"
[/frame]
[frame]
begin=-175
end=-125
image="units/elves-desert/champion-attack-1.png"
[/frame]
[frame]
begin=-125
end=-75
image="units/elves-desert/champion-attack-2.png"
[/frame]
[if]
hits=yes
[frame]
begin=-75
end=75
image="units/elves-desert/champion-attack-3.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-75
end=75
image="units/elves-desert/champion-attack-3.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=75
end=125
image="units/elves-desert/champion-attack-4.png"
[/frame]
[frame]
begin=125
end=175
image="units/elves-desert/champion-attack-5.png"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/champion-attack-6.png"
image="units/elves-desert/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

@ -56,242 +56,69 @@
range=ranged
[/attack]
{DEFENSE_ANIM "units/elves-desert/druid-defend-2.png" "units/elves-desert/druid-defend-1.png" {SOUND_LIST:ELF_FEMALE_HIT} }
[healing_anim]
[healing_anim]
start_time=-300
[frame]
begin=-300
end=-225
image="units/elves-desert/druid-magic-1.png"
halo="halo/elven/druid-healing1.png"
[/frame]
[frame]
begin=-225
end=-150
image="units/elves-desert/druid-magic-2.png"
halo="halo/elven/druid-healing2.png"
[/frame]
[frame]
begin=-150
end=-75
image="units/elves-desert/druid-magic-3.png"
halo="halo/elven/druid-healing3.png"
[/frame]
[frame]
begin=-75
end=0
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/druid-healing4.png"
[/frame]
[frame]
begin=0
end=75
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/druid-healing5.png"
[/frame]
[frame]
begin=75
end=150
image="units/elves-desert/druid-magic-3.png"
halo="halo/elven/druid-healing6.png"
[/frame]
[frame]
begin=150
end=225
image="units/elves-desert/druid-magic-2.png"
halo="halo/elven/druid-healing7.png"
[/frame]
[frame]
begin=225
end=300
image="units/elves-desert/druid-magic-1.png"
halo="halo/elven/druid-healing8.png"
image="units/elves-desert/druid-magic-[1~4,4~1].png:75"
halo="halo/elven/druid-healing[1~8].png"
[/frame]
[/healing_anim]
[attack_anim]
[filter_attack]
name=thorns
[/filter_attack]
missile_start_time=-200
[missile_frame]
begin=-200
end=0
duration=200
image="projectiles/thorns.png"
image_diagonal="projectiles/thorns-ne.png"
[/missile_frame]
start_time=-300
[frame]
begin=-300
end=-225
image="units/elves-desert/druid-magic-1.png"
halo="halo/elven/nature-halo1.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-225
end=-150
image="units/elves-desert/druid-magic-2.png"
halo="halo/elven/nature-halo2.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-150
end=-75
image="units/elves-desert/druid-magic-3.png"
halo="halo/elven/nature-halo3.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-75
end=0
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/nature-halo4.png"
halo_x,halo_y=0,-12
[/frame]
[if]
hits=yes
[frame]
begin=0
end=75
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/nature-halo5.png"
sound=magic-thorns-[1,2].ogg
halo_x,halo_y=0,-12
[/frame]
[/if]
[else]
hits=no
[frame]
begin=0
end=75
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/nature-halo5.png"
sound=magic-thorns-miss-[1,2].ogg
halo_x,halo_y=0,-12
[/frame]
[/else]
[frame]
begin=75
end=150
image="units/elves-desert/druid-magic-3.png"
halo="halo/elven/nature-halo6.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=150
end=225
image="units/elves-desert/druid-magic-2.png"
halo="halo/elven/nature-halo7.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=225
end=300
image="units/elves-desert/druid-magic-1.png"
halo="halo/elven/nature-halo8.png"
image="units/elves-desert/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]
name=ensnare
[/filter_attack]
missile_start_time=-200
[missile_frame]
offset=1.0
begin=-200
end=0
duration=200
image="projectiles/entangle.png"
image_diagonal="projectiles/entangle.png"
[/missile_frame]
start_time=-300
[frame]
begin=-300
end=-225
image="units/elves-desert/druid-magic-1.png"
halo="halo/elven/nature-halo1.png"
image="units/elves-desert/druid-magic-[1~4,4~1].png:75"
halo="halo/elven/nature-halo[1~8].png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-225
end=-150
image="units/elves-desert/druid-magic-2.png"
halo="halo/elven/nature-halo2.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-150
end=-75
image="units/elves-desert/druid-magic-3.png"
halo="halo/elven/nature-halo3.png"
halo_x,halo_y=0,-12
[/frame]
{SOUND:SLOW}
[frame]
begin=-75
end=0
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/nature-halo4.png"
halo_x,halo_y=0,-12
attack_sound_start_time=-75
[attack_sound_frame]
sound=entangle.wav
[/frame]
[frame]
begin=0
end=75
image="units/elves-desert/druid-magic-4.png"
halo="halo/elven/nature-halo5.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=75
end=150
image="units/elves-desert/druid-magic-3.png"
halo="halo/elven/nature-halo6.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=150
end=225
image="units/elves-desert/druid-magic-2.png"
halo="halo/elven/nature-halo7.png"
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=225
end=300
image="units/elves-desert/druid-magic-1.png"
halo="halo/elven/nature-halo8.png"
halo_x,halo_y=0,-12
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=staff
[/filter_attack]
start_time=-175
[frame]
begin=-175
end=-100
image="units/elves-desert/druid.png"
image="units/elves-desert/druid.png:75"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/druid-attack.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/druid-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
begin=100
end=175
image="units/elves-desert/druid.png"
image="units/elves-desert/druid-attack.png:200"
[/frame]
[frame]
image="units/elves-desert/druid.png:75"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -41,156 +41,45 @@
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
duration=100
image="units/elves-desert/fighter-idle-1.png"
[/frame]
[frame]
duration=100
image="units/elves-desert/fighter-idle-2.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/fighter-idle-3.png"
[/frame]
[frame]
duration=150
image="units/elves-desert/fighter-idle-4.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/fighter-idle-5.png"
[/frame]
[frame]
duration=200
image="units/elves-desert/fighter-idle-6.png"
[/frame]
[frame]
duration=200
image="units/elves-desert/fighter-idle-5.png"
[/frame]
[frame]
duration=400
image="units/elves-desert/fighter-idle-6.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/fighter-idle-7.png"
[/frame]
[frame]
duration=200
image="units/elves-desert/fighter-idle-8.png"
[/frame]
[frame]
duration=250
image="units/elves-desert/fighter-idle-9.png"
[/frame]
[frame]
duration=400
image="units/elves-desert/fighter-idle-10.png"
[/frame]
[frame]
duration=150
image="units/elves-desert/fighter-idle-9.png"
[/frame]
[frame]
duration=150
image="units/elves-desert/fighter-idle-11.png"
[/frame]
[frame]
duration=150
image="units/elves-desert/fighter-idle-12.png"
image="units/elves-desert/fighter-idle-[1~6,5~10,9,11,12].png:[100*2,125,150,175,200*2,400,175,200,250,400,150*3]"
[/frame]
[/idle_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/fighter-bow.png"
image="units/elves-desert/fighter-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/fighter-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/fighter-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
begin=-305
end=-230
image="units/elves-desert/fighter-bow-attack2.png"
image="units/elves-desert/fighter-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/fighter-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/fighter-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/fighter-bow.png"
image="units/elves-desert/fighter-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-175
[frame]
begin=-175
end=-100
image="units/elves-desert/fighter.png"
image="units/elves-desert/fighter.png:75"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/fighter-melee-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/fighter-melee-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
begin=100
end=150
image="units/elves-desert/fighter-melee-2.png"
image="units/elves-desert/fighter-melee-[1~2].png:[200,50]"
[/frame]
[frame]
begin=150
end=175
image="units/elves-desert/fighter.png"
image="units/elves-desert/fighter.png:25"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -42,107 +42,41 @@
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/hero-bow.png"
image="units/elves-desert/hero-bow.png:65"
[/frame]
[if]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/hero-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/hero-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
begin=-305
end=-230
image="units/elves-desert/hero-bow-attack2.png"
image="units/elves-desert/hero-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/hero-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/hero-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/hero-bow.png"
image="units/elves-desert/hero-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/hero.png"
image="units/elves-desert/hero.png:25"
[/frame]
[frame]
begin=-175
end=-110
image="units/elves-desert/hero-melee-1.png"
image="units/elves-desert/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-desert/hero-defend.png:60"
[/frame]
[frame]
begin=-110
end=-75
image="units/elves-desert/hero-melee-2.png"
[/frame]
[if]
hits=yes
[frame]
begin=-75
end=75
image="units/elves-desert/hero-melee-3.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-75
end=75
image="units/elves-desert/hero-melee-3.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=75
end=120
image="units/elves-desert/hero-melee-4.png"
[/frame]
[frame]
begin=120
end=180
image="units/elves-desert/hero-defend.png"
[/frame]
[frame]
begin=180
end=200
image="units/elves-desert/hero.png"
image="units/elves-desert/hero.png:20"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -55,92 +55,40 @@
{DEFENSE_ANIM "units/elves-desert/horseman-defend.png" "units/elves-desert/horseman.png" {SOUND_LIST:HORSE_HIT} }
[movement_anim]
[frame]
begin=0
end=150
image="units/elves-desert/horseman-moving.png"
image="units/elves-desert/horseman-moving.png:150"
[/frame]
[/movement_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[if]
hits=yes
[frame]
begin=-500
end=-400
image="units/elves-desert/horseman-ranged-1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-500
end=-400
image="units/elves-desert/horseman-ranged-1.png"
sound=bow-miss.ogg
[/frame]
[/else]
start_time=-500
[frame]
begin=-400
end=-150
image="units/elves-desert/horseman-ranged-2.png"
[/frame]
[frame]
begin=-150
end=100
image="units/elves-desert/horseman-moving.png"
image="units/elves-desert/horseman-[ranged-1,ranged-2,moving].png:[100,250,250]"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -500}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/horseman.png"
image="units/elves-desert/horseman.png:25"
sound=horse-elf-canter.wav
[/frame]
[frame]
begin=-175
end=-100
image="units/elves-desert/horseman-moving.png"
[/frame]
[if]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/horseman-melee.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/horseman-melee.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=100
end=175
image="units/elves-desert/horseman-moving.png"
image="units/elves-desert/horseman-[moving,melee,moving].png:[75,200,75]"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/horseman.png"
image="units/elves-desert/horseman.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -44,99 +44,34 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
start_time=-500
[frame]
begin=-500
end=-375
image="units/elves-desert/hunter-ranged-1.png"
[/frame]
[if]
hits=yes
[frame]
begin=-375
end=-250
image="units/elves-desert/hunter-ranged-2.png"
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-375
end=-250
image="units/elves-desert/hunter-ranged-2.png"
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
begin=-250
end=-125
image="units/elves-desert/hunter-ranged-3.png"
[/frame]
[frame]
begin=-125
end=-100
image="units/elves-desert/hunter-ranged-4.png"
[/frame]
[frame]
begin=-100
end=0
image="units/elves-desert/hunter-ranged-4.png"
image="units/elves-desert/hunter-ranged-[1~4].png:[125*4]"
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -375}
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/hunter.png"
image="units/elves-desert/hunter.png:25"
[/frame]
[frame]
begin=-175
end=-75
image="units/elves-desert/hunter-sword-1.png"
[/frame]
[if]
hits=no
[frame]
begin=-75
end=75
image="units/elves-desert/hunter-sword-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=75
image="units/elves-desert/hunter-sword-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=75
end=125
image="units/elves-desert/hunter-sword-3.png"
image="units/elves-desert/hunter-sword-[1~4].png:[100,150,50*2]"
[/frame]
[frame]
begin=125
end=175
image="units/elves-desert/hunter-sword-4.png"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/hunter.png"
image="units/elves-desert/hunter.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[female]
name= _ "female^Desert Hunter"
@ -149,63 +84,30 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
start_time=-500
[frame]
image="units/elves-desert/hunter+female-ranged-1.png"
[/frame]
[if]
[frame]
image="units/elves-desert/hunter+female-ranged-2.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/hunter+female-ranged-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/hunter+female-ranged-3.png"
[/frame]
[frame]
image="units/elves-desert/hunter+female-ranged-4.png"
[/frame]
[frame]
image="units/elves-desert/hunter+female-ranged-4.png"
image="units/elves-desert/hunter+female-ranged-[1~4].png:[125*4]"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/elves-desert/hunter+female.png"
image="units/elves-desert/hunter+female.png:25"
[/frame]
[frame]
image="units/elves-desert/hunter+female-sword-1.png"
[/frame]
[if]
[frame]
image="units/elves-desert/hunter+female-sword-2.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/hunter+female-sword-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/hunter+female-sword-3.png"
image="units/elves-desert/hunter+female-sword-[1~4].png:[100,150,50*2]"
[/frame]
[frame]
image="units/elves-desert/hunter+female-sword-4.png"
[/frame]
[frame]
image="units/elves-desert/hunter+female.png"
image="units/elves-desert/hunter+female.png:25"
[/frame]
[/attack_anim]
[/female]

View file

@ -40,30 +40,9 @@
icon=attacks/bow-elven-magic.png
[/attack]
[death]
start_time=0
[frame]
begin=0
end=160
image="units/elves-desert/marksman-die-1.png"
[/frame]
[frame]
begin=160
end=400
image="units/elves-desert/marksman-die-2.png"
[/frame]
[frame]
begin=400
end=580
image="units/elves-desert/marksman-die-3.png"
[/frame]
[frame]
begin=580
end=780
image="units/elves-desert/marksman-die-4.png"
[/frame]
[frame]
begin=780
end=1000
image="units/elves-desert/marksman-die-5.png"
image="units/elves-desert/marksman-die-[1~5].png:[160,220,180,200,220]"
[/frame]
[/death]
{DEFENSE_ANIM_RANGE "units/elves-desert/marksman-sword-defend.png" "units/elves-desert/marksman-sword.png" {SOUND_LIST:ELF_HIT} melee }
@ -72,97 +51,38 @@
[filter_attack]
name=longbow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-475
[frame]
begin=-475
end=-400
image="units/elves-desert/marksman-bow.png"
image="units/elves-desert/marksman-bow.png:75"
[/frame]
[if]
hits=yes
[frame]
begin=-400
end=-325
image="units/elves-desert/marksman-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-400
end=-325
image="units/elves-desert/marksman-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -400}
[frame]
begin=-325
end=-250
image="units/elves-desert/marksman-bow-attack2.png"
image="units/elves-desert/marksman-bow-attack[1~4].png:[75*2,100,150]"
[/frame]
[frame]
begin=-250
end=-150
image="units/elves-desert/marksman-bow-attack3.png"
[/frame]
[frame]
begin=-150
end=0
image="units/elves-desert/marksman-bow-attack4.png"
[/frame]
[frame]
begin=0
end=75
image="units/elves-desert/marksman-bow.png"
image="units/elves-desert/marksman-bow.png:75"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/marksman-sword.png"
image="units/elves-desert/marksman-sword.png:25"
[/frame]
[frame]
begin=-175
end=-75
image="units/elves-desert/marksman-sword-1.png"
image="units/elves-desert/marksman-sword-[1~3].png:[100,175,75]"
[/frame]
[if]
hits=no
[frame]
begin=-75
end=100
image="units/elves-desert/marksman-sword-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=100
image="units/elves-desert/marksman-sword-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
begin=100
end=175
image="units/elves-desert/marksman-sword-3.png"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/marksman-sword.png"
image="units/elves-desert/marksman-sword.png:25"
[/frame]
[/attack_anim]
[female]
@ -174,19 +94,10 @@
{DEFENSE_ANIM_RANGE "units/elves-desert/marksman+female-bow-defend.png" "units/elves-desert/marksman+female-bow.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged}
[death]
[frame]
image="units/elves-desert/marksman+female-die-1.png"
image="units/elves-desert/marksman+female-die-[1~3].png:[160,220,180]"
[/frame]
[frame]
image="units/elves-desert/marksman+female-die-2.png"
[/frame]
[frame]
image="units/elves-desert/marksman+female-die-3.png"
[/frame]
[frame]
image="units/elves-desert/marksman-die-4.png"
[/frame]
[frame]
image="units/elves-desert/marksman-die-5.png"
image="units/elves-desert/marksman-die-[4,5].png:[200,220]"
[/frame]
[/death]
[attack_anim]
@ -194,29 +105,13 @@
name=longbow
[/filter_attack]
[frame]
image="units/elves-desert/marksman+female-bow.png"
[/frame]
[if]
[frame]
image="units/elves-desert/marksman+female-bow-attack1.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/marksman+female-bow-attack1.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/marksman+female-bow-attack2.png"
image="units/elves-desert/marksman+female-bow.png:75"
[/frame]
[frame]
image="units/elves-desert/marksman+female-bow-attack3.png"
image="units/elves-desert/marksman+female-bow-attack[1~4].png:[75*2,100,150]"
[/frame]
[frame]
image="units/elves-desert/marksman+female-bow-attack4.png"
[/frame]
[frame]
image="units/elves-desert/marksman+female-bow.png"
image="units/elves-desert/marksman+female-bow.png:75"
[/frame]
[/attack_anim]
[attack_anim]
@ -224,28 +119,13 @@
name=sword
[/filter_attack]
[frame]
image="units/elves-desert/marksman+female-sword.png"
image="units/elves-desert/marksman+female-sword.png:25"
[/frame]
[frame]
image="units/elves-desert/marksman+female-sword-1.png"
[/frame]
[if]
hits=no
[frame]
image="units/elves-desert/marksman+female-sword-2.png"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-desert/marksman+female-sword-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/marksman+female-sword-3.png"
image="units/elves-desert/marksman+female-sword-[1~3].png:[100,175,75]"
[/frame]
[frame]
image="units/elves-desert/marksman+female-sword.png"
image="units/elves-desert/marksman+female-sword.png:25"
[/frame]
[/attack_anim]
[/female]

View file

@ -5,17 +5,16 @@
race=elf
image=units/elves-desert/marshal.png
{MAGENTA_IS_THE_TEAM_COLOR}
[leading_anim]
[frame]
begin=-150
end=150
image="units/elves-desert/marshal-leading.png"
[/frame]
[/leading_anim]
hitpoints=62
[abilities]
{ABILITY_LEADERSHIP_LEVEL_3}
[/abilities]
[leading_anim]
start_time=-150
[frame]
image="units/elves-desert/marshal-leading.png:300"
[/frame]
[/leading_anim]
movement_type=desert_elf
movement=5
experience=150
@ -53,124 +52,38 @@
[filter_attack]
name=bow
[/filter_attack]
hits=yes
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/marshal-bow.png"
image="units/elves-desert/marshal-bow.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-desert/marshal-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-380
end=-305
image="units/elves-desert/marshal-bow-attack1.png"
sound=bow.ogg
[/frame]
[frame]
begin=-305
end=-230
image="units/elves-desert/marshal-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/marshal-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/marshal-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/marshal-bow.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
hits=no
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-445
end=-380
image="units/elves-desert/marshal-bow.png"
[/frame]
[frame]
begin=-380
end=-305
image="units/elves-desert/marshal-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[frame]
begin=-305
end=-230
image="units/elves-desert/marshal-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/marshal-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/marshal-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/marshal-bow.png"
image="units/elves-desert/marshal-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-175
[frame]
begin=-175
end=-100
image="units/elves-desert/marshal-melee-2.png"
image="units/elves-desert/marshal-melee-2.png:75"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=75
image="units/elves-desert/marshal-melee-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=75
image="units/elves-desert/marshal-melee-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[frame]
begin=75
end=150
image="units/elves-desert/marshal-melee-2.png"
image="units/elves-desert/marshal-melee-[1~2].png:[175,75]"
[/frame]
[frame]
begin=150
end=200
image="units/elves-desert/marshal.png"
image="units/elves-desert/marshal.png:50"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -52,97 +52,40 @@
{DEFENSE_ANIM "units/elves-desert/outrider-defend.png" "units/elves-desert/outrider.png" {SOUND_LIST:HORSE_HIT} }
[movement_anim]
[frame]
begin=0
end=150
image="units/elves-desert/outrider-moving.png"
image=units/elves-desert/outrider-moving.png:150
[/frame]
[/movement_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[if]
hits=yes
[frame]
begin=-500
end=-400
image="units/elves-desert/outrider-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-500
end=-400
image="units/elves-desert/outrider-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
start_time=-500
[frame]
begin=-400
end=-150
image="units/elves-desert/outrider-attack2.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/elves-desert/outrider-attack1.png"
[/frame]
[frame]
begin=-50
end=50
image="units/elves-desert/outrider-moving.png"
image=units/elves-desert/outrider-[attack1,attack2,attack1,moving].png:[100,250,100*2]
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -500}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/outrider.png"
image=units/elves-desert/outrider.png:25
sound=horse-elf-canter.wav
[/frame]
[frame]
begin=-175
end=-100
image="units/elves-desert/outrider-melee-2.png"
[/frame]
[if]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/outrider-melee-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/outrider-melee-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=100
end=175
image="units/elves-desert/outrider-moving.png"
image=units/elves-desert/outrider-[melee-2,melee-1,moving].png:[75,200,75]
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/outrider.png"
image="units/elves-desert/outrider.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -46,88 +46,34 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
start_time=-500
[frame]
begin=-500
end=-375
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-ranged1.png
[/frame]
[if]
hits=yes
[frame]
begin=-375
end=-250
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-ranged2.png
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-375
end=-250
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-ranged2.png
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
begin=-250
end=-125
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-ranged3.png
[/frame]
[frame]
begin=-125
end=-100
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-ranged4.png
[/frame]
[frame]
begin=-100
end=0
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-ranged4.png
image="units/elves-desert/prowler.png:[125*4]"
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -375}
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-150
[frame]
begin=-150
end=-100
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-melee1.png
image="units/elves-desert/prowler.png:25"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-melee2.png
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image=units/elves-desert/prowler.png
# image=units/elves-desert/prowler-melee2.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image="units/elves-desert/prowler.png:200"
[/frame]
[frame]
image="units/elves-desert/prowler.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[female]
name= _ "female^Desert Prowler"
@ -139,88 +85,31 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
start_time=-500
[frame]
begin=-500
end=-375
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-ranged1.png"
image="units/elves-desert/prowler+female.png:[125*4]"
[/frame]
[if]
hits=yes
[frame]
begin=-375
end=-250
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-ranged2.png"
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-375
end=-250
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-ranged2.png"
sound=hatchet-miss.wav
[/frame]
[/else]
[frame]
begin=-250
end=-125
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-ranged3.png"
[/frame]
[frame]
begin=-125
end=-100
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-ranged4.png"
[/frame]
[frame]
begin=-100
end=0
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-ranged4.png"
[/frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-150
[frame]
begin=-150
end=-100
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-melee1.png"
image="units/elves-desert/prowler+female.png:25"
[/frame]
[frame]
image="units/elves-desert/prowler+female.png:200"
[/frame]
[frame]
image="units/elves-desert/prowler+female.png:25"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-melee2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/prowler+female.png"
# image="units/elves-desert/prowler+female-melee2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[/attack_anim]
[/female]
[/unit_type]

View file

@ -59,98 +59,39 @@
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/ranger-bow.png"
[/frame]
[if]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/ranger-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/ranger-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
[frame]
begin=-305
end=-230
image="units/elves-desert/ranger-bow-attack2.png"
image="units/elves-desert/ranger-bow.png:65"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/ranger-bow-attack3.png"
image="units/elves-desert/ranger-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/ranger-bow-attack4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/ranger-bow.png"
image="units/elves-desert/ranger-bow.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/ranger-sword.png"
image="units/elves-desert/ranger-sword.png:25"
[/frame]
[frame]
begin=-175
end=-75
image="units/elves-desert/ranger-sword-1.png"
[/frame]
[if]
hits=no
[frame]
begin=-75
end=75
image="units/elves-desert/ranger-sword-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=75
image="units/elves-desert/ranger-sword-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=75
end=175
image="units/elves-desert/ranger-sword-3.png"
image="units/elves-desert/ranger-sword-[1~3].png:[100,150,100]"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/ranger-sword.png"
image="units/elves-desert/ranger-sword.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[female]
name= _ "female^Desert Ranger"
@ -163,57 +104,36 @@
[filter_attack]
name=bow
[/filter_attack]
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/elves-desert/ranger+female-bow.png"
[/frame]
[if]
[frame]
image="units/elves-desert/ranger+female-bow-attack1.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/ranger+female-bow-attack1.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/ranger+female-bow-attack2.png"
image="units/elves-desert/ranger+female-bow.png:65"
[/frame]
[frame]
image="units/elves-desert/ranger+female-bow-attack3.png"
image="units/elves-desert/ranger+female-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-desert/ranger+female-bow-attack4.png"
[/frame]
[frame]
image="units/elves-desert/ranger+female-bow.png"
image="units/elves-desert/ranger+female-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/elves-desert/ranger+female-sword.png"
image="units/elves-desert/ranger+female-sword.png:25"
[/frame]
[frame]
image="units/elves-desert/ranger+female-sword-1.png"
[/frame]
[if]
[frame]
image="units/elves-desert/ranger+female-sword-2.png"
[/frame]
[/if]
[else]
[frame]
image="units/elves-desert/ranger+female-sword-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/ranger+female-sword-3.png"
image="units/elves-desert/ranger+female-sword-[1~3].png:[100,150,100]"
[/frame]
[frame]
image="units/elves-desert/ranger+female-sword.png"
image="units/elves-desert/ranger+female-sword.png:25"
[/frame]
[/attack_anim]
[/female]

View file

@ -51,97 +51,40 @@
{DEFENSE_ANIM "units/elves-desert/rider-defend.png" "units/elves-desert/rider.png" {SOUND_LIST:HORSE_HIT} }
[movement_anim]
[frame]
begin=0
end=150
image="units/elves-desert/rider-moving.png"
image="units/elves-desert/rider-moving.png:150"
[/frame]
[/movement_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[if]
hits=yes
[frame]
begin=-500
end=-400
image="units/elves-desert/rider-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-500
end=-400
image="units/elves-desert/rider-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
start_time=-500
[frame]
begin=-400
end=-150
image="units/elves-desert/rider-attack2.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/elves-desert/rider-attack1.png"
[/frame]
[frame]
begin=-50
end=100
image="units/elves-desert/rider-moving.png"
image=units/elves-desert/rider-[attack1,attack2,attack1,moving].png:[100,250,100,150]
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -500}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/rider.png"
image="units/elves-desert/rider.png:25"
sound=horse-elf-canter.wav
[/frame]
[frame]
begin=-175
end=-100
image="units/elves-desert/rider-melee-2.png"
[/frame]
[if]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/rider-melee-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/rider-melee-1.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=100
end=175
image="units/elves-desert/rider-moving.png"
image="units/elves-desert/rider-[melee-2,melee-1,moving].png:[75,200,75]"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/rider.png"
image="units/elves-desert/rider.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -125}
[/attack_anim]
[/unit_type]

View file

@ -52,177 +52,51 @@
{DEFENSE_ANIM "units/elves-desert/scout-defend.png" "units/elves-desert/scout.png" {SOUND_LIST:HORSE_HIT} }
[movement_anim]
[frame]
begin=0
end=150
image="units/elves-desert/scout-moving.png"
image="units/elves-desert/scout-moving.png:150"
[/frame]
[/movement_anim]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
duration=125
image="units/elves-desert/scout-idle-1.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-2.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-3.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-4.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-5.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-6.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-7.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-8.png"
[/frame]
[frame]
duration=125
image="units/elves-desert/scout-idle-7.png"
[/frame]
[frame]
duration=150
image="units/elves-desert/scout-idle-8.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-7.png"
[/frame]
[frame]
duration=150
image="units/elves-desert/scout-idle-8.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-9.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-10.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-11.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-12.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-13.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-14.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-15.png"
[/frame]
[frame]
duration=175
image="units/elves-desert/scout-idle-16.png"
image="units/elves-desert/scout-idle-[1~8,7,8,7~16].png:[125*9,150,175,150,175*8]"
[/frame]
[/idle_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[if]
hits=yes
[frame]
begin=-400
end=-300
image="units/elves-desert/scout-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-400
end=-300
image="units/elves-desert/scout-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
start_time=-400
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -400}
[frame]
begin=-300
end=-50
image="units/elves-desert/scout-attack2.png"
image="units/elves-desert/scout-attack[1~2].png:[100,250]"
[/frame]
[frame]
begin=-50
end=50
image="units/elves-desert/scout-moving.png"
image="units/elves-desert/scout-moving.png:100"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/scout.png"
image="units/elves-desert/scout.png:25"
sound=horse-elf-canter.wav
[/frame]
[frame]
begin=-175
end=-100
image="units/elves-desert/scout-moving.png"
[/frame]
[if]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/scout-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/scout-attack.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=100
end=200
image="units/elves-desert/scout-moving.png"
image="units/elves-desert/scout-[moving,attack,moving].png:[75,200,100]"
[/frame]
[frame]
begin=200
end=250
image="units/elves-desert/scout.png"
image="units/elves-desert/scout.png:50"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -45,70 +45,34 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
[if]
hits=yes
[frame]
begin=-300
end=-150
image=units/elves-desert/sentinel.png
# image=units/elves-desert/sentinel-ranged-1.png
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-300
end=-150
image=units/elves-desert/sentinel.png
# image=units/elves-desert/sentinel-ranged-1.png
sound=hatchet-miss.wav
[/frame]
[/else]
start_time=-300
[frame]
begin=-150
end=-100
image=units/elves-desert/sentinel.png
# image=units/elves-desert/sentinel-ranged-2.png
[/frame]
[frame]
begin=-100
end=0
image=units/elves-desert/sentinel.png
# image=units/elves-desert/sentinel-ranged-2.png
image="units/elves-desert/sentinel.png:300"
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -300}
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
[if]
hits=yes
[frame]
begin=-101
end=100
image=units/elves-desert/sentinel.png
# image=units/elves-desert/sentinel-melee.png
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-101
end=100
image=units/elves-desert/sentinel.png
# image=units/elves-desert/sentinel-melee.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=-150
[frame]
image="units/elves-desert/sentinel.png:25"
[/frame]
[frame]
image="units/elves-desert/sentinel.png:200"
[/frame]
[frame]
image="units/elves-desert/sentinel.png:25"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[/attack_anim]
[female]
name= _ "female^Desert Sentinel"
@ -120,70 +84,31 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
[if]
hits=yes
[frame]
begin=-300
end=-150
image="units/elves-desert/sentinel+female.png"
# image="units/elves-desert/sentinel+female-ranged-1.png"
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-300
end=-150
image="units/elves-desert/sentinel+female.png"
# image="units/elves-desert/sentinel+female-ranged-1.png"
sound=hatchet-miss.wav
[/frame]
[/else]
start_time=-300
[frame]
begin=-150
end=-100
image="units/elves-desert/sentinel+female.png"
# image="units/elves-desert/sentinel+female-ranged-2.png"
image="units/elves-desert/sentinel+female.png:300"
[/frame]
[frame]
begin=-100
end=0
image="units/elves-desert/sentinel+female.png"
# image="units/elves-desert/sentinel+female-ranged-2.png"
[/frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
[if]
hits=yes
[frame]
begin=-101
end=100
image="units/elves-desert/sentinel+female.png"
# image="units/elves-desert/sentinel+female-melee.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-101
end=100
image="units/elves-desert/sentinel+female.png"
# image="units/elves-desert/sentinel+female-melee.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=-150
[frame]
image="units/elves-desert/sentinel+female.png:25"
[/frame]
[frame]
image="units/elves-desert/sentinel+female.png:200"
[/frame]
[frame]
image="units/elves-desert/sentinel+female.png:25"
[/frame]
[/attack_anim]
[/female]
[/unit_type]

View file

@ -48,159 +48,56 @@
[healing_anim]
start_time=-200
[frame]
duration=55
image="units/elves-desert/shaman-heal1.png"
image="units/elves-desert/shaman-heal[1,2].png:55"
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal2.png"
image="units/elves-desert/shaman-heal[3~9].png:55"
halo=halo/elven/shaman-heal-halo-[1~7].png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal3.png"
halo=halo/elven/shaman-heal-halo-1.png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal4.png"
halo=halo/elven/shaman-heal-halo-2.png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal5.png"
halo=halo/elven/shaman-heal-halo-3.png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal6.png"
halo=halo/elven/shaman-heal-halo-4.png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal7.png"
halo=halo/elven/shaman-heal-halo-5.png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal8.png"
halo=halo/elven/shaman-heal-halo-6.png
[/frame]
[frame]
duration=55
image="units/elves-desert/shaman-heal9.png"
halo=halo/elven/shaman-heal-halo-7.png
[/frame]
[frame]
duration=30
image="units/elves-desert/shaman-heal9.png"
image="units/elves-desert/shaman-heal9.png:30"
[/frame]
[/healing_anim]
[attack_anim]
[filter_attack]
name=entangle
[/filter_attack]
missile_start_time=-200
[missile_frame]
offset=1.0
begin=-200
end=50
duration=150
image="projectiles/entangle.png"
image_diagonal="projectiles/entangle.png"
[/missile_frame]
start_time=-450
[frame]
begin=-450
end=-375
image="units/elves-desert/shaman.png"
halo=halo/elven/nature-halo1.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-375
end=-300
image="units/elves-desert/shaman.png"
halo=halo/elven/nature-halo2.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-300
end=-225
image="units/elves-desert/shaman.png"
halo=halo/elven/nature-halo3.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-225
end=-150
image="units/elves-desert/shaman-attack2.png"
halo=halo/elven/nature-halo4.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-150
end=-75
image="units/elves-desert/shaman-attack2.png"
halo=halo/elven/nature-halo5.png
image="units/elves-desert/shaman.png:225,units/elves-desert/shaman-attack2.png:225,units/elves-desert/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]
attack_sound_start_time=-75
[attack_sound_frame]
sound=entangle.wav
[/attack_sound_frame]
{SOUND:SLOW}
[frame]
begin=-75
end=0
image="units/elves-desert/shaman-attack2.png"
halo=halo/elven/nature-halo6.png
sound=entangle.wav
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-0
end=50
image="units/elves-desert/shaman.png"
halo=halo/elven/nature-halo7.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=50
end=100
image="units/elves-desert/shaman.png"
halo=halo/elven/nature-halo8.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=100
end=150
image="units/elves-desert/shaman.png"
image="units/elves-desert/shaman.png:50"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=staff
[/filter_attack]
start_time=-175
[frame]
begin=-175
end=-100
image="units/elves-desert/shaman.png"
image="units/elves-desert/shaman.png:75"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/elves-desert/shaman-attack.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/elves-desert/shaman-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
begin=100
end=175
image="units/elves-desert/shaman.png"
image="units/elves-desert/shaman-attack.png:200"
[/frame]
[frame]
image="units/elves-desert/shaman.png:75"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -53,97 +53,35 @@
[filter_attack]
name=longbow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/sharpshooter-bow.png"
image="units/elves-desert/sharpshooter-bow.png:65"
[/frame]
[if]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/sharpshooter-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/sharpshooter-bow-attack1.png"
sound=bow.ogg
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
begin=-305
end=-230
image="units/elves-desert/sharpshooter-bow-attack2.png"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/sharpshooter-bow-attack3.png"
[/frame]
[frame]
begin=-130
end=0
image="units/elves-desert/sharpshooter-bow-attack4.png"
[/frame]
[frame]
begin=0
end=150
image="units/elves-desert/sharpshooter-bow-attack5.png"
image="units/elves-desert/sharpshooter-bow-attack[1~5].png:[75*2,100,130,150]"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image="units/elves-desert/sharpshooter-sword.png"
image="units/elves-desert/sharpshooter-sword.png:25"
[/frame]
[frame]
begin=-175
end=-75
image="units/elves-desert/sharpshooter-sword-1.png"
image="units/elves-desert/sharpshooter-sword-[1~3].png:[100,175,75]"
[/frame]
[if]
hits=no
[frame]
begin=-75
end=100
image="units/elves-desert/sharpshooter-sword-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-75
end=100
image="units/elves-desert/sharpshooter-sword-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
begin=100
end=175
image="units/elves-desert/sharpshooter-sword-3.png"
[/frame]
[frame]
begin=175
end=200
image="units/elves-desert/sharpshooter-sword.png"
image="units/elves-desert/sharpshooter-sword.png:25"
[/frame]
[/attack_anim]
[female]
@ -158,31 +96,10 @@
name=longbow
[/filter_attack]
[frame]
image="units/elves-desert/sharpshooter+female-bow.png"
[/frame]
[if]
hits=no
[frame]
image="units/elves-desert/sharpshooter+female-bow-attack1.png"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-desert/sharpshooter+female-bow-attack1.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/sharpshooter+female-bow-attack2.png"
image="units/elves-desert/sharpshooter+female-bow.png:65"
[/frame]
[frame]
image="units/elves-desert/sharpshooter+female-bow-attack3.png"
[/frame]
[frame]
image="units/elves-desert/sharpshooter+female-bow-attack4.png"
[/frame]
[frame]
image="units/elves-desert/sharpshooter+female-bow-attack5.png"
image="units/elves-desert/sharpshooter+female-bow-attack[1~5].png:[75*2,100,130,150]"
[/frame]
[/attack_anim]
[attack_anim]
@ -190,28 +107,13 @@
name=sword
[/filter_attack]
[frame]
image="units/elves-desert/sharpshooter+female-sword.png"
image="units/elves-desert/sharpshooter+female-sword.png:25"
[/frame]
[frame]
image="units/elves-desert/sharpshooter+female-sword-1.png"
[/frame]
[if]
hits=no
[frame]
image="units/elves-desert/sharpshooter+female-sword-2.png"
[/frame]
[/if]
[else]
hits=yes
[frame]
image="units/elves-desert/sharpshooter+female-sword-2.png"
[/frame]
[/else]
[frame]
image="units/elves-desert/sharpshooter+female-sword-3.png"
image="units/elves-desert/sharpshooter+female-sword-[1~3].png:[100,175,75]"
[/frame]
[frame]
image="units/elves-desert/sharpshooter+female-sword.png"
image="units/elves-desert/sharpshooter+female-sword.png:25"
[/frame]
[/attack_anim]
[/female]

View file

@ -64,237 +64,59 @@
{DEFENSE_ANIM_RANGE "units/elves-desert/shyde-defend.png" "units/elves-desert/shyde.png" {SOUND_LIST:ELF_FEMALE_HIT} melee }
{DEFENSE_ANIM_ELVEN_RANGE "units/elves-desert/shyde-defend.png" "units/elves-desert/shyde.png" {SOUND_LIST:ELF_FEMALE_HIT} ranged }
[healing_anim]
start_time=-200
[frame]
begin=-200
end=-145
image="units/elves-desert/shyde-healing1.png"
[/frame]
[frame]
begin=-145
end=-90
image="units/elves-desert/shyde-healing2.png"
[/frame]
[frame]
begin=-90
end=-35
image="units/elves-desert/shyde-healing3.png"
[/frame]
[frame]
begin=-35
end=20
image="units/elves-desert/shyde-healing4.png"
[/frame]
[frame]
begin=20
end=75
image="units/elves-desert/shyde-healing5.png"
[/frame]
[frame]
begin=75
end=130
image="units/elves-desert/shyde-healing6.png"
[/frame]
[frame]
begin=130
end=185
image="units/elves-desert/shyde-healing7.png"
[/frame]
[frame]
begin=185
end=240
image="units/elves-desert/shyde-healing8.png"
[/frame]
[frame]
begin=240
end=295
image="units/elves-desert/shyde-healing9.png"
[/frame]
[frame]
begin=295
end=350
image="units/elves-desert/shyde-healing10.png"
[/frame]
[frame]
begin=350
end=405
image="units/elves-desert/shyde-healing11.png"
[/frame]
[frame]
begin=405
end=460
image="units/elves-desert/shyde-healing12.png"
image="units/elves-desert/shyde-healing[1~12].png:55"
[/frame]
[/healing_anim]
[attack_anim]
[filter_attack]
name=thorns
[/filter_attack]
missile_start_time=-200
[missile_frame]
begin=-200
end=0
duration=200
image="projectiles/thorns.png"
image_diagonal="projectiles/thorns-ne.png"
[/missile_frame]
start_time=-250
[frame]
begin=-450
end=-375
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo1.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-375
end=-300
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo2.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-300
end=-225
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo3.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-225
end=-150
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo4.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-150
end=-75
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo5.png
halo_x,halo_y=0,-12
[/frame]
[if]
hits=yes
[frame]
begin=-75
end=0
image="units/elves-desert/shyde-ftouch-attack3.png"
sound=magic-thorns-[1,2].ogg
halo=halo/elven/nature-halo6.png
halo_x,halo_y=0,-12
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-75
end=0
image="units/elves-desert/shyde-ftouch-attack3.png"
sound=magic-thorns-miss-[1,2].ogg
halo=halo/elven/nature-halo6.png
halo_x,halo_y=0,-12
[/frame]
[/else]
[frame]
begin=-0
end=75
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo7.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=75
end=150
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo8.png
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]
name=ensnare
[/filter_attack]
missile_start_time=-200
[missile_frame]
offset=1.0
begin=-200
end=50
duration=150
image="projectiles/entangle.png"
image_diagonal="projectiles/entangle.png"
[/missile_frame]
start_time=-450
[frame]
begin=-450
end=-375
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo1.png
halo=halo/elven/nature-halo[1~8].png:75
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-375
end=-300
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo2.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-300
end=-225
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo3.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-225
end=-150
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo4.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-150
end=-75
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo5.png
halo_x,halo_y=0,-12
[/frame]
{SOUND:SLOW}
[frame]
begin=-75
end=0
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo6.png
attack_sound_start_time=-75
[attack_sound_frame]
sound=entangle.wav
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=-0
end=75
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo7.png
halo_x,halo_y=0,-12
[/frame]
[frame]
begin=75
end=150
image="units/elves-desert/shyde-ftouch-attack3.png"
halo=halo/elven/nature-halo8.png
halo_x,halo_y=0,-12
[/frame]
[/attack_sound_frame]
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=faerie touch
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-100
image="units/elves-desert/shyde-ftouch-attack1.png"
[/frame]
[frame]
begin=-100
end=100
image="units/elves-desert/shyde-ftouch-attack2.png"
[/frame]
[frame]
begin=100
end=200
image="units/elves-desert/shyde-ftouch-attack3.png"
image="units/elves-desert/shyde-ftouch-attack[1~3].png:[100,200,100]"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -42,23 +42,21 @@
[filter_attack]
name=fist
[/filter_attack]
{SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -100}
start_time=-200
[frame]
begin=-200
end=175
image="units/elves-desert/eloh-serene.png"
image="units/elves-desert/eloh-serene.png:375"
[/frame]
{SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[attack_anim]
[filter_attack]
name=lightbeam
[/filter_attack]
{MISSILE_FRAME_LIGHT_BEAM}
{SOUND:HIT_AND_MISS {SOUND_LIST:HOLY} {SOUND_LIST:HOLY_MISS} -100}
start_time=-100
[frame]
begin=-100
end=0
image="units/elves-desert/eloh-serene.png"
image="units/elves-desert/eloh-serene.png:100"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:HOLY} {SOUND_LIST:HOLY_MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -89,35 +89,17 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
[if]
hits=yes
[frame]
begin=-300
end=-200
image=units/elves-desert/kaleh.png
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-300
end=-200
image=units/elves-desert/kaleh.png
sound=hatchet-miss.wav
[/frame]
[/else]
start_time=-300
[frame]
begin=-200
end=0
image=units/elves-desert/kaleh.png
image=units/elves-desert/kaleh.png:300
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -300}
{SOUND:SLOW}
[/attack_anim]
[/effect]
@ -344,10 +326,9 @@ Enemy units cannot see this unit while it is in desert dunes, desert mountains,
profile=portraits/kaleh.png
alignment=lawful
[leading_anim]
start_time=-150
[frame]
begin=-150
end=150
image=units/elves-desert/kaleh-leading.png
image=units/elves-desert/kaleh-leading.png:300
[/frame]
[/leading_anim]
advances_to=null
@ -380,93 +361,36 @@ Enemy units cannot see this unit while it is in desert dunes, desert mountains,
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-100
[missile_frame]
begin=-100
end=0
duration=100
image=projectiles/missile-n.png
image_diagonal=projectiles/missile-ne.png
[/missile_frame]
start_time=-445
[frame]
begin=-445
end=-380
image="units/elves-desert/kaleh-ranged.png"
[/frame]
[if]
hits=yes
[frame]
begin=-380
end=-305
image="units/elves-desert/kaleh-ranged-1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-380
end=-305
image="units/elves-desert/kaleh-ranged-1.png"
sound=bow-miss.ogg
[/frame]
[/else]
[frame]
begin=-305
end=-230
image="units/elves-desert/kaleh-ranged-2.png"
image="units/elves-desert/kaleh-ranged.png:65"
[/frame]
[frame]
begin=-230
end=-130
image="units/elves-desert/kaleh-ranged-3.png"
image="units/elves-desert/kaleh-ranged-[1~4].png:[65,75*2,130]"
[/frame]
[frame]
begin=-130
end=-100
image="units/elves-desert/kaleh-ranged-4.png"
[/frame]
[frame]
begin=-100
end=0
image="units/elves-desert/kaleh-ranged-4.png"
[/frame]
[frame]
begin=0
end=65
image="units/elves-desert/kaleh-ranged.png"
image="units/elves-desert/kaleh-ranged.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-100
image=units/elves-desert/kaleh-melee-1.png
image=units/elves-desert/kaleh-melee-[1~2].png:[100,200]
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image=units/elves-desert/kaleh-melee-2.png
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image=units/elves-desert/kaleh-melee-2.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=200
image=units/elves-desert/kaleh.png
image=units/elves-desert/kaleh.png:100
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
#enddef
[unit_type]

View file

@ -40,86 +40,40 @@
[filter_attack]
name=bolas
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image=projectiles/bolas-n.png
image_diagonal=projectiles/bolas-ne.png
[/missile_frame]
[if]
hits=yes
[frame]
begin=-300
end=-200
image=units/elves-desert/nym-ranged-1.png
sound=hatchet.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-300
end=-200
image=units/elves-desert/nym-ranged-1.png
sound=hatchet-miss.wav
[/frame]
[/else]
start_time=-300
[frame]
begin=-200
end=-100
image=units/elves-desert/nym-ranged-2.png
[/frame]
[frame]
begin=-100
end=0
image=units/elves-desert/nym-ranged-3.png
image=units/elves-desert/nym-ranged-[1~3].png:[100*3]
[/frame]
{SOUND:HIT_AND_MISS hatchet.wav hatchet-miss.wav -300}
{SOUND:SLOW}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-175
image=units/elves-desert/nym.png
image=units/elves-desert/nym.png:25
[/frame]
[frame]
begin=-175
end=-100
image=units/elves-desert/nym-melee-1.png
image=units/elves-desert/nym-melee-[1~2].png:[75,200]
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image=units/elves-desert/nym-melee-2.png
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image=units/elves-desert/nym-melee-2.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=150
image=units/elves-desert/nym.png
image=units/elves-desert/nym.png:50
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
#enddef
[unit_type]
id=Nym Hunter
name= _ "female^Desert Hunter"
advances_to=Nym Sentinel
description= _ "Nym is Kalehs childhood friend who follows the tradition of a family of Desert Hunters, as much as that can be said about a young, rebellious lady with quick wits and strong will. Her high spirits are a great boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}
cost=20
advances_to=Nym Sentinel

View file

@ -5,10 +5,9 @@
race=human
image="units/humans/human-commander.png"
[leading_anim]
start_time=-150
[frame]
begin=-150
end=150
image="units/humans/human-commander-ranged1.png"
image="units/humans/human-commander-ranged1.png:300"
[/frame]
[/leading_anim]
{MAGENTA_IS_THE_TEAM_COLOR}
@ -57,76 +56,28 @@
[filter_attack]
name=bow
[/filter_attack]
hits=yes
missile_start_time=100
[missile_frame]
begin=100
end=200
duration=100
image=projectiles/missile-n.png
image_diagonal=projectiles/missile-ne.png
[/missile_frame]
start_time=-350
[frame]
begin=-350
end=-150
image="units/humans/human-commander-ranged1.png"
sound=bow.ogg
image="units/humans/human-commander-ranged[1,2,1].png:[200,150,100]"
[/frame]
[frame]
begin=-150
end=0
image="units/humans/human-commander-ranged2.png"
[/frame]
[frame]
begin=0
end=100
image="units/humans/human-commander.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
hits=no
[missile_frame]
begin=100
end=200
image=projectiles/missile-n.png
image_diagonal=projectiles/missile-ne.png
[/missile_frame]
[frame]
begin=-350
end=-150
image="units/humans/human-commander-ranged1.png"
sound=bow-miss.ogg
[/frame]
[frame]
begin=-150
end=0
image="units/humans/human-commander-ranged2.png"
[/frame]
[frame]
begin=0
end=100
image="units/humans/human-commander-ranged1.png"
[/frame]
[frame]
begin=100
end=150
image="units/humans/human-commander.png"
image="units/humans/human-commander.png:50"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -350}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-300
[frame]
begin=-300
end=-100
image="units/humans/human-commander-attack1.png"
[/frame]
[frame]
begin=-100
end=100
image="units/humans/human-commander-attack2.png"
image="units/humans/human-commander-attack[1~2].png:200"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} 20}
[/attack_anim]

View file

@ -48,62 +48,26 @@
[filter_attack]
name=energy ray
[/filter_attack]
[frame]
begin=-300
end=-200
image=units/alien/orb-small-ranged1.png
[/frame]
[if]
hits=no
[frame]
sound=magic-dark-miss.ogg
begin=-200
end=50
image=units/alien/orb-small-ranged2.png
[/frame]
[/if]
[else]
hits=yes
[frame]
sound=magic-dark.ogg
begin=-200
end=50
image=units/alien/orb-small-ranged2.png
[/frame]
[/else]
missile_start_time=-200
[missile_frame]
begin=-200
end=0
duration=200
image="projectiles/darkmissile-n.png"
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
start_time=-300
[frame]
image=units/alien/orb-small-ranged[1~2].png:[100,250]
[/frame]
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -200}
[/attack_anim]
[attack_anim]
[filter_attack]
name=fangs
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-50
image=units/alien/orb-small-melee1.png
image=units/alien/orb-small-melee[1~2].png:[150,200]
[/frame]
[if]
hits=yes
[frame]
sound=bite-small.ogg
begin=-50
end=150
image=units/alien/orb-small-melee2.png
[/frame]
[/if]
[else]
hits=no
[frame]
sound={SOUND_LIST:MISS}
begin=-50
end=150
image=units/alien/orb-small-melee2.png
[/frame]
[/else]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

View file

@ -6,19 +6,10 @@
image=units/alien/spire.png
image_icon="units/alien/spire.png~SCALE(72,72)"
[standing_anim]
start_time=0
direction=n,ne,se,s
[frame]
duration=100
image="units/alien/spire.png"
[/frame]
[/standing_anim]
[standing_anim]
start_time=0
direction=sw,nw
[frame]
duration=100
image="units/alien/spire.png~FL(horiz)"
auto_hflip=no
[/frame]
[/standing_anim]
hitpoints=35
@ -54,49 +45,21 @@
damage=6
number=1
[/attack]
#define PULSING_SPIRE_ATTACK_ANIMATION AFFIX
# The affix names an image function.
start_time=-100
missile_start_time=-50
[missile_frame]
duration=200
image="projectiles/darkmissile-n.png"
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[if]
hits=no
[frame]
duration=200
image="units/alien/spire.png~{AFFIX}"
sound=magic-dark-miss.ogg
[/frame]
[/if]
[else]
hits=yes
[frame]
duration=200
image="units/alien/spire.png~{AFFIX}"
sound=magic-dark.ogg
[/frame]
[/else]
#enddef
# NOTE: The following attack filters deliberately match both ranged and melee.
[attack_anim]
[filter_attack]
name=energy ray
[/filter_attack]
direction=n,ne,se,s
{PULSING_SPIRE_ATTACK_ANIMATION "NOP()"}
start_time=-100
missile_start_time=-50
[missile_frame]
duration=200
image="projectiles/darkmissile-n.png"
image_diagonal="projectiles/darkmissile-ne.png"
[/missile_frame]
[frame]
image="units/alien/spire.png:200"
auto_hflip=no
[/frame]
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
name=energy ray
[/filter_attack]
direction=nw,sw
{PULSING_SPIRE_ATTACK_ANIMATION "FL(horiz)"}
[/attack_anim]
#undef PULSING_SPIRE_ATTACK_ANIMATION
[/unit_type]

View file

@ -30,23 +30,10 @@
[filter_attack]
name=fangs
[/filter_attack]
[if]
hits=yes
[frame]
begin=-100
end=100
image="units/monsters/ant-attack.png"
sound=bite-small.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
image="units/monsters/ant-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=-100
[frame]
image=units/monsters/ant-attack.png:200
[/frame]
{SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -29,28 +29,10 @@
[filter_attack]
name=claws
[/filter_attack]
start_time=-100
[frame]
begin=-100
end=0
image="units/monsters/crab-attack1.png"
image=units/monsters/crab-attack[1~2].png:[100*2]
[/frame]
[if]
hits=yes
[frame]
begin=0
end=100
image="units/monsters/crab-attack2.png"
sound=claws.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=0
end=100
image="units/monsters/crab-attack2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS claws.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -29,28 +29,10 @@
[filter_attack]
name=fist
[/filter_attack]
start_time=-100
[frame]
begin=-100
end=0
image="units/monsters/dawarf-melee-1.png"
image=units/monsters/dawarf-melee-[1~2].png:[100*2]
[/frame]
[if]
hits=yes
[frame]
begin=0
end=100
image="units/monsters/dawarf-melee-2.png"
sound=fist.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=0
end=100
image="units/monsters/dawarf-melee-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} 0}
[/attack_anim]
[/unit_type]

View file

@ -118,64 +118,27 @@
heal_full=yes
[/effect]
[/advancement]
[attack_anim]
[filter_attack]
name=sand storm
[/filter_attack]
[if]
direction=sw,s,se
[missile_frame]
offset=1.0
begin=-200
end=120
halo="projectiles/sand-storm-[1~8].png:40"
[/missile_frame]
[/if]
[else]
direction=ne,n,nw
[missile_frame]
offset=1.0
begin=-200
end=120
halo="projectiles/sand-storm-[1~8].png~FL(vert):40"
[/missile_frame]
[/else]
[if]
hits=yes
[frame]
begin=-200
end=100
sound=magic-faeriefire.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-200
end=100
sound=magic-faeriefire-miss.ogg
[/frame]
[/else]
missile_start_time=-200
[missile_frame]
duration=320
offset=1.0
halo="projectiles/sand-storm-[1~8].png:40"
auto_vflip=no
[/missile_frame]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -200}
[/attack_anim]
[attack_anim]
[filter_attack]
name=twister
[/filter_attack]
[if]
hits=yes
[frame]
begin=-100
end=100
sound=bite.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=100
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
image=units/monsters/dust-devil.png:200
[/frame]
{SOUND:HIT_AND_MISS bite.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -43,28 +43,8 @@
[/filter_attack]
start_time=-200
[frame]
duration=100
image="units/monsters/flesh-golem-attack-1.png"
[/frame]
[if]
hits=yes
[frame]
sound=fist.ogg
duration=100
image="units/monsters/flesh-golem-attack-2.png"
[/frame]
[/if]
[else]
hits=no
[frame]
sound={SOUND_LIST:MISS}
duration=100
image="units/monsters/flesh-golem-attack-2.png"
[/frame]
[/else]
[frame]
duration=100
image="units/monsters/flesh-golem-attack-3.png"
image="units/monsters/flesh-golem-attack-[1~3].png:100"
[/frame]
{SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -34,20 +34,9 @@
[filter_attack]
name=flaming sword
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-50
image="units/monsters/demon-attack-1.png"
[/frame]
[frame]
begin=-50
end=100
image="units/monsters/demon-attack-2.png"
[/frame]
[frame]
begin=100
end=200
image="units/monsters/demon-attack-3.png"
image="units/monsters/demon-attack-[1~3].png:[150*2,100]"
[/frame]
{SOUND:HIT_AND_MISS torch.ogg torch-miss.ogg 75}
[/attack_anim]

View file

@ -22,63 +22,17 @@
description= _ "These heavy fighters are the elite guards of the naga. They are slower and more heavily armored than most naga and wield huge maces which they use to crush their enemies. They mostly guard naga outposts, but occasionally participate in offensive raids."
die_sound=naga-die.ogg
[defend]
start_time=-200
[frame]
begin=-200
end=-150
image="units/nagas/guardian-defend-1.png"
[/frame]
[frame]
begin=-150
end=-100
image="units/nagas/guardian-defend-2.png"
[/frame]
[frame]
begin=-100
end=-50
image="units/nagas/guardian-defend-3.png"
image="units/nagas/guardian-defend-[1~5,4~1].png:[50*8,25]"
[/frame]
sound_start_time=-50
[if]
hits=hit
[frame]
begin=-50
end=0
image="units/nagas/guardian-defend-4.png"
[sound_frame]
sound={SOUND_LIST:NAGA_HIT}
[/frame]
[/sound_frame]
[/if]
[else]
hits=miss,kill
[frame]
begin=-50
end=0
image="units/nagas/guardian-defend-4.png"
[/frame]
[/else]
[frame]
begin=0
end=50
image="units/nagas/guardian-defend-5.png"
[/frame]
[frame]
begin=50
end=100
image="units/nagas/guardian-defend-4.png"
[/frame]
[frame]
begin=100
end=150
image="units/nagas/guardian-defend-3.png"
[/frame]
[frame]
begin=150
end=200
image="units/nagas/guardian-defend-2.png"
[/frame]
[frame]
begin=200
end=225
image="units/nagas/guardian-defend-1.png"
[/frame]
[/defend]
[attack]
name=mace
@ -92,21 +46,9 @@
[filter_attack]
name=mace
[/filter_attack]
[if]
hits=yes
[frame]
sound=mace.wav
begin=-100
end=100
[/frame]
[/if]
[else]
hits=no
[frame]
sound={SOUND_LIST:MISS}
begin=-100
end=100
[/frame]
[/else]
[frame]
image="units/nagas/guardian.png:200"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -19,19 +19,7 @@
die_sound=naga-die.ogg
[movement_anim]
[frame]
begin=0
end=150
image="units/nagas/hunter-moving-1.png"
[/frame]
[frame]
begin=150
end=300
image="units/nagas/hunter-moving-2.png"
[/frame]
[frame]
begin=300
end=450
image="units/nagas/hunter-moving-3.png"
image="units/nagas/hunter-moving-[1~3].png:150"
[/frame]
[/movement_anim]
{DEFENSE_ANIM "units/nagas/hunter-defend-both.png" "units/nagas/hunter.png" {SOUND_LIST:NAGA_HIT} }
@ -61,80 +49,25 @@
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
begin=-150
end=0
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-420
[frame]
begin=-420
end=-350
image="units/nagas/hunter-ranged-1.png"
[/frame]
[frame]
begin=-350
end=-280
image="units/nagas/hunter-ranged-2.png"
[/frame]
[if]
hits=yes
[frame]
begin=-280
end=-210
image="units/nagas/hunter-ranged-3.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-280
end=-210
image="units/nagas/hunter-ranged-3.png"
sound=bow-miss.ogg
[/frame]
[/else]
[frame]
begin=-210
end=-140
image="units/nagas/hunter-ranged-4.png"
[/frame]
[frame]
begin=-140
end=-70
image="units/nagas/hunter-ranged-5.png"
[/frame]
[frame]
begin=-70
end=0
image="units/nagas/hunter-ranged-6.png"
[/frame]
[frame]
begin=0
end=70
image="units/nagas/hunter-ranged-1.png"
image="units/nagas/hunter-ranged-[1~6,1].png:70"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -280}
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
[if]
hits=yes
[frame]
sound={SOUND_LIST:SWORD_SWISH}
begin=-100
end=100
[/frame]
[/if]
[else]
hits=no
[frame]
sound={SOUND_LIST:MISS}
begin=-100
end=100
[/frame]
[/else]
[frame]
image="units/nagas/hunter.png:200"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -34,21 +34,9 @@
[filter_attack]
name=mace
[/filter_attack]
[if]
hits=yes
[frame]
sound=mace.wav
begin=-100
end=100
[/frame]
[/if]
[else]
hits=no
[frame]
sound={SOUND_LIST:MISS}
begin=-100
end=100
[/frame]
[/else]
[frame]
image="units/nagas/sentinel.png:200"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -33,21 +33,9 @@
[filter_attack]
name=mace
[/filter_attack]
[if]
hits=yes
[frame]
sound=mace.wav
begin=-100
end=100
[/frame]
[/if]
[else]
hits=no
[frame]
sound={SOUND_LIST:MISS}
begin=-100
end=100
[/frame]
[/else]
[frame]
image="units/nagas/warden.png:200"
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[/attack_anim]
[/unit_type]

View file

@ -48,28 +48,10 @@
[filter_attack]
name=axe
[/filter_attack]
[if]
hits=yes
[frame]
begin=-100
end=0
image=units/undead/skeletonrider-attack1.png
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=0
image=units/undead/skeletonrider-attack1.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
start_time=-100
[frame]
begin=0
end=100
image=units/undead/skeletonrider-attack2.png
image=units/undead/skeletonrider-attack[1~2].png:100
[/frame]
{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -200}
[/attack_anim]
[/unit_type]