wesnoth/data/core/units/dwarves/Sentinel.cfg
doofus-01 41b2030113
Revise the bobbing animation convention (#5388)
This shifts many bobbing animations to only run if the unit HP falls below a certain point.  Bobbing animations are a subset of standing animation, it is a case-by-case decision whether an animation should fall into this category or even be affected by this change.

Also in this:

* add wounded filter to STANDARD_IDLE_FILTER

* unit sprites - update orcish grunt and heaving anim

* units - north-facing sprites for orcish grunt
2020-12-28 10:43:21 -08:00

120 lines
3.6 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Dwarvish Sentinel
name= _ "Dwarvish Sentinel"
race=dwarf
image="units/dwarves/sentinel.png"
small_profile=portraits/dwarves/sentinel.png~CROP(0,100,400,400)
profile=portraits/dwarves/sentinel.png
hitpoints=68
movement_type=dwarvishfoot
movement=4
experience=150
level=3
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=44
usage=fighter
description= _ "Champions among their fellow troops, the dwarven sentinels form the bulwark of their battle lines. Leading a direct assault against a line that they fortify, is often out of the question; it tends toward being suicidal, rather than merely ineffectual. Equipped with the strongest of Knalgan armor, these dwarves are masters of the melee and can hold a patch of earth with the single-minded tenacity of an oak."
{NOTE_STEADFAST}
die_sound={SOUND_LIST:DWARF_DIE}
{DEFENSE_ANIM "units/dwarves/sentinel-defend-2.png" "units/dwarves/sentinel-defend-1.png" {SOUND_LIST:DWARF_HIT} }
[defense]
flat=60
forest=60
sand=60
mountains=40
hills=50
[/defense]
[resistance]
blade=70
pierce=70
[/resistance]
[abilities]
{ABILITY_STEADFAST}
[/abilities]
[attack]
name=spear
description=_"spear"
icon=attacks/spear.png
type=pierce
range=melee
damage=10
number=3
[/attack]
[attack]
name=javelin
description=_"javelin"
icon=attacks/javelin-human.png
type=pierce
range=ranged
damage=11
number=2
[/attack]
[standing_anim]
{WOUNDED_UNIT ()}
start_time=0
[frame]
image="units/dwarves/sentinel.png:400,units/dwarves/sentinel-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/sentinel.png:400,units/dwarves/sentinel-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/sentinel.png:400,units/dwarves/sentinel-bob-[1~5].png:[150*2,300,100*2]"
[/frame]
[/standing_anim]
[standing_anim]
start_time=0
[frame]
image="units/dwarves/sentinel.png:200"
[/frame]
[/standing_anim]
[attack_anim]
[filter_attack]
name=javelin
[/filter_attack]
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/spear-n.png"
image_diagonal="projectiles/spear-ne.png"
[/missile_frame]
start_time=-250
[frame]
image="units/dwarves/sentinel-defend-1.png:100"
sound={SOUND_LIST:THROW}
[/frame]
{SOUND:HIT spear.ogg -150}
[frame]
image="units/dwarves/sentinel-attack.png:100"
[/frame]
[frame]
image="units/dwarves/sentinel.png:50"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=spear
[/filter_attack]
start_time=-200
[frame]
image="units/dwarves/sentinel.png:50"
[/frame]
[frame]
image="units/dwarves/sentinel-defend-1.png:50"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/dwarves/sentinel-attack.png:150"
[/frame]
[frame]
image="units/dwarves/sentinel-defend-1.png:25"
[/frame]
[frame]
image="units/dwarves/sentinel.png:75"
[/frame]
[/attack_anim]
[/unit_type]