Commit Graph

17 Commits

Author SHA1 Message Date
orbea
a443cb4358 player_api: Remove local variable (#2640) 2020-04-08 20:40:19 +02:00
Maksim
de5fc3240c Enable player animation when Right Click (#2622) 2020-04-06 15:22:08 +02:00
sfan5
da8ecc1d68 player_api: Prevent knockback when player is set as attached
This is not directly related to player models but fits well
as a convenience feature in player_api.
2020-03-17 22:08:36 +01:00
An0n3m0us
1965e21b1e Player model: Add bobbing to walk animation, more subtle standing animation 2019-12-23 02:14:25 +00:00
Paramat
7d2827522c Move hotbar code/textures, and damage sound, from player_api to default
These are unrelated to the Player API and player object.
All other GUI/HUD code and textures are in default.
All other engine hardcoded sounds are in default.
The player_api mod is highly likely to be used unchanged in new games,
so logical grouping of content will help the creation of new games.
2019-10-18 02:43:06 +01:00
sfan5
d151ba7ec9 player_api: Set correct visual size for legacy player model 2019-10-06 14:06:02 +02:00
Yves Quemener
b93bc0673a Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
2019-09-10 19:09:51 +02:00
sfan5
19c120b5b7 Switch to mod.conf, delete deprecated depends.txt 2019-07-17 00:38:23 +02:00
Paramat
0425cd2c83 Player_api: New hotbar textures (#2207) 2018-09-14 17:59:49 +01:00
Paramat
c6087c67bc README.txt files: Change 'LGPL 2.1' to 'LGPLv2.1+'. Remove 'WTFPL' 2018-08-22 01:23:00 +01:00
Paramat
8733de1c72 sfinv, player_api mods: Fix and cleanup README and license files
sfinv:
Move license information to create the missing license.txt file.
Make README consistent with other Minetest Game mods.

player_api:
Add missing texture and sound credits to README.
Update and add extra license information.

default:
Remove credit for 'player_damage.ogg' sound.
2018-07-31 10:55:28 +01:00
paramat
f6c2f3b13f Player API: Set eye height property for new player model
Correct the collisionbox height.
2017-11-06 15:40:14 +00:00
paramat
6ff66f3940 Player model: Remove vertical stretch of body and limbs, remove cape
Previously, body and limbs were stretched vertically by 1.125, creating
rectangular pixels on side faces. Head was unstretched.
Remove stretch of body and limbs, leaving the head unchanged.
No other change would excessively shorten the model, so also scale up
the model slightly, by * 1.05, such that the reduction factor for height is
equal to the increasing factor for width. This minimises the changes to
height and width.

Remove cape support.

Update the collisionbox to match.

Add missing license.txt.
2017-11-03 16:25:54 +00:00
paramat
1ebb87301b Player API: Integrate settable player step height
Split some long lines.
Some nearby code cleanup.
2017-08-09 11:27:37 +01:00
paramat
035ce02a67 Player_api: Integrate settable player collisionbox 2017-08-06 01:54:47 +01:00
danielmeek32
4aebd3639b Player API: Apply model default textures when passing nil to 'set_textures' 2017-08-06 01:53:53 +01:00
rubenwardy
c41621092d Separate player code into new mod 2017-08-01 03:57:29 +01:00