Minetest Mod: Adds animations to the players' head.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
sys4 0b6bbe47e6 Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 3 semanas atrás
LICENSE.md Bump version to 0.4.16 (#16) 2 anos atrás
README.md Autodetect the player model version, remove playeranim.model_version 6 meses atrás
depends.txt Bump version to 0.4.16 (#16) 2 anos atrás
description.txt First commit 3 anos atrás
init.lua Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 3 semanas atrás
mod.conf Put dependencies and description in mod.conf 2 anos atrás
model.lua Autodetect the player model version, remove playeranim.model_version 6 meses atrás
screenshot.png First commit 3 anos atrás
settingtypes.txt Autodetect the player model version, remove playeranim.model_version 6 meses atrás

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.