Enhanced crossbow animations for general and marshal,
...ported the general's sword attack over to the marshal, and fixed some TC issues on the general.
This commit is contained in:
parent
6286d2db33
commit
eb3492372f
2 changed files with 80 additions and 36 deletions
|
@ -29,7 +29,7 @@
|
|||
unit_description= _ "As the leaders of their armies, Generals are responsible for the protection of large or important areas in the kingdoms to which they have sworn fealty."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/general-defend-2.png" "units/human-loyalists/general-defend-1.png" {SOUND_LIST:HUMAN_HIT} melee }
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/general-crossbow-defend.png" "units/human-loyalists/general-attack-crossbow.png" {SOUND_LIST:HUMAN_HIT} ranged }
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/general-crossbow-defend.png" "units/human-loyalists/general-crossbow.png" {SOUND_LIST:HUMAN_HIT} ranged }
|
||||
[resistance]
|
||||
blade=90
|
||||
pierce=90
|
||||
|
@ -114,24 +114,34 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
[frame]
|
||||
begin=-400
|
||||
end=-300
|
||||
image="units/human-loyalists/general-crossbow.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-350
|
||||
end=50
|
||||
image="units/human-loyalists/general-attack-crossbow.png"
|
||||
begin=-300
|
||||
end=-150
|
||||
image="units/human-loyalists/general-crossbow-attack1.png"
|
||||
sound=crossbow.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-350
|
||||
end=50
|
||||
image="units/human-loyalists/general-attack-crossbow.png"
|
||||
begin=-300
|
||||
end=-150
|
||||
image="units/human-loyalists/general-crossbow-attack1.png"
|
||||
sound=crossbow-miss.ogg
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=-150
|
||||
end=0
|
||||
image="units/human-loyalists/general-crossbow-attack2.png"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[attack_filter]
|
||||
|
@ -139,20 +149,14 @@
|
|||
[/attack_filter]
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-275
|
||||
end=-250
|
||||
image="units/human-loyalists/general.png"
|
||||
offset=0.0~0.05
|
||||
offset=0.0~0.1
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-275
|
||||
end=-235
|
||||
image="units/human-loyalists/general-defend-1.png"
|
||||
offset=0.05~0.1
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-235
|
||||
begin=-250
|
||||
end=-200
|
||||
image="units/human-loyalists/general-defend-2.png"
|
||||
image="units/human-loyalists/general-defend-1.png"
|
||||
offset=0.1~0.15
|
||||
[/frame]
|
||||
[frame]
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
usage=fighter
|
||||
unit_description= _ "The rank of Grand Marshal is one of the most esteemed in the armies of humanity, and those who bear its title have survived many trials by fire, proving both their tactical wit and their considerable mettle at personal combat."+{SPECIAL_NOTES}+{SPECIAL_NOTES_LEADERSHIP}
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/marshal-defend.png" "units/human-loyalists/marshal.png" {SOUND_LIST:HUMAN_HIT} melee }
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/marshal-defend-crossbow.png" "units/human-loyalists/marshal-defend-crossbow.png" {SOUND_LIST:HUMAN_HIT} ranged }
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/marshal-defend-2.png" "units/human-loyalists/marshal-defend-1.png" {SOUND_LIST:HUMAN_HIT} melee }
|
||||
{DEFENSE_ANIM_RANGE "units/human-loyalists/marshal-crossbow-defend.png" "units/human-loyalists/marshal-crossbow.png" {SOUND_LIST:HUMAN_HIT} ranged }
|
||||
[resistance]
|
||||
blade=80
|
||||
pierce=80
|
||||
|
@ -114,66 +114,106 @@
|
|||
image="projectiles/missile-n.png"
|
||||
image_diagonal="projectiles/missile-ne.png"
|
||||
[/missile_frame]
|
||||
[frame]
|
||||
begin=-400
|
||||
end=-300
|
||||
image="units/human-loyalists/marshal-crossbow.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-350
|
||||
end=50
|
||||
image="units/human-loyalists/marshal-attack-crossbow.png"
|
||||
begin=-300
|
||||
end=-150
|
||||
image="units/human-loyalists/marshal-crossbow-attack1.png"
|
||||
sound=crossbow.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-350
|
||||
end=50
|
||||
image="units/human-loyalists/marshal-attack-crossbow.png"
|
||||
begin=-300
|
||||
end=-150
|
||||
image="units/human-loyalists/marshal-crossbow-attack1.png"
|
||||
sound=crossbow-miss.ogg
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=-150
|
||||
end=0
|
||||
image="units/human-loyalists/marshal-crossbow-attack2.png"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[attack_filter]
|
||||
name=sword
|
||||
[/attack_filter]
|
||||
[frame]
|
||||
begin=-275
|
||||
begin=-300
|
||||
end=-250
|
||||
image="units/human-loyalists/marshal.png"
|
||||
offset=0.0~0.1
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-250
|
||||
end=-200
|
||||
image="units/human-loyalists/marshal-defend-1.png"
|
||||
offset=0.1~0.15
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
image="units/human-loyalists/marshal-defend.png"
|
||||
image="units/human-loyalists/marshal-attack-sword1.png"
|
||||
offset=0.15~0.35
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
begin=-100
|
||||
end=25
|
||||
image="units/human-loyalists/marshal-attack-sword1.png"
|
||||
end=-25
|
||||
image="units/human-loyalists/marshal-attack-sword2.png"
|
||||
sound={SOUND_LIST:SWORD_SWISH}
|
||||
offset=0.35~0.45
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
begin=-100
|
||||
end=25
|
||||
image="units/human-loyalists/marshal-attack-sword1.png"
|
||||
end=-25
|
||||
image="units/human-loyalists/marshal-attack-sword2.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
offset=0.35~0.45
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
begin=25
|
||||
end=100
|
||||
image="units/human-loyalists/marshal-attack-sword2.png"
|
||||
begin=-25
|
||||
end=75
|
||||
image="units/human-loyalists/marshal-attack-sword3.png"
|
||||
offset=0.45~0.5
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=100
|
||||
end=175
|
||||
begin=75
|
||||
end=95
|
||||
image="units/human-loyalists/marshal-attack-sword4.png"
|
||||
offset=0.5
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=95
|
||||
end=125
|
||||
image="units/human-loyalists/marshal-attack-sword4.png"
|
||||
offset=0.5~0.4
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=125
|
||||
end=200
|
||||
image="units/human-loyalists/marshal-attack-sword5.png"
|
||||
offset=0.4~0.2
|
||||
[/frame]
|
||||
[frame]
|
||||
begin=150
|
||||
end=225
|
||||
image="units/human-loyalists/marshal.png"
|
||||
offset=0.2~0.0
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[/unit]
|
||||
|
|
Loading…
Add table
Reference in a new issue