New TC images and animations for the human ranger.

This commit is contained in:
Richard Kettering 2007-12-24 04:26:11 +00:00
parent a1a71f6771
commit 361bbc564a

View file

@ -5,6 +5,7 @@
name= _ "Ranger"
race=human
image="units/human-outlaws/ranger.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=60
movement_type=smallfoot
movement=6
@ -20,7 +21,9 @@
The presence of these men troubles the more authoritarian of rulers; they are an element that knights and landed armies cannot control. They are men of dubious motives, and are the first to scoff at any royal decree, if they even hear of it at all. Rangers can be hired, but they are just as likely to be in the employ of bandits, as they are to be in the king's service."
die_sound={SOUND_LIST:HUMAN_DIE}
{DEFENSE_ANIM "units/human-outlaws/ranger-defend1.png" "units/human-outlaws/ranger.png" {SOUND_LIST:HUMAN_HIT} }
{DEFENSE_ANIM_RANGE "units/human-outlaws/ranger-sword-defend-2.png" "units/human-outlaws/ranger-sword-defend-1.png" {SOUND_LIST:HUMAN_HIT} melee }
{DEFENSE_ANIM_RANGE "units/human-outlaws/ranger-bow-defend.png" "units/human-outlaws/ranger-bow.png" {SOUND_LIST:HUMAN_HIT} ranged }
# Rangers are almost like human elves
[defense]
swamp_water=40
@ -54,7 +57,6 @@ The presence of these men troubles the more authoritarian of rulers; they are an
[attack_filter]
name=bow
[/attack_filter]
hits=yes
[missile_frame]
begin=-150
end=0
@ -62,102 +64,92 @@ The presence of these men troubles the more authoritarian of rulers; they are an
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-500
end=-300
image="units/human-outlaws/ranger-ranged1.png"
sound=bow.ogg
begin=-400
end=-325
image="units/human-outlaws/ranger-bow.png"
[/frame]
[if]
hits=yes
[frame]
begin=-325
end=-250
image="units/human-outlaws/ranger-bow-attack1.png"
sound=bow.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-325
end=-250
image="units/human-outlaws/ranger-bow-attack1.png"
sound=bow-miss.ogg
[/frame]
[/else]
[frame]
begin=-250
end=-100
image="units/human-outlaws/ranger-bow-attack2.png"
[/frame]
[frame]
begin=-300
end=-150
image="units/human-outlaws/ranger-ranged2.png"
begin=-100
end=-25
image="units/human-outlaws/ranger-bow-attack3.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/human-outlaws/ranger-ranged3.png"
begin=-25
end=50
image="units/human-outlaws/ranger-bow-attack4.png"
[/frame]
[frame]
begin=-50
begin=50
end=100
image="units/human-outlaws/ranger-ranged4.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=bow
[/attack_filter]
hits=no
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-500
end=-300
image="units/human-outlaws/ranger-ranged1.png"
sound=bow-miss.ogg
[/frame]
[frame]
begin=-300
end=-150
image="units/human-outlaws/ranger-ranged2.png"
[/frame]
[frame]
begin=-150
end=-50
image="units/human-outlaws/ranger-ranged3.png"
[/frame]
[frame]
begin=-50
end=100
image="units/human-outlaws/ranger-ranged4.png"
image="units/human-outlaws/ranger-bow.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=sword
[/attack_filter]
hits=yes
[frame]
begin=-250
end=-200
image="units/human-outlaws/ranger-sword.png"
[/frame]
[frame]
begin=-200
end=-150
image="units/human-outlaws/ranger-melee1.png"
end=-100
image="units/human-outlaws/ranger-sword-attack1.png"
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=50
image="units/human-outlaws/ranger-sword-attack2.png"
sound=dagger-swish.wav
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=50
image="units/human-outlaws/ranger-sword-attack2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=-150
end=100
image="units/human-outlaws/ranger-melee2.png"
sound=dagger-swish.wav
[/frame]
[frame]
begin=100
begin=50
end=150
image="units/human-outlaws/ranger.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=sword
[/attack_filter]
hits=no
[frame]
begin=-200
end=-150
image="units/human-outlaws/ranger-melee1.png"
image="units/human-outlaws/ranger-sword-attack3.png"
[/frame]
[frame]
begin=-150
end=100
image="units/human-outlaws/ranger-melee2.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=100
end=150
image="units/human-outlaws/ranger.png"
begin=150
end=200
image="units/human-outlaws/ranger-sword.png"
[/frame]
[/attack_anim]
[/unit]