[Mod] Bone-Based Animation [playeranim]

User avatar
Rui
Member
 
Posts: 255
Joined: Wed Oct 01, 2014 12:59
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 rewrite and improve of kaeza's animplus mod.

Image

License: The BSD 2-Clause License

Depends: default

Supported versions: 0.4.15 or above

Supported mods: 3d_armor

Source code / Download
Attachments
playeranim_screenshot.jpg
playeranim_screenshot.jpg (53.47 KiB) Viewed 5592 times
Last edited by Rui on Sun Apr 02, 2017 06:09, edited 21 times in total.
I speak Engrish.
 

User avatar
mahmutelmas06
Member
 
Posts: 355
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
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
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

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

by Anonymous_moose » Mon Jun 29, 2015 15:16

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

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

[DELETED]

by Rui » Mon Jun 29, 2015 16:36

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:05, edited 4 times in total.
 

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
Rui
Member
 
Posts: 255
Joined: Wed Oct 01, 2014 12:59
GitHub: Rui-Minetest

[DELETED]

by Rui » Mon Jul 13, 2015 14:55

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:11, edited 4 times in total.
 

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

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

by SAMIAMNOT » Tue Aug 11, 2015 03:31

I am so totally using this mod.
I test mines.
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

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: 627
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.
 

User avatar
TheEpicJames
Member
 
Posts: 632
Joined: Sun Dec 29, 2013 23:05
IRC: TheEpicJames
In-game: Block_Guy

Re: [Mod] Player model animation [playeranim]

by TheEpicJames » Sat Oct 17, 2015 05:45

It doesnt work with capes.
I like PIE.
Pumpkin pie to be exact.
5b is a game.
 

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

[DELETED]

by Rui » Mon Oct 19, 2015 17:14

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:19, edited 3 times in total.
 

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

[DELETED]

by Rui » Mon Jan 04, 2016 11:48

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:29, edited 3 times in total.
 

User avatar
davidthecreator
Member
 
Posts: 179
Joined: Mon Aug 18, 2014 19:48
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
Rui
Member
 
Posts: 255
Joined: Wed Oct 01, 2014 12:59
GitHub: Rui-Minetest

[DELETED]

by Rui » Sat Mar 12, 2016 07:01

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:28, edited 3 times in total.
 

User avatar
Milan*
Member
 
Posts: 203
Joined: Thu May 28, 2015 06:45
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
 

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

[DELETED]

by Rui » Sat May 21, 2016 06:01

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:26, edited 3 times in total.
 

User avatar
SAMIAMNOT
Member
 
Posts: 363
Joined: Wed Sep 03, 2014 00:51
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: 61
Joined: Sun Oct 05, 2014 00:54
IRC: STHGOM
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
Rui
Member
 
Posts: 255
Joined: Wed Oct 01, 2014 12:59
GitHub: Rui-Minetest

[DELETED]

by Rui » Sun Jun 26, 2016 00:58

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:26, edited 1 time in total.
 

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
Rui
Member
 
Posts: 255
Joined: Wed Oct 01, 2014 12:59
GitHub: Rui-Minetest

[DELETED]

by Rui » Wed Jul 20, 2016 10:35

[DELETED]
Last edited by Rui on Fri Nov 04, 2016 13:26, edited 1 time in total.
 

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
AnxiousInfusion
Member
 
Posts: 146
Joined: Sun Aug 02, 2015 05:43
GitHub: AnxiousInfusion[GitLab]
IRC: AnxiousInfusion
In-game: AnxiousInfusion

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

by AnxiousInfusion » Sat Aug 20, 2016 06:02

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

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
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.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local pitch = -player:get_look_pitch() * 180 / math_pi

also change line 203 to:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local yaw = player:get_look_yaw()
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
AnxiousInfusion
Member
 
Posts: 146
Joined: Sun Aug 02, 2015 05:43
GitHub: AnxiousInfusion[GitLab]
IRC: AnxiousInfusion
In-game: AnxiousInfusion

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

by AnxiousInfusion » 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:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
   local pitch = player:get_look_pitch() * 180 / math_pi


And change line 203 to:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
   local yaw = player:get_look_yaw()
 

User avatar
mahmutelmas06
Member
 
Posts: 355
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.
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 66 guests

cron