DM: convert unit WML to new syntax

This commit is contained in:
David Mikos 2013-10-16 02:01:35 +10:30
parent b996f0b8c9
commit d3ad4d84b4
2 changed files with 12 additions and 54 deletions

View file

@ -36,6 +36,8 @@ Version 1.11.6+dev:
* Campaigns:
* Dead Water:
* Converted animation WML to the new syntax
* Delfador's Memoirs:
* Converted animation WML to the new syntax
* Descent Into Darkness:
* Converted animation WML to the new syntax
* Heir To The Throne:

View file

@ -52,70 +52,26 @@
[filter_attack]
name=crush
[/filter_attack]
[if]
hits=no
[frame]
begin=-500
end=-100
image=units/wose-shaman-attack-1.png
sound=wose-miss.ogg
[/frame]
[frame]
begin=-100
end=125
image=units/wose-shaman-attack-2.png
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-500
end=-100
image=units/wose-shaman-attack-1.png
sound=wose-attack.ogg
[/frame]
[frame]
begin=-100
end=125
image=units/wose-shaman-attack-2.png
[/frame]
[/else]
start_time=-500
{SOUND:HIT_AND_MISS wose-attack.ogg wose-miss.ogg -500}
[frame]
image=units/wose-shaman-attack-[1~2].png:[400,225]
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=entangle
[/filter_attack]
missile_start_time=-250
[missile_frame]
begin=-250
end=0
duration=250
image=projectiles/entangle.png
image_diagonal=projectiles/entangle.png
[/missile_frame]
start_time=-300
[frame]
begin=-300
end=-150
image=units/wose-shaman.png
halo=halo/wose-ranged-halo1.png:150
[/frame]
[frame]
begin=-150
end=0
image=units/wose-shaman-attack-1.png
halo=halo/wose-ranged-halo2.png:150
sound=entangle.wav
[/frame]
[frame]
begin=0
end=150
image=units/wose-shaman-attack-2.png
halo=halo/wose-ranged-halo3.png:150
[/frame]
{SOUND:SLOW}
[frame]
begin=150
end=300
image=units/wose-shaman.png
halo=halo/wose-ranged-halo4.png:150
image=units/wose-shaman.png:150,units/wose-shaman-attack-[1~2].png:150,units/wose-shaman.png:150
halo=halo/wose-ranged-halo[1~4].png:150
[/frame]
[/attack_anim]
[/unit_type]