Added team-color macro and new animation scripting to the Cavalier.

This commit is contained in:
Richard Kettering 2006-06-25 09:56:34 +00:00
parent 6badb03d63
commit 313db4368f

View File

@ -3,6 +3,7 @@
name= _ "Cavalier"
race=human
image="units/human-loyalists/cavalier.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=68
movement_type=mounted
movement=9
@ -37,18 +38,6 @@
impact=60
cold=80
[/resistance]
[death]
[frame]
begin=0
end=200
image="units/human-loyalists/cavalier-die-1.png"
[/frame]
[frame]
begin=200
end=400
image="units/human-loyalists/cavalier-die-2.png"
[/frame]
[/death]
[attack]
name=sword
icon=attacks/human-greatsword.png
@ -126,43 +115,93 @@
number=1
[animation]
hits=no
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[frame]
begin=-350
begin=-1100
end=-1000
image="units/human-loyalists/cavalier-ranged-1.png"
[/frame]
[frame]
begin=-1000
end=-900
image="units/human-loyalists/cavalier-ranged-2.png"
[/frame]
[frame]
begin=-800
end=-700
image="units/human-loyalists/cavalier-ranged-3.png"
[/frame]
[frame]
begin=-700
end=-600
image="units/human-loyalists/cavalier-ranged-4.png"
[/frame]
[frame]
begin=-600
end=-500
image="units/human-loyalists/cavalier-ranged-5.png"
[/frame]
[frame]
begin=-500
end=-300
image="units/human-loyalists/cavalier-range1.png"
image="units/human-loyalists/cavalier-ranged-6.png"
sound=crossbow-miss.ogg
[/frame]
[frame]
begin=-300
end=0
image="units/human-loyalists/cavalier-range2.png"
end=-0
image="units/human-loyalists/cavalier-ranged-7.png"
[/frame]
[/animation]
[animation]
hits=yes
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/animation]
[animation]
hits=yes
[frame]
begin=-350
begin=-1100
end=-1000
image="units/human-loyalists/cavalier-ranged-1.png"
[/frame]
[frame]
begin=-1000
end=-900
image="units/human-loyalists/cavalier-ranged-2.png"
[/frame]
[frame]
begin=-800
end=-700
image="units/human-loyalists/cavalier-ranged-3.png"
[/frame]
[frame]
begin=-700
end=-600
image="units/human-loyalists/cavalier-ranged-4.png"
[/frame]
[frame]
begin=-600
end=-500
image="units/human-loyalists/cavalier-ranged-5.png"
[/frame]
[frame]
begin=-500
end=-300
image="units/human-loyalists/cavalier-range1.png"
image="units/human-loyalists/cavalier-ranged-6.png"
sound=crossbow.ogg
[/frame]
[frame]
begin=-300
end=0
image="units/human-loyalists/cavalier-range2.png"
end=-0
image="units/human-loyalists/cavalier-ranged-7.png"
[/frame]
[missile_frame]
begin=-150
end=0
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
[/animation]
[/attack]
[/unit]