wesnoth/data/core/units/orcs/Archer.cfg
2023-07-16 00:20:28 +02:00

180 lines
5.7 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Orcish Archer
name= _ "Orcish Archer"
race=orc
image="units/orcs/archer.png"
profile="portraits/orcs/archer.webp"
hitpoints=32
movement_type=orcishfoot
movement=5
experience=32
level=1
alignment=chaotic
advances_to=Orcish Crossbowman
cost=14
usage=archer
description= _ "Although bows are sometimes regarded as cowardly armaments among orcs, the pragmatic nature of orcish warfare makes frequent use of these weapons, which are well-suited for those of smaller stature or build. A favored tactic among orcish archers is the use of flaming arrows to sow chaos among enemy lines, softening tough opponents for their bigger and stronger brethren to finish off on the frontlines. While typically poorly equipped themselves, these orcs can nonetheless be quite effective in large numbers."
die_sound={SOUND_LIST:ORC_SMALL_DIE}
{DEFENSE_ANIM_DIRECTIONAL_RANGE "units/orcs/archer-defend-2.png" "units/orcs/archer-defend-1.png" "units/orcs/archer-ne-defend-2.png" "units/orcs/archer-ne-defend-1.png" {SOUND_LIST:ORC_SMALL_HIT} melee}
{DEFENSE_ANIM_DIRECTIONAL_RANGE "units/orcs/archer-bow-defend.png" "units/orcs/archer-bow.png" "units/orcs/archer-ne-bow-defend.png" "units/orcs/archer-ne-bow.png" {SOUND_LIST:ORC_SMALL_HIT} ranged}
[attack]
name=dagger
description=_"dagger"
icon=attacks/dagger-orcish.png
type=blade
range=melee
damage=3
number=2
[/attack]
[attack]
name=bow
description=_"bow"
icon=attacks/bow-orcish.png
type=pierce
range=ranged
damage=6
number=3
[/attack]
[attack]
name=bow
description=_"bow"
icon=attacks/bow-orcish.png
type=fire
range=ranged
damage=7
number=2
[/attack]
[standing_anim]
start_time=0
{WOUNDED_UNIT ()}
[if]
direction=s,se,sw
[frame]
image="units/orcs/archer-bob-[1~6].png:[150*2,200,150*3]"
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image="units/orcs/archer-ne-bob-[2,1~4,3].png:[190*4,360,190]"
[/frame]
[/else]
[/standing_anim]
{STANDING_ANIM_DIRECTIONAL "units/orcs/archer.png" "units/orcs/archer-ne.png"}
[idle_anim]
{STANDARD_IDLE_FILTER}
[if]
direction=s,se,sw
start_time=0
[frame]
image="units/orcs/archer-idle-[1~3,6,4,3,6,4~6,2,1].png:[100*3,200,100*2,200,100*2,200,100*2]"
[/frame]
[/if]
[else]
direction=n,ne,nw
start_time=0
[frame]
image="units/orcs/archer-ne-idle-[1~3,6,4,3,6,4~6,2,1].png:[100*3,200,100*2,200,100*2,200,100*2]"
[/frame]
[/else]
[/idle_anim]
[attack_anim]
[filter_attack]
name=bow
type=fire
[/filter_attack]
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-fire-n.png"
image_diagonal="projectiles/missile-fire-ne.png"
[/missile_frame]
[if]
hits=no
[/if]
[else]
hits=yes
missile_offset=0~0.8:150
{FIRE_BURST_SMALL}
[/else]
start_time=-445
[if]
direction=s,se,sw
[frame]
image="units/orcs/archer-bow.png:65"
[/frame]
[frame]
image="units/orcs/archer-bow-attack-[1,2].png:75"
[/frame]
[frame]
image="units/orcs/archer-bow-attack-3.png:100"
[/frame]
[frame]
image="units/orcs/archer-bow-attack-[4,1].png:[130,65]"
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image="units/orcs/archer-ne.png:60"
[/frame]
[frame]
image="units/orcs/archer-ne-bow-attack-[1~4,1].png:[85*3,95,100]"
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow-puny-fire.ogg bow-puny-fire-miss.ogg -230}
[/attack_anim]
[attack_anim]
[filter_attack]
name=bow
type=pierce
[/filter_attack]
start_time=-445
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[if]
direction=s,se,sw
[frame]
image="units/orcs/archer-bow.png:65"
[/frame]
[frame]
image="units/orcs/archer-bow-attack-[1~4,1].png:[75*2,100,130,65]"
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image="units/orcs/archer-ne.png:65"
[/frame]
[frame]
image="units/orcs/archer-ne-bow-attack-[1~4,1].png:[75*2,100,130,65]"
[/frame]
[/else]
{SOUND:HIT_AND_MISS bow-puny.ogg bow-puny-miss.ogg -230}
[/attack_anim]
[attack_anim]
[filter_attack]
name=dagger
[/filter_attack]
offset=0.0~0.3,0.3~0.45,0.45~0.3,0.3~0.0
start_time=-300
[frame]
image="units/orcs/archer-melee.png:50"
[/frame]
[frame]
image="units/orcs/archer-melee-[1~6].png:[100*2,75,100*2,75]"
[/frame]
{SOUND:HIT_AND_MISS dagger-swish.wav {SOUND_LIST:MISS} -50}
[frame]
image="units/orcs/archer-melee.png:50"
[/frame]
[/attack_anim]
[/unit_type]