1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

Added ability for multiple animations per action

This commit is contained in:
TenPlus1
2018-08-03 09:43:50 +01:00
parent 4badcec318
commit 0482581f18
2 changed files with 28 additions and 7 deletions

View File

@ -172,7 +172,7 @@ functions needed for the mob to work properly which contains the following:
'rotate' custom model rotation, 0 = front, 90 = side, 180 = back,
270 = other side.
'double_melee_attack' when true has the api choose between 'punch' and
'punch2' animations.
'punch2' animations. [DEPRECATED]
'animation' holds a table containing animation names and settings for use with mesh models:
'stand_start' start frame for when mob stands still.
@ -207,6 +207,9 @@ functions needed for the mob to work properly which contains the following:
'speed_normal' is used for animation speed for compatibility with some
older mobs.
Note: Up to 5 different animations can be used per action e.g.
stand_start, stand_end, stand1_start, stand1_end .. up to stand4_start
Node Replacement
----------------