Minetest Mod: Adds animations to the players' head. https://content.minetest.net/packages/Rui/playeranim/
Go to file
Oversword d6bf0ee549
Merge 0c05dd7b83 into e0acae8ed8
2022-04-11 21:31:18 -04:00
LICENSE.md Bump version to 0.4.16 (#16) 2018-06-10 14:07:36 +09:00
README.md Autodetect the player model version, remove playeranim.model_version 2019-12-20 19:58:47 +01:00
depends.txt Bump version to 0.4.16 (#16) 2018-06-10 14:07:36 +09:00
description.txt First commit 2016-11-06 18:04:41 +09:00
init.lua Merge 0c05dd7b83 into e0acae8ed8 2022-04-11 21:31:18 -04:00
mod.conf Put dependencies and description in mod.conf 2018-06-10 14:38:26 +09:00
model.lua Make animations configurable and compositable 2022-01-26 05:01:11 +00:00
screenshot.png First commit 2016-11-06 18:04:41 +09:00
settingtypes.txt make rotate on sneak a setting 2022-02-14 21:47:08 +00:00

README.md

playeranim

Makes the head, and the right arm when you're mining, face the way you're facing, similar to Minecraft. Compatible with 3d_armor. This is an ugly hack. Forked from Kaeza's animplus mod.

The head only turns up and down relative to the body, except it turns slightly to the right/left when you strafe right/left. When you turn the body turns with the head.
Works in both singleplayer and multiplayer.

Created by Rui, this document was written by sloantothebone.

Configuration

Version of player model

Player models supported by this mod:

  • minetest_game after 4 Jun 2017, Minetest 0.4.16
  • minetest_game after 4 Nov 2017, Minetest 0.5.0-dev

The delay of sideways body rotation

Configure playeranim.body_rotation_delay. It's the number of frame delay of sideways body rotation.
The default value is 7.

Lengthways body rotation in sneaking

Configure playeranim.body_x_rotation_sneak. It's the degrees of the body's X-axis rotation in sneaking.
The default value is 6.0.

The speed of an animation

Configure playeranim.animation_speed. It's the number of stepping per seconds.
The default value is 2.4.

The speed of an animation in sneaking

Configure playeranim.animation_speed_sneak. It's the number of stepping per seconds in sneaking.
The default value is 0.8.