New frames for the wraith, added TC macro to the Spectre and Nightgaunt.

This commit is contained in:
Richard Kettering 2008-09-05 06:42:42 +00:00
parent 02281712ff
commit 1936c28f33
3 changed files with 149 additions and 25 deletions

View file

@ -4,6 +4,7 @@
name= _ "Nightgaunt"
race=undead
image="units/undead/nightgaunt.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=35
movement_type=undeadspirit
movement=7

View file

@ -4,6 +4,7 @@
name= _ "Spectre"
race=undead
image="units/undead/spectre.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=33
movement_type=undeadspirit
movement=7

View file

@ -3,7 +3,8 @@
id=Wraith
name= _ "Wraith"
race=undead
image="units/undead/wraith.png"
image="units/undead/wraith-s.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=25
movement_type=undeadspirit
movement=7
@ -34,7 +35,122 @@
damage=4
number=3
[/attack]
{DEFENSE_ANIM "units/undead/wraith-defend.png" "units/undead/wraith.png" wail.wav }
[standing_anim]
start_time=0
alpha=0.8~0.4:1100,0.4~0.6:450,0.6~0.4:450,0.4~0.8:1100
[frame]
duration=200
image="units/undead/wraith-s-1.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-2.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-3.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-4.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-1.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-2.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-3.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-4.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-1.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-2.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-3.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-4.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-1.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-2.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-3.png"
[/frame]
[frame]
duration=200
image="units/undead/wraith-s-4.png"
[/frame]
[/standing_anim]
[defend]
start_time=-126
[if]
hits=hit,kill
offset=0.0~-0.05:126,-0.05~0.0:126
alpha=0.8~0.5:126,0.5~0.8:126
[frame]
duration=1
image="units/undead/wraith-s-defend-1.png"
[/frame]
[frame]
duration=100
image="units/undead/wraith-s-defend-2.png"
[/frame]
[frame]
duration=150
image="units/undead/wraith-s-defend-2.png"
sound=wail-sml.wav
[/frame]
[frame]
duration=1
image="units/undead/wraith-s-defend-1.png"
[/frame]
[/if]
[else]
hits=miss
offset=0.0~-0.1:126,-0.1~0.0:126
alpha=0.8~0.25:126,0.25~0.8:126
[frame]
duration=1
image="units/undead/wraith-s-defend-1.png"
[/frame]
[frame]
duration=100
image="units/undead/wraith-s-defend-2.png"
[/frame]
[frame]
duration=150
image="units/undead/wraith-s-defend-2.png"
[/frame]
[frame]
duration=1
image="units/undead/wraith-s-defend-1.png"
[/frame]
[/else]
[/defend]
[attack_anim]
[filter_attack]
name=wail
@ -43,12 +159,12 @@
[frame]
begin=-250
end=-200
image="units/undead/wraith.png"
image="units/undead/wraith-s.png"
[/frame]
[frame]
begin=-200
end=50
image="units/undead/wraith-attack1.png"
image="units/undead/wraith-s-defend-1.png"
sound=wail-sml.wav
[/frame]
[/attack_anim]
@ -56,38 +172,44 @@
[filter_attack]
name=baneblade
[/filter_attack]
alpha=0.8~0.5:126,0.5~0.8:126
offset=0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0
start_time=-250
[frame]
begin=-250
end=-200
image="units/undead/wraith.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/undead/wraith-attack1.png"
duration=150
image="units/undead/wraith-s-attack-1.png"
[/frame]
[if]
hits=no
hits=yes
[frame]
begin=-100
end=100
image="units/undead/wraith-attack.png"
sound={SOUND_LIST:MISS}
duration=100
image="units/undead/wraith-s-attack-2.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/if]
[else]
hits=yes
hits=no
[frame]
begin=-100
end=100
image="units/undead/wraith-attack.png"
sound={SOUND_LIST:SWORD_SWISH}
duration=100
image="units/undead/wraith-s-attack-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
end=200
image="units/undead/wraith-defend.png"
duration=100
image="units/undead/wraith-s-attack-3.png"
[/frame]
[frame]
duration=90
image="units/undead/wraith-s-attack-4.png"
[/frame]
[frame]
duration=80
image="units/undead/wraith-s-attack-5.png"
[/frame]
[frame]
duration=50
image="units/undead/wraith-s-defend-1.png"
[/frame]
[/attack_anim]
[/unit_type]