Visual overhaul for the orc leader, and added a new leadership anim macro.
BIN
data/core/images/units/orcs/leader-attack-1.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
data/core/images/units/orcs/leader-attack-2.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/core/images/units/orcs/leader-attack-3.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/core/images/units/orcs/leader-attack-4.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/core/images/units/orcs/leader-attack-5.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/orcs/leader-defend-1.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/core/images/units/orcs/leader-defend-2.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/core/images/units/orcs/leader-lead-1.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/orcs/leader-lead-2.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/orcs/leader-ranged-attack-1.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/core/images/units/orcs/leader-ranged-attack-2.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/orcs/leader-ranged-defend.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/orcs/leader-ranged.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
|
@ -24,6 +24,31 @@
|
|||
[/standing_anim]
|
||||
#enddef
|
||||
|
||||
#define LEADING_ANIM FULL_IMAGE HALFWAYS_IMAGE
|
||||
# Define a defensive animation moving from a specified BASE_IMAGE
|
||||
# to REACTION_IMAGE, with HIT_SOUND playing only if a hit occurs.
|
||||
[leading_anim]
|
||||
start_time=-126
|
||||
[frame]
|
||||
duration=1
|
||||
image={HALFWAYS_IMAGE}
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image={FULL_IMAGE}
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=150
|
||||
image={FULL_IMAGE}
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=1
|
||||
image={HALFWAYS_IMAGE}
|
||||
[/frame]
|
||||
[/leading_anim]
|
||||
#enddef
|
||||
|
||||
|
||||
#define DEFENSE_ANIM REACTION_IMAGE BASE_IMAGE HIT_SOUND
|
||||
# Define a defensive animation moving from a specified BASE_IMAGE
|
||||
# to REACTION_IMAGE, with HIT_SOUND playing only if a hit occurs.
|
||||
|
|
|
@ -4,13 +4,7 @@
|
|||
name= _ "Orcish Leader"
|
||||
race=orc
|
||||
image="units/orcs/leader.png"
|
||||
[leading_anim]
|
||||
[frame]
|
||||
begin=-150
|
||||
end=150
|
||||
image="units/orcs/leader-leading.png"
|
||||
[/frame]
|
||||
[/leading_anim]
|
||||
{LEADING_ANIM "units/orcs/leader-lead-2.png" "units/orcs/leader-lead-1.png"}
|
||||
ellipse="misc/ellipse"
|
||||
{MAGENTA_IS_THE_TEAM_COLOR}
|
||||
hitpoints=45
|
||||
|
@ -24,8 +18,8 @@
|
|||
usage=mixed fighter
|
||||
description= _ "Unusually cunning orcs tend to find themselves as the leaders of warrior bands. They carry a bow out of necessity, but are much more skilled with the sword. These orcs are powerful fighters, but they also have a certain rapport with their kin, especially goblins, and can inspire them to fight with uncharacteristic boldness."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}
|
||||
die_sound={SOUND_LIST:ORC_DIE}
|
||||
{DEFENSE_ANIM_RANGE "units/orcs/leader-defend.png" "units/orcs/leader.png" {SOUND_LIST:ORC_HIT} melee}
|
||||
{DEFENSE_ANIM_RANGE "units/orcs/leader-bow-defend.png" "units/orcs/leader-bow.png" {SOUND_LIST:ORC_HIT} ranged}
|
||||
{DEFENSE_ANIM_RANGE "units/orcs/leader-defend-2.png" "units/orcs/leader-defend-1.png" {SOUND_LIST:ORC_HIT} melee}
|
||||
{DEFENSE_ANIM_RANGE "units/orcs/leader-ranged-defend.png" "units/orcs/leader-ranged.png" {SOUND_LIST:ORC_HIT} ranged}
|
||||
[abilities]
|
||||
{ABILITY_LEADERSHIP_LEVEL_1}
|
||||
[/abilities]
|
||||
|
@ -39,9 +33,9 @@
|
|||
number=3
|
||||
[/attack]
|
||||
[attack]
|
||||
name=bow
|
||||
description=_"bow"
|
||||
icon=attacks/bow-orcish.png
|
||||
name=crossbow
|
||||
description=_"crossbow"
|
||||
icon=attacks/crossbow-orcish.png
|
||||
type=pierce
|
||||
range=ranged
|
||||
damage=5
|
||||
|
@ -49,7 +43,7 @@
|
|||
[/attack]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=bow
|
||||
name=crossbow
|
||||
[/filter_attack]
|
||||
[missile_frame]
|
||||
begin=-150
|
||||
|
@ -60,62 +54,79 @@
|
|||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-400
|
||||
end=-300
|
||||
image="units/orcs/leader-bow.png"
|
||||
sound=bow.ogg
|
||||
begin=-300
|
||||
end=-150
|
||||
image="units/orcs/leader-ranged-attack-1.png"
|
||||
sound=crossbow.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-400
|
||||
end=-300
|
||||
image="units/orcs/leader-bow.png"
|
||||
sound=bow-miss.ogg
|
||||
begin=-300
|
||||
end=-150
|
||||
image="units/orcs/leader-ranged-attack-1.png"
|
||||
sound=crossbow-miss.ogg
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-50
|
||||
image="units/orcs/leader-bow-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-50
|
||||
end=50
|
||||
image="units/orcs/leader-bow.png"
|
||||
begin=-150
|
||||
end=0
|
||||
image="units/orcs/leader-ranged-attack-2.png"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=sword
|
||||
[/filter_attack]
|
||||
offset=0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75
|
||||
start_time=-300
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
duration=50
|
||||
image="units/orcs/leader.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=50
|
||||
image="units/orcs/leader-defend-1.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/orcs/leader-attack-1.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=no
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image="units/orcs/leader-attack.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
duration=75
|
||||
image="units/orcs/leader-attack-2.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=yes
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
image="units/orcs/leader-attack.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
duration=75
|
||||
image="units/orcs/leader-attack-2.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=100
|
||||
end=200
|
||||
duration=100
|
||||
image="units/orcs/leader-attack-3.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=20
|
||||
image="units/orcs/leader-attack-4.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=30
|
||||
image="units/orcs/leader-attack-4.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=75
|
||||
image="units/orcs/leader-attack-5.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=75
|
||||
image="units/orcs/leader.png"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
|
|