From: paramat Date: Fri, 27 Oct 2017 07:28:22 +0000 (+0100) Subject: Player model: Remove vertical stretch of body and limbs, remove cape X-Git-Tag: 5.0.0~155 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9596d00a18390ef4e5d6e332b8dce9b306dcf26b;p=oweals%2Fminetest_game.git 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. --- diff --git a/mods/player_api/README.txt b/mods/player_api/README.txt index 1f28ad9a..cf124686 100644 --- a/mods/player_api/README.txt +++ b/mods/player_api/README.txt @@ -1,5 +1,5 @@ Minetest Game mod: player_api -============================ +============================= See license.txt for license information. Provides an API to allow multiple mods to set player models and textures. @@ -10,11 +10,11 @@ Authors of source code Originally by celeron55, Perttu Ahola (LGPL 2.1) Various Minetest developers and contributors (LGPL 2.1) -Authors of media (textures, models and sounds) ----------------------------------------------- +Authors of media (textures and models) +-------------------------------------- -MirceaKitsune (CC BY-SA 3.0): - character.x +stujones11 (CC BY-SA 3.0): + character.* -- Derived from a model by MirceaKitsune (CC BY-SA 3.0) Jordach (CC BY-SA 3.0): character.png diff --git a/mods/player_api/init.lua b/mods/player_api/init.lua index 203f60e0..86ea340d 100644 --- a/mods/player_api/init.lua +++ b/mods/player_api/init.lua @@ -13,7 +13,7 @@ player_api.register_model("character.b3d", { walk_mine = {x = 200, y = 219}, sit = {x = 81, y = 160}, }, - collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.77, 0.3}, + collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3}, stepheight = 0.6, }) diff --git a/mods/player_api/license.txt b/mods/player_api/license.txt new file mode 100644 index 00000000..4bee6c52 --- /dev/null +++ b/mods/player_api/license.txt @@ -0,0 +1,51 @@ +License of source code +---------------------- + +GNU Lesser General Public License, version 2.1 +Copyright (C) 2011-2017 celeron55, Perttu Ahola +Copyright (C) 2011-2017 Various Minetest developers and contributors + +This program is free software; you can redistribute it and/or modify it under the terms +of the GNU Lesser General Public License as published by the Free Software Foundation; +either version 2.1 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +See the GNU Lesser General Public License for more details: +https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html + + +Licenses of media (textures, models and sounds) +----------------------------------------------- + +Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) +Copyright (C) 2017 stujones11 +Copyright (C) 2012-2017 Jordach + +You are free to: +Share — copy and redistribute the material in any medium or format. +Adapt — remix, transform, and build upon the material for any purpose, even commercially. +The licensor cannot revoke these freedoms as long as you follow the license terms. + +Under the following terms: + +Attribution — You must give appropriate credit, provide a link to the license, and +indicate if changes were made. You may do so in any reasonable manner, but not in any way +that suggests the licensor endorses you or your use. + +ShareAlike — If you remix, transform, or build upon the material, you must distribute +your contributions under the same license as the original. + +No additional restrictions — You may not apply legal terms or technological measures that +legally restrict others from doing anything the license permits. + +Notices: + +You do not have to comply with the license for elements of the material in the public +domain or where your use is permitted by an applicable exception or limitation. +No warranties are given. The license may not give you all of the permissions necessary +for your intended use. For example, other rights such as publicity, privacy, or moral +rights may limit how you use the material. + +For more details: +http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/mods/player_api/models/character.b3d b/mods/player_api/models/character.b3d index fb693bc5..b3b772a4 100644 Binary files a/mods/player_api/models/character.b3d and b/mods/player_api/models/character.b3d differ diff --git a/mods/player_api/models/character.blend b/mods/player_api/models/character.blend index be406086..652579c1 100644 Binary files a/mods/player_api/models/character.blend and b/mods/player_api/models/character.blend differ