Improved defense and attack animations for the royal guard.
This commit is contained in:
parent
b1a0af242c
commit
b3e42016aa
1 changed files with 43 additions and 13 deletions
|
@ -18,7 +18,7 @@
|
|||
usage=fighter
|
||||
unit_description= _ "Royal Guards are picked from the best swordsmen in Wesnoth. Serving under any of the higher nobility, they function as bodyguards, and partly as a badge of office for their employers. A special force of Royal Guards is stationed at the capitol, guarding the palace grounds and the royal family. Because of their trusted relationship to their superiors, they, rather than mercenaries, are often deployed on missions of crucial import. Their reliability and mastery of close combat are their best assets, for which they are well-renowned."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
{DEFENSE_ANIM "units/human-loyalists/royalguard-defend.png" "units/human-loyalists/royalguard.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
{DEFENSE_ANIM "units/human-loyalists/royalguard-defend-2.png" "units/human-loyalists/royalguard-defend-1.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
[resistance]
|
||||
blade=80
|
||||
impact=80
|
||||
|
@ -37,42 +37,72 @@
|
|||
name=sword
|
||||
[/attack_filter]
|
||||
[frame]
|
||||
begin=-225
|
||||
end=-175
|
||||
begin=-300
|
||||
end=-250
|
||||
image="units/human-loyalists/royalguard.png"
|
||||
offset=0.0~0.1
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-175
|
||||
begin=-250
|
||||
end=-200
|
||||
image="units/human-loyalists/royalguard-defend-1.png"
|
||||
offset=0.1~0.15
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image="units/human-loyalists/royalguard-attack.png"
|
||||
image="units/human-loyalists/royalguard-attack-sword1.png"
|
||||
offset=0.15~0.35
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image="units/human-loyalists/royalguard-attack2.png"
|
||||
end=-25
|
||||
image="units/human-loyalists/royalguard-attack-sword2.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
offset=0.35~0.45
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image="units/human-loyalists/royalguard-attack2.png"
|
||||
end=-25
|
||||
image="units/human-loyalists/royalguard-attack-sword2.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
offset=0.35~0.45
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
image="units/human-loyalists/royalguard-defend.png"
|
||||
begin=-25
|
||||
end=75
|
||||
image="units/human-loyalists/royalguard-attack-sword3.png"
|
||||
offset=0.45~0.5
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=175
|
||||
begin=75
|
||||
end=95
|
||||
image="units/human-loyalists/royalguard-attack-sword4.png"
|
||||
offset=0.5
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=95
|
||||
end=125
|
||||
image="units/human-loyalists/royalguard-attack-sword4.png"
|
||||
offset=0.5~0.4
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=125
|
||||
end=200
|
||||
image="units/human-loyalists/royalguard-attack-sword5.png"
|
||||
offset=0.4~0.2
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=225
|
||||
image="units/human-loyalists/royalguard.png"
|
||||
offset=0.2~0.0
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[/unit]
|
||||
|
|
Loading…
Add table
Reference in a new issue