SotBE: convert unit WML to new syntax

This commit is contained in:
David Mikos 2013-10-16 02:28:38 +10:30
parent b825400c2f
commit 8aa32d5949
4 changed files with 38 additions and 96 deletions

View file

@ -57,6 +57,8 @@ Version 1.11.6+dev:
* Converted animation WML to the new syntax
* Sceptre of Fire:
* Converted animation WML to the new syntax
* Son of the Black Eye:
* Converted animation WML to the new syntax
* Engine:
* CampaignWML support for MP including difficulties, extra defines etc.
* Use the same codepath to initialize every MP campaign's scenario, thus

View file

@ -46,21 +46,18 @@
[filter_attack]
name=curse
[/filter_attack]
missile_start_time=-200
[missile_frame]
begin=-200
end=200
duration=400
halo="halo/elven/druid-healing[8~1].png:50"
offset=1.0~0.0
[/missile_frame]
start_time=-200
[frame]
begin=-200
end=0
image="units/orcish-shaman-tan-curse-1.png"
image="units/orcish-shaman-tan-curse-1.png:200"
[/frame]
[frame]
begin=0
end=200
image="units/orcish-shaman-tan.png"
image="units/orcish-shaman-tan.png:200"
sound=magicmissile.wav
[/frame]
[/attack_anim]
@ -68,33 +65,16 @@
[filter_attack]
name=staff
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-100
image="units/orcish-shaman-tan.png"
image="units/orcish-shaman-tan.png:100"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
image="units/orcish-shaman-tan-staff-1.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=50
image="units/orcish-shaman-tan-staff-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
begin=50
end=150
image="units/orcish-shaman-tan.png"
image="units/orcish-shaman-tan-staff-1.png:150"
[/frame]
[frame]
image="units/orcish-shaman-tan.png:100"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -46,21 +46,18 @@
[filter_attack]
name=curse
[/filter_attack]
missile_start_time=-200
[missile_frame]
begin=-200
end=200
duration=400
halo="halo/elven/druid-healing[8~1].png:50"
offset=1.0~0.0
[/missile_frame]
start_time=-200
[frame]
begin=-200
end=0
image="units/orcish-shaman-black-curse-1.png"
image="units/orcish-shaman-black-curse-1.png:200"
[/frame]
[frame]
begin=0
end=200
image="units/orcish-shaman-black.png"
image="units/orcish-shaman-black.png:200"
sound=magicmissile.wav
[/frame]
[/attack_anim]
@ -68,33 +65,16 @@
[filter_attack]
name=staff
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-100
image="units/orcish-shaman-black.png"
image="units/orcish-shaman-black.png:100"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
image="units/orcish-shaman-black-staff-1.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=50
image="units/orcish-shaman-black-staff-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
begin=50
end=150
image="units/orcish-shaman-black.png"
image="units/orcish-shaman-black-staff-1.png:150"
[/frame]
[frame]
image="units/orcish-shaman-black.png:100"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -46,21 +46,18 @@
[filter_attack]
name=curse
[/filter_attack]
missile_start_time=-200
[missile_frame]
begin=-200
end=200
duration=400
halo="halo/elven/druid-healing[8~1].png:50"
offset=1.0~0.0
[/missile_frame]
start_time=-200
[frame]
begin=-200
end=0
image="units/orcish-shaman-red-curse-1.png"
image="units/orcish-shaman-red-curse-1.png:200"
[/frame]
[frame]
begin=0
end=200
image="units/orcish-shaman-red.png"
image="units/orcish-shaman-red.png:200"
sound=magicmissile.wav
[/frame]
[/attack_anim]
@ -68,33 +65,16 @@
[filter_attack]
name=staff
[/filter_attack]
start_time=-200
[frame]
begin=-200
end=-100
image="units/orcish-shaman-red.png"
image="units/orcish-shaman-red.png:100"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
image="units/orcish-shaman-red-staff-1.png"
sound=staff.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=50
image="units/orcish-shaman-red-staff-1.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
{SOUND:HIT_AND_MISS staff.wav {SOUND_LIST:MISS} -100}
[frame]
begin=50
end=150
image="units/orcish-shaman-red.png"
image="units/orcish-shaman-red-staff-1.png:150"
[/frame]
[frame]
image="units/orcish-shaman-red.png:100"
[/frame]
[/attack_anim]
[/unit_type]