sirrobzeroone / 3d_armor_flyswim Goto Github PK
View Code? Open in Web Editor NEWadds flying and swimming animations for the player character in minetest
License: Other
adds flying and swimming animations for the player character in minetest
License: Other
Swim and fly animations not applied when using: skinsdb.
Still when 'swimming' the head looks the sky (swim is detected).
I still like to be able to change skin so simple-skins seems to be an altenative.
2021-03-07 01:23:18: WARNING[Server]: Assignment to undeclared global "n_draw" inside a function at ...t-server/.minetest/mods/3d_armor_flyswim/i_functions.lua:56.
I don't know if the player position should be offested on z by +0.5 when flying and swimming, or if it's just related to the models.
Anyway this make terrible camera jumps when getting in and out of water.
When flying it seems ok with player position, quite sure just require offset the model by +0.5
I don't know if you will get this schematic but rotation is now like this "| -> _" when it should be "| -> -"
Think this one needs local
--- i_functions.lua +++ i_functions.lua @@ -52,6 +52,7 @@ compare = draw_tl end + local_ndraw for k,v in pairs(nodes) do n_draw = minetest.registered_nodes[v.name].drawtype for k2,v2 in ipairs(compare) do
Sed fix:
sed -i '55i local_ndraw' i_functions.lua
2022-08-13 17:48:06: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback environment_Step(): /home/sam/.minetest/mods/3d_arm
or_flyswim/i_functions.lua:107: attempt to index a nil value
2022-08-13 17:48:06: ERROR[Main]: stack traceback:
2022-08-13 17:48:06: ERROR[Main]: .minetest/mods/3d_armor_flyswim/i_functions.lua:107: in function 'crouch_wa'
2022-08-13 17:48:06: ERROR[Main]: .minetest/mods/3d_armor_flyswim/init.lua:142: in function <.minetest/mods/3d_armor_flyswim/
init.lua:130>
2022-08-13 17:48:06: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:4
15>
Crash when I activate that module:
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback environment_Step(): ...minetestsrc/bin/../mods/3d_armor_flyswim/i_functions.lua:106: wrong number of arguments to 'insert'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: stack traceback:
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: [C]: in function 'insert'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: ...minetestsrc/bin/../mods/3d_armor_flyswim/i_functions.lua:106: in function 'get_node_down_drawtype'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: ...netest/minetestsrc/bin/../mods/3d_armor_flyswim/init.lua:203: in function 'func'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: .../minetestsrc/bin/../builtin/profiler/instrumentation.lua:108: in function 'globalstep'
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: ...inetestsrc/bin/../mods/monitoring/builtin/globalstep.lua:32: in function <...inetestsrc/bin/../mods/monitoring/builtin/globalstep.lua:24>
Nov 12 06:35:10 minetest minetestserver[459786]: 2023-11-12 06:35:10: ERROR[Main]: /opt/minetest/minetestsrc/bin/../builtin/game/register.lua:446: in function </opt/minetest/minetestsrc/bin/../builtin/game/register.lua:432>
Nov 12 06:35:10 minetest systemd[1]: minetestserver.service: Main process exited, code=exited, status=1/FAILURE
Stepping onto unknown node triggeres it.
AsyncErr: environment_Step: Runtime error from mod '' in callback environment_Step(): .minetest/mods/3d_armor_flyswim/init.lua:117: attempt to index a nil value
stack traceback:
/mods/3d_armor_flyswim/init.lua:117: in function <.minetest/mods/3d_armor_flyswim/init.lua:106>
/usr/share/games/minetest/builtin/game/register.lua:429: in function </usr/share/games/minetest/builtin/game/register.lua:413>
stack traceback:
It would be interesting to include animations of elbows and knees to use in the rpg, the game would be more dynamic!
If the player is on shift and stays in the corner of the block, undoes the crouching animation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.