mulambo
Member
I've declared the entity "knifeb" on models.txt
this is the code of knifeb.txt
and this is the launch animation on the character (the char has "load knifeb" and "know knifeb" in the header)
but the enemy is still not launching the knife (see attachment). Any clue of anything missing?
Code:
# Required objects. These must always be loaded
load Knifeb data/chars/misc/knifeb.txt
know Knifeb data/chars/misc/knifeb.txt
this is the code of knifeb.txt
Code:
name Knifeb
type none
speed 12
nolife 1
anim idle
delay 8
offset 25 50
loop 1
attack 4 4 40 40 15 1
sound data/sounds/knife.wav
frame data/chars/misc/knifeb0.gif
frame data/chars/misc/knifeb1.gif
frame data/chars/misc/knifeb2.gif
frame data/chars/misc/knifeb3.gif
and this is the launch animation on the character (the char has "load knifeb" and "know knifeb" in the header)
Code:
anim attack1
throwframe 0 44
range 70 200
loop 0
offset 57 114
bbox 41 35 40 80
delay 6
sound data/sounds/metal.wav
frame data/chars/berok/launch00.gif
offset 31 116
sound data/sounds/punch.wav
delay 20
offset 31 116
frame data/chars/berok/launch01.gif
delay 8
offset 57 114
frame data/chars/berok/wk1.gif
frame data/chars/berok/wk0.gif
but the enemy is still not launching the knife (see attachment). Any clue of anything missing?