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