[Mod] Bone-Based Animation [playeranim]

User avatar
Rui
Member
 
Posts: 260
Joined: Wed Oct 01, 2014 12:59
Location: Japan
GitHub: Rui-Minetest

[Mod] Bone-Based Animation [playeranim]

by Rui » Mon May 18, 2015 15:13

A mod that adds animations to the players' head.
This is a improved rewrite of kaeza's animplus mod.

Image

Supports

  • Minetest Game (0.4.16, 0.4.17, and 5.0.0)
  • 3D Armor

Dependencies

  • player_api or default (Both mods are in MTG)

Licenses

  • Source: The BSD 2-Clause License

Downloads

Attachments
playeranim_screenshot.jpg
(53.47 KiB) Not downloaded yet
Last edited by Rui on Mon Jun 18, 2018 08:45, edited 29 times in total.
I speak Engrish. Please let me know my grammatical errors stealthily.
 

User avatar
mahmutelmas06
Member
 
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [WIP][Mod] Animation of the player model [playeranim]

by mahmutelmas06 » Mon May 18, 2015 19:15

I use the mod for a long time (about 3 months in local multiplayer) and didt face with any problem.
It should be definetely default in minetest.
My Mods:

Beverage
 

sloantothebone
Member
 
Posts: 26
Joined: Thu Aug 28, 2014 18:42

Re: [WIP][Mod] Animation of the player model [playeranim]

by sloantothebone » Mon Jun 29, 2015 15:11

This works great! and I'm glad its compatible with 3d_armor. I'm trying to get this tested in multiplayer
 

User avatar
Calinou
Moderator
 
Posts: 3145
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: [WIP][Mod] Animation of the player model [playeranim]

by Calinou » Mon Jun 29, 2015 15:15

mahmutelmas06 wrote:I use the mod for a long time (about 3 months in local multiplayer) and didt face with any problem.
It should be definetely default in minetest.


It's horribly slow, sluggish unless you use dedicated_server_step = 0.01 or so and it's a hack; animations should not be hardcoded like this.
 

Anonymous_moose
Member
 
Posts: 38
Joined: Tue Aug 27, 2013 20:25
 

Anonymous_moose
Member
 
Posts: 38
Joined: Tue Aug 27, 2013 20:25

Re: [WIP][Mod] Animation of the player model [playeranim]

by Anonymous_moose » Wed Jul 01, 2015 13:19

Rui wrote:@mahmutelmas06
@Calinou
I agree to calinou.
This is a ugly hack.

@sloantothebone
Thanks.
Perhaps, this mod has a lot of bugs...

@Anonymous_moose
Are you enable the mod other than playeranim?
And, should you try change Normalmodel to false in init.lua.


changed Normalmodel to false, it was fixed. works great now
 

User avatar
SAMIAMNOT
Member
 
Posts: 406
Joined: Wed Sep 03, 2014 00:51
Location: Desert
In-game: notanewbie
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02
Location: MinetestForFun or Teeworlds master server list

Re: [Mod] Player model animation [playeranim]

by prof-turbo » Sat Oct 03, 2015 20:17

I don't know anything about code, but what I can tell is that I agree with Calinou : animation is too slow
 

User avatar
kaadmy
Member
 
Posts: 701
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Mod] Player model animation [playeranim]

by kaadmy » Sat Oct 03, 2015 20:42

prof-turbo wrote:I don't know anything about code, but what I can tell is that I agree with Calinou : animation is too slow

Animations are slow, because the animations are done server-side, so there's several seconds lag between animation frames.
Never paint white stripes on roads near Zebra crossings.

Pixture
 

User avatar
TheEpicJames
Member
 
Posts: 634
Joined: Sun Dec 29, 2013 23:05
Location: Some grassy area next to a forest, a river and a desert.
IRC: TheEpicJames
In-game: Block_Guy
 

User avatar
davidthecreator
Member
 
Posts: 269
Joined: Mon Aug 18, 2014 19:48
Location: Lithuania
GitHub: daviddoesminetest
In-game: DavidDoesMinetest

Re: [Mod] Player model animation [playeranim]

by davidthecreator » Sat Jan 23, 2016 00:34

Nice mod, too bad it dosen't work with wield3d, so now I have t chose only playeranim or wield3d or spend ages trying to find out why it makes wield3d not work
 

User avatar
Milan*
Member
 
Posts: 248
Joined: Thu May 28, 2015 06:45
Location: Germany
GitHub: tchncs
IRC: Passant
In-game: Milan Passant

Re: [Mod] Player model animation [playeranim]

by Milan* » Fri Mar 25, 2016 18:36

Ui, i love to see features like this coming.
Sometimes i am very sad about the fancy animations sawing in minecraft.

But hey, never give up the hope, right? ;)

By the way...sadly the animations are really slow...in singlepalyer, using minetest-git. :(
Image
Illuna Minetestservers | Mastodon | [ matrix ] | I may host you a Minetestserver, just contact me.
 

User avatar
SAMIAMNOT
Member
 
Posts: 406
Joined: Wed Sep 03, 2014 00:51
Location: Desert
In-game: notanewbie

Re: [Mod] Player model animation [playeranim]

by SAMIAMNOT » Tue May 31, 2016 18:07

I would love to see support for the head turning sideways at a 90-degree angle like in Minecraft. If the head is turned any more, the body will snap to the angle of the head.
Also, would there be more or less lag if the animations were done client-side?
I test mines.
 

User avatar
sparky
Member
 
Posts: 124
Joined: Sun Oct 05, 2014 00:54
Location: USA
IRC: ircSparky
In-game: sparky

Re: [Mod] Player model animation [playeranim]

by sparky » Tue Jun 07, 2016 14:48

pretty cool! I would suggest that when sneaking, the head can move around 70 degrees before the body moves. and the body will snap faster when walking. also it might be a bit obvious but you shouldn't be able to have your head rotate any more then 90 degrees.
-"Never look down on someone unless you're helping them up"
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [WIP][Mod] Animation of the player model [playeranim]

by ParaklataChotou » Sun Jul 03, 2016 23:41

Anonymous_moose wrote:Did not work at all for me
I got this:
Image


OMG... he's posessed. :D
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Bone based players' animation [playeranim]

by ParaklataChotou » Sun Jul 03, 2016 23:52

Doesn't works for me. :\. Keep working on it. It's an excellent mod.
Image
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Bone based players' animation [playeranim]

by ParaklataChotou » Wed Aug 03, 2016 06:20

Rui wrote:@ParaklataChotou
Are your playeranim and 3d_armor the latest version?

Thank you. I solved that problem.
I checked the int.lua, because the animation frames are slow. I changed a little bit and now the head is moving really smooth and fast - such I like it. But the walk cycle... Could you add more frames to the walk cycle animation? The new Playeranim is not working - last release, September 30, 2016...
Last edited by ParaklataChotou on Sun Oct 09, 2016 23:23, edited 1 time in total.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
AccidentallyRhine
Member
 
Posts: 228
Joined: Sun Aug 02, 2015 05:43

Re: [Mod] Bone based players' animation [playeranim]

by AccidentallyRhine » Sat Aug 20, 2016 06:02

Mod breaks for me. In single player, at least.

Code: Select all
Runtime error in callback environment_step():
init.lua:175: attempt to call "get_look_vertical" (a nil value)
Stack traceback:
init.lua:175: in function 'update_look_pitch'
init.lua:287: in function <~/init.luaj:265>
/usr/share/minetest/builtin/game/register.lua:369: in function <~/register.lua:349>
 

User avatar
Krock
Developer
 
Posts: 4141
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Bone based players' animation [playeranim]

by Krock » Sat Aug 20, 2016 07:18

AnxiousInfusion wrote:Mod breaks for me. In single player, at least.

Code: Select all
init.lua:175: attempt to call "get_look_vertical" (a nil value)

The function "get_look_pitch" is deprecated and replaced by "get_look_vertical" in 0.4.14-dev. Seems you're either using 0.4.14 stable or an older in-development build.

You can fix this bug by changing line 175 in playeranim/init.lua to:
Code: Select all
local pitch = -player:get_look_pitch() * 180 / math_pi

also change line 203 to:
Code: Select all
local yaw = player:get_look_yaw()
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
AccidentallyRhine
Member
 
Posts: 228
Joined: Sun Aug 02, 2015 05:43

Re: [Mod] Bone based players' animation [playeranim]

by AccidentallyRhine » Sat Aug 20, 2016 10:52

Ah, thanks. You would think these things would target stable releases.

So just in case anyone else finds oneself in my situation:

Edit ~/mods/playeranim/init.lua line 175 to look like:

Code: Select all
   local pitch = player:get_look_pitch() * 180 / math_pi


And change line 203 to:

Code: Select all
   local yaw = player:get_look_yaw()
 

User avatar
mahmutelmas06
Member
 
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Bone based players' animation [playeranim]

by mahmutelmas06 » Mon Aug 22, 2016 15:25

Bug report: When you sit chair, player sits above it not on it.
My Mods:

Beverage
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Bone based players' animation [playeranim]

by ParaklataChotou » Sun Oct 09, 2016 23:08

Rui wrote:@ParaklataChotou
Are your playeranim and 3d_armor the latest version?

Something is happening. Now it's not working properly. I don't know how to do... I'm testing on singleplayer mode.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Bone based players' animation [playeranim]

by ParaklataChotou » Mon Oct 10, 2016 05:51

I've fixed the past release of this mod. Thanks anxiousinfusion :). This one is working fine.
Attachments
playeranim.zip
(90.61 KiB) Downloaded 45 times
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

amadin
Member
 
Posts: 544
Joined: Tue Jun 16, 2015 16:23

Re: [Mod] Bone-Based Animation [playeranim]

by amadin » Thu Nov 17, 2016 18:09

1) it is a pity that he does not work with wield3d.
2) the body sometimes does not have time to turn over his head. if to turn head sharply, then head turns 180 degrees, and the body remains in place second.
 

User avatar
fireglow
Member
 
Posts: 93
Joined: Fri Mar 28, 2014 11:36
Location: Germany
IRC: fireglow
In-game: fireglow

Re: [Mod] Bone-Based Animation [playeranim]

by fireglow » Sun Dec 04, 2016 22:14

Hi,
we've got a problem with playeranim, the arms are always stuck in the air.
3d_armor: version-0.4.4-49-g98786fd
playeranim: at commit 5814be7a984cde0c48a5c1ab447991f7950e0770
Screenshot:
Image

Anybody else experiencing this issue?
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: Bing [Bot] and 8 guests