Fixed some defense animations and did a few other little animation fixes.
Increased length of defense animations to 250ms instead of 200ms. Only for trunk.
This commit is contained in:
parent
565d9bf90b
commit
e82192c056
7 changed files with 123 additions and 47 deletions
|
@ -1,12 +1,12 @@
|
|||
#define DEFENSE_ANIM FRAME BASEFRAME HITSOUND
|
||||
[defend]
|
||||
[frame]
|
||||
begin=-101
|
||||
end=-100
|
||||
begin=-126
|
||||
end=-125
|
||||
image={BASEFRAME}
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
begin=-125
|
||||
end=-25
|
||||
image={FRAME}
|
||||
[/frame]
|
||||
|
@ -14,7 +14,7 @@
|
|||
hits=yes
|
||||
[frame]
|
||||
begin=-25
|
||||
end=100
|
||||
end=125
|
||||
image={FRAME}
|
||||
sound={HITSOUND}
|
||||
[/frame]
|
||||
|
@ -23,13 +23,13 @@
|
|||
hits=no
|
||||
[frame]
|
||||
begin=-25
|
||||
end=100
|
||||
end=125
|
||||
image={FRAME}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=101
|
||||
begin=125
|
||||
end=126
|
||||
image={BASEFRAME}
|
||||
[/frame]
|
||||
[/defend]
|
||||
|
@ -41,12 +41,12 @@
|
|||
[defend]
|
||||
{FILTER}
|
||||
[frame]
|
||||
begin=-101
|
||||
end=-100
|
||||
begin=-126
|
||||
end=-125
|
||||
image={BASEFRAME}
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-100
|
||||
begin=-125
|
||||
end=-25
|
||||
image={FRAME}
|
||||
[/frame]
|
||||
|
@ -54,7 +54,7 @@
|
|||
hits=yes
|
||||
[frame]
|
||||
begin=-25
|
||||
end=100
|
||||
end=125
|
||||
image={FRAME}
|
||||
sound={HITSOUND}
|
||||
[/frame]
|
||||
|
@ -63,13 +63,13 @@
|
|||
hits=no
|
||||
[frame]
|
||||
begin=-25
|
||||
end=100
|
||||
end=125
|
||||
image={FRAME}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=101
|
||||
begin=125
|
||||
end=126
|
||||
image={BASEFRAME}
|
||||
[/frame]
|
||||
[/defend]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
name= _ "Fire Dragon"
|
||||
race=monster
|
||||
image="units/fire-dragon.png"
|
||||
{DEFENSE_ANIM "units/fire-dragon-defend.png" "units/fire-dragon.png" hiss-big.wav }
|
||||
{DEFENSE_ANIM "units/fire-dragon-defend.png" "units/fire-dragon.png" {SOUND_LIST:DRAKE_HIT} }
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_5}
|
||||
[/abilities]
|
||||
|
@ -18,7 +18,7 @@
|
|||
cost=100
|
||||
usage=archer
|
||||
unit_description= _ "A fire dragon is an ancient and horrifying being that normally lives only in hushed rumor and fantastic stories. It is normal for centuries to pass without a dragon being seen in Wesnoth, and usually it is only as a shadowy form flying in the distance. Legends are very specific about the ravages of fire dragons: hideously swift in flight, leathery wings spread over one hundred feet in width, they swoop in and blast their prey with inferno jets of flame. Anything escaping the dragon's fire breath must beware its ferocious bite and crushing tail. Fire dragons are cunning and cruel and often take underlings whom they lead to victory."
|
||||
die_sound=hiss-die.wav
|
||||
die_sound={SOUND_LIST:DRAKE_DIE}
|
||||
[attack]
|
||||
name=bite
|
||||
icon=attacks/animal-fangs.png
|
||||
|
|
|
@ -25,20 +25,30 @@
|
|||
[defend]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-150
|
||||
end=-60
|
||||
begin=-126
|
||||
end=-125
|
||||
image="neutral-outlaw-princess.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-125
|
||||
end=-42
|
||||
image="neutral-outlaw-princess-defend-1-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-60
|
||||
end=60
|
||||
begin=-42
|
||||
end=41
|
||||
image="neutral-outlaw-princess-defend-1-2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=60
|
||||
end=150
|
||||
begin=41
|
||||
end=125
|
||||
image="neutral-outlaw-princess-defend-1-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=125
|
||||
end=126
|
||||
image="neutral-outlaw-princess.png"
|
||||
[/frame]
|
||||
[/defend]
|
||||
[attack]
|
||||
name=staff
|
||||
|
|
|
@ -28,20 +28,30 @@
|
|||
[defend]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-150
|
||||
end=-60
|
||||
begin=-126
|
||||
end=-125
|
||||
image="neutral-outlaw-queen.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-125
|
||||
end=-42
|
||||
image="neutral-outlaw-queen-defend-1-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-60
|
||||
end=60
|
||||
begin=-42
|
||||
end=41
|
||||
image="neutral-outlaw-queen-defend-1-2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=60
|
||||
end=150
|
||||
begin=41
|
||||
end=125
|
||||
image="neutral-outlaw-queen-defend-1-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=125
|
||||
end=126
|
||||
image="neutral-outlaw-queen.png"
|
||||
[/frame]
|
||||
[/defend]
|
||||
[attack]
|
||||
name=staff
|
||||
|
|
|
@ -23,8 +23,58 @@ Special Notes:"+{SPECIAL_NOTES_SKIRMISHER}
|
|||
[abilities]
|
||||
{ABILITY_SKIRMISHER}
|
||||
[/abilities]
|
||||
{DEFENSE_ANIM_FILTERED "units/human-loyalists/fencer-defend-1-1.png" "units/human-loyalists/fencer.png" {SOUND_LIST:HUMAN_HIT} hit=no }
|
||||
{DEFENSE_ANIM_FILTERED "units/human-loyalists/fencer-defend.png" "units/human-loyalists/fencer.png" {SOUND_LIST:HUMAN_HIT} hit=yes }
|
||||
[defend]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-126
|
||||
end=-125
|
||||
image="units/human-loyalists/fencer.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-125
|
||||
end=-42
|
||||
image="units/human-loyalists/fencer-defend-1-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-42
|
||||
end=41
|
||||
image="units/human-loyalists/fencer-defend-1-2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=41
|
||||
end=125
|
||||
image="units/human-loyalists/fencer-defend-1-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=125
|
||||
end=126
|
||||
image="units/human-loyalists/fencer-defend-1-1.png"
|
||||
[/frame]
|
||||
[/defend]
|
||||
[defend]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-126
|
||||
end=-125
|
||||
image="units/human-loyalists/fencer.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-125
|
||||
end=-25
|
||||
image="units/human-loyalists/fencer-defend.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-25
|
||||
end=125
|
||||
image="units/human-loyalists/fencer-defend.png"
|
||||
sound={SOUND_LIST:HUMAN_HIT}
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=125
|
||||
end=126
|
||||
image="units/human-loyalists/fencer.png"
|
||||
[/frame]
|
||||
[/defend]
|
||||
[death]
|
||||
[frame]
|
||||
begin=0
|
||||
|
|
|
@ -233,6 +233,12 @@ Special Notes:"+{SPECIAL_NOTES_MAGICAL}
|
|||
[frame]
|
||||
image="units/human-magi/mage+female-attack-magic2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/human-magi/mage+female-attack-magic2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/human-magi/mage+female-attack-magic2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/human-magi/mage+female-attack-magic1.png"
|
||||
[/frame]
|
||||
|
|
|
@ -20,47 +20,47 @@
|
|||
[death]
|
||||
[frame]
|
||||
begin=0
|
||||
end=150
|
||||
end=55
|
||||
image="units/orcs/archer-death-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=300
|
||||
begin=55
|
||||
end=110
|
||||
image="units/orcs/archer-death-2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=300
|
||||
end=450
|
||||
begin=110
|
||||
end=165
|
||||
image="units/orcs/archer-death-3.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=450
|
||||
end=600
|
||||
begin=165
|
||||
end=220
|
||||
image="units/orcs/archer-death-4.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=600
|
||||
end=750
|
||||
begin=220
|
||||
end=275
|
||||
image="units/orcs/archer-death-5.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=750
|
||||
end=900
|
||||
begin=275
|
||||
end=330
|
||||
image="units/orcs/archer-death-6.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=900
|
||||
end=1050
|
||||
begin=330
|
||||
end=385
|
||||
image="units/orcs/archer-death-7.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=1050
|
||||
end=1200
|
||||
begin=385
|
||||
end=440
|
||||
image="units/orcs/archer-death-8.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=1200
|
||||
end=1350
|
||||
begin=440
|
||||
end=500
|
||||
image="units/orcs/archer-death-9.png"
|
||||
[/frame]
|
||||
[/death]
|
||||
|
|
Loading…
Add table
Reference in a new issue