added frames and animated the dummy in the tutorial.

This commit is contained in:
J.W. Bjerk 2006-03-13 03:49:09 +00:00
parent d8c15c9fb7
commit 1b3d01be85
5 changed files with 24 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -2,7 +2,7 @@
id=Dummy
name= _ "Dummy"
race=wose
image="items/dummy.png"
image="units/dummy.png"
movement=1
hitpoints=57
level=1
@ -15,6 +15,7 @@
blade=100
pierce=100
[/resistance]
get_hit_sound=staff.wav
[attack]
name=dummy
type=impact
@ -22,15 +23,28 @@
special=magical
damage=3
number=5
[animation]
[sound]
time=-200
sound=staff.wav
[/sound]
[sound]
time=100
sound=staff.wav
[/sound]
[animation]
[frame]
begin=-150
end=0
image=units/dummy-attack1.png
[/frame]
[frame]
begin=0
end=50
image=units/dummy=attack2.png
sound=mace.wav
[/frame]
[frame]
begin=50
end=120
image=units/dummy=attack3.png
[/frame]
[frame]
begin=120
end=190
image=units/dummy=attack2.png
[/frame]
[/animation]
[/attack]
[/unit]