[Old][Mod] Bone-Based Animation [playeranim]

Rui
Member
Posts: 261
Joined: Wed Oct 01, 2014 12:59

[Old][Mod] Bone-Based Animation [playeranim]

by Rui » Post

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
Attachments
playeranim-with-various-animations.zip
(97.69 KiB) Downloaded 250 times
playeranim.zip
(91.95 KiB) Downloaded 218 times
playeranim_screenshot.jpg
playeranim_screenshot.jpg (53.47 KiB) Viewed 5187 times
Last edited by Rui on Sun Apr 26, 2020 10:28, edited 30 times in total.

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 » Post

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 » Post

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: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

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

by Calinou » Post

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.

User avatar
Anonymous_moose
Member
Posts: 39
Joined: Tue Aug 27, 2013 20:25

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

by Anonymous_moose » Post

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

User avatar
Anonymous_moose
Member
Posts: 39
Joined: Tue Aug 27, 2013 20:25

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

by Anonymous_moose » Post

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: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

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

by SAMIAMNOT » Post

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

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

Re: [Mod] Player model animation [playeranim]

by prof-turbo » Post

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: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [Mod] Player model animation [playeranim]

by kaadmy » Post

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
IRC: TheEpicJames
In-game: Block_Guy
Location: Some grassy area next to a forest, a river and a desert.
Contact:

Re: [Mod] Player model animation [playeranim]

by TheEpicJames » Post

It doesnt work with capes.
I'm honestly not sure why I had "I like PIE." in my signature when I don't even really like it that much.

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

Re: [Mod] Player model animation [playeranim]

by davidthecreator » Post

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: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [Mod] Player model animation [playeranim]

by Milan* » Post

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
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Player model animation [playeranim]

by SAMIAMNOT » Post

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: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: [Mod] Player model animation [playeranim]

by sparky » Post

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.

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 » Post

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 » Post

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 » Post

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: 252
Joined: Sun Aug 02, 2015 05:43

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

by AccidentallyRhine » Post

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: 4648
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

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

by Krock » Post

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()
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

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

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

by AccidentallyRhine » Post

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 » Post

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 » Post

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 » Post

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

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

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

by amadin » Post

.
Last edited by amadin on Wed Dec 18, 2019 19:29, edited 1 time in total.

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

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

by fireglow » Post

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests