I'm looking at updating the monsters with directional walking animations. The artist who is doing this update for me has offered to create attack animations for these monsters as well, problem is I don't think there's anywhere for me to hook in an attack animation.
If something could be done about this then we'd be able to see when monsters break down walls and doors and not have to make assumptions about if they're attacking when you're in a dungeon.
I'll then have these animation sets generated. We're doing animals first so this is where you'd first see the new directional walking and attacking animation. I would then make an effort to keep monster_animation updates in sets.
Hello.
You should be able to use the "anim_suffix" trick described at http://wiki.cross-fire.org/dokuwiki/doku.php/dev:object_fields#anim_suffix (see below for a bug on monsters unfortunately).
I changed the code to allow a default "attack" animation for hand-to-hand combat, which will apply to monsters or players, in case no "anim_suffix" is defined for the weapon.
I also allowed the "anim_suffix" to be used on monsters, so it should work with skill attacks (punching and such).
There apparently is a bug (that I traced at https://sourceforge.net/p/crossfire/bugs/883/ ) which prevents monsters from using weapons, so right now they will use the "attack" animation.
Thank you for looking into this, I really appreciate it. I can now have attack animations generated for many of the monsters which I think will make a huge difference.
The bug about weapon not being applied should be fixed, so I guess this feature request can be considered fulfilled?