Version 0.1
Code license: WTFPL (Based on Zeg9's skins mod)
Texture license: CC-BY-SA (portions of preview textures (screenshots) are from the default player model and node textures and Pilzadam's simple mobs mod)
Dependencies: modmenu (http://forum.minetest.net/viewtopic.php?id=5824) or inventory_plus
Optional dependencies: Simple mobs (http://forum.minetest.net/viewtopic.php?id=3063)
Minetest version: 0.4.5 or later
This mod is a modification of Zeg9's skins mod (http://forum.minetest.net/viewtopic.php?id=4147) that allows players to switch between available player models (instead of player skins) in an in-game menu. This allows players to use different styles of characters that can be exported to 3d model formats that irrlicht can load.
As a demonstration of this, the mod can load the sheep and dungeon master models from the simple mobs mod and use them as selectable player models. (Shown above: the player on the left is playing as a sheep, and the 1st-person player is choosing the dungeon master model.)
However, there are currently some issues with custom models that I have encountered when testing this mod:
- Using a model from the simple mobs mod makes a player "float" about one node above ground. (possibly something different in how the models were made; The same problem occurs if the sheep model is copied directly to character.x/character.png.)
- Other mods that modify the player model/skin may interfere (for example, the wieldview mod).
- The animations must match the frame counts found in the default player model (see https://github.com/minetest/common/blob ... er.lua#L20) since the setting for that is stored in a local variable in the default mod that another mod cannot override/modify.
More models can be added by calling the function models.register_model(name, modeldef). Documentation for this function and examples are available here: https://github.com/bhull2010/minetest-m ... ist.lua#L8
Download the latest version: https://github.com/bhull2010/minetest-m ... master.zip
Browse the code: https://github.com/bhull2010/minetest-mod-models