Wire attack animations for Gerrick in TSG.

This commit is contained in:
Phil Barber 2010-08-16 15:59:35 +00:00
parent b94bba36bc
commit 0583830c0c
2 changed files with 187 additions and 77 deletions

View file

@ -49,4 +49,103 @@
icon=attacks/rectangular-shield.png
[/attack]
{DEFENSE_ANIM "units/infantry-commander.png" "units/infantry-commander.png" {SOUND_LIST:HUMAN_HIT} }
[attack_anim]
[filter_attack]
name=glaive
[/filter_attack]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[if]
hits=no
[frame]
duration=100
image="units/infantry-commander.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
duration=100
image="units/infantry-commander"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=shield
[/filter_attack]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[if]
hits=no
[frame]
duration=100
image="units/infantry-commander.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
duration=100
image="units/infantry-commander"
sound="mace.ogg"
[/frame]
[/else]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[frame]
duration=100
image="units/infantry-commander.png"
[/frame]
[/attack_anim]
[/unit_type]

View file

@ -1,77 +1,88 @@
#textdomain wesnoth-tsg
[unit_type]
id=Infantry Lieutenant
name= _ "Infantry Lieutenant"
race=human
image="units/infantry-lieutenant.png"
{MAGENTA_IS_THE_TEAM_COLOR}
[leading_anim]
[frame]
begin=-150
end=150
image="units/infantry-lieutenant.png"
[/frame]
[/leading_anim]
hitpoints=48
alignment=lawful
cost=35
movement_type=armoredfoot
movement=5
level=2
experience=75
advances_to=Infantry Commander
[abilities]
{ABILITY_LEADERSHIP_LEVEL_2}
[/abilities]
usage=fighter
description= _ "Commanders of the infantry of Wesnoth are responsible for the garrison and defense of the border towns and villages. They are drawn from the ranks of veteran soldiers, not nobility, and all have shown leadership and courage in battle."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}
die_sound={SOUND_LIST:HUMAN_DIE}
[attack]
name=glaive
description= _"glaive"
icon=attacks/glaive.png
type=blade
range=melee
damage=10
number=3
[/attack]
{DEFENSE_ANIM "units/infantry-lieutenant.png" "units/infantry-lieutenant.png" {SOUND_LIST:HUMAN_HIT} }
[attack_anim]
[filter_attack]
name=glaive
[/filter_attack]
[frame]
begin=-200
end=-150
image="units/infantry-lieutenant.png"
[/frame]
[if]
hits=no
[frame]
begin=-150
end=50
image="units/infantry-lieutenant.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
begin=-150
end=50
image="units/infantry-lieutenant.png"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
begin=50
end=150
image="units/infantry-lieutenant.png"
[/frame]
[frame]
begin=150
end=200
image="units/infantry-lieutenant.png"
[/frame]
[/attack_anim]
[/unit_type]
#textdomain wesnoth-tsg
[unit_type]
id=South Guard Captain
name= _ "Infantry Lieutenant"
race=human
image="units/infantry-lieutenant.png"
{MAGENTA_IS_THE_TEAM_COLOR}
[leading_anim]
[frame]
begin=-150
end=150
image="units/infantry-lieutenant-attack-8.png"
[/frame]
[/leading_anim]
hitpoints=48
alignment=lawful
cost=35
movement_type=armoredfoot
movement=5
level=2
experience=75
advances_to=South Guard Commander
[abilities]
{ABILITY_LEADERSHIP_LEVEL_2}
[/abilities]
usage=fighter
description= _ "Commanders of the infantry of Wesnoth are responsible for the garrison and defense of the border towns and villages. They are drawn from the ranks of veteran soldiers, not nobility, and all have shown leadership and courage in battle."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}
die_sound={SOUND_LIST:HUMAN_DIE}
[attack]
name=glaive
description= _"glaive"
icon=attacks/glaive.png
type=blade
range=melee
damage=10
number=3
[/attack]
{DEFENSE_ANIM "units/infantry-lieutenant-attack-1.png" "units/infantry-lieutenant.png" {SOUND_LIST:HUMAN_HIT} }
[attack_anim]
[filter_attack]
name=glaive
[/filter_attack]
[frame]
duration=100
image="units/infantry-lieutenant-attack-1.png"
[/frame]
[frame]
duration=100
image="units/infantry-lieutenant-attack-2.png"
[/frame]
[frame]
duration=100
image="units/infantry-lieutenant-attack-3.png"
[/frame]
[frame]
duration=100
image="units/infantry-lieutenant-attack-4.png"
[/frame]
[frame]
duration=100
image="units/infantry-lieutenant-attack-5.png"
[/frame]
[if]
hits=no
[frame]
duration=100
image="units/infantry-lieutenant-attack-6.png"
sound={SOUND_LIST:MISS}
[/frame]
[/if]
[else]
hits=yes
[frame]
duration=100
image="units/infantry-lieutenant-attack-6"
sound={SOUND_LIST:SWORD_SWISH}
[/frame]
[/else]
[frame]
duration=100
image="units/infantry-lieutenant-attack-7.png"
[/frame]
[frame]
duration=100
image="units/infantry-lieutenant-attack-8.png"
[/frame]
[/attack_anim]
[/unit_type]