Questions on animated player model and animated entities
Posted: Mon Apr 20, 2020 09:16
Hi, I'm working on a game and wanted to use a custom player model and wanted to use animated entities. I've already managed to make and animate the models in Blender and exported them as .b3d, using the default player .blend file as an example.
However, for what concerns the entities I cannot figure out their declaration, despite having looked through the API documentation, the wiki, and some mods, but couldn't check the forum because of the various errors and connection timeouts, while for the player model I tried to modify the player_api mod, but when I start the game I get this error:
I'm using Minipeli as a base and I have added only a mod to add a few meshnodes and particle spawners.
Thanks in advance for any help
EDIT: updated the error code, the error is the same as before
However, for what concerns the entities I cannot figure out their declaration, despite having looked through the API documentation, the wiki, and some mods, but couldn't check the forum because of the various errors and connection timeouts, while for the player model I tried to modify the player_api mod, but when I start the game I get this error:
Code: Select all
2020-04-21 10:38:54: ACTION[Main]: World at [F:\Download\minetest-5.2.0-win64\bin\..\worlds\assa]
2020-04-21 10:38:54: ACTION[Main]: Server for gameid="test" listening on 0.0.0.0:55198.
2020-04-21 10:38:55: ACTION[Server]: singleplayer [127.0.0.1] joins game. List of players: singleplayer
2020-04-21 10:38:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'player_api' in callback on_joinplayer(): Invalid position (expected table got number).
2020-04-21 10:38:55: ERROR[Main]: stack traceback:
2020-04-21 10:38:55: ERROR[Main]: [C]: in function 'set_local_animation'
2020-04-21 10:38:55: ERROR[Main]: ...t-5.2.0-win64\bin\..\games\test\mods\player_api\init.lua:21: in function <...t-5.2.0-win64\bin\..\games\test\mods\player_api\init.lua:18>
2020-04-21 10:38:55: ERROR[Main]: ...ad\minetest-5.2.0-win64\bin\..\builtin\game\register.lua:429: in function <...ad\minetest-5.2.0-win64\bin\..\builtin\game\register.lua:413>
2020-04-21 10:38:55: ERROR[Main]: stack traceback:
2020-04-21 10:38:55: ERROR[Main]: [C]: in function 'set_local_animation'
2020-04-21 10:38:55: ERROR[Main]: ...t-5.2.0-win64\bin\..\games\test\mods\player_api\init.lua:21: in function <...t-5.2.0-win64\bin\..\games\test\mods\player_api\init.lua:18>
2020-04-21 10:38:55: ERROR[Main]: ...ad\minetest-5.2.0-win64\bin\..\builtin\game\register.lua:429: in function <...ad\minetest-5.2.0-win64\bin\..\builtin\game\register.lua:413>
2020-04-21 10:38:55: ACTION[Server]: singleplayer leaves game. List of players:
2020-04-21 10:38:55: ACTION[Main]: Server: Shutting down
2020-04-21 10:39:10: ERROR[Main]: Per favore scegli un nome!
Thanks in advance for any help
EDIT: updated the error code, the error is the same as before