mirror of
https://github.com/minetest-mods/playeranim.git
synced 2025-01-08 17:00:26 +01:00
Character model v3 for MT 5.0 (#15)
This commit is contained in:
parent
59bcd385a1
commit
0cccb537a2
19
init.lua
19
init.lua
@ -9,6 +9,7 @@
|
||||
local valid_player_model_versions = {
|
||||
default_character_v1 = true,
|
||||
default_character_v2 = true,
|
||||
default_character_v3 = true,
|
||||
}
|
||||
|
||||
local player_model_version = minetest.settings:get("player_model_version")
|
||||
@ -60,6 +61,15 @@ local bone_positions = {
|
||||
[RARM] = vector_new(-3, 5.75, 0),
|
||||
[LLEG] = vector_new(1, 0, 0),
|
||||
[RLEG] = vector_new(-1, 0, 0)
|
||||
},
|
||||
default_character_v3 = {
|
||||
[BODY] = vector_new(0, 6.75, 0),
|
||||
[HEAD] = vector_new(0, 6.75, 0),
|
||||
[CAPE] = vector_new(0, 6.75, 1.2),
|
||||
[LARM] = vector_new(3, 5.75, 0),
|
||||
[RARM] = vector_new(-3, 5.75, 0),
|
||||
[LLEG] = vector_new(1, 0, 0),
|
||||
[RLEG] = vector_new(-1, 0, 0)
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,6 +91,15 @@ local bone_rotations = {
|
||||
[RARM] = vector_new(0, 0, 0),
|
||||
[LLEG] = vector_new(0, 0, 0),
|
||||
[RLEG] = vector_new(0, 0, 0)
|
||||
},
|
||||
default_character_v3 = {
|
||||
[BODY] = vector_new(0, 0, 0),
|
||||
[HEAD] = vector_new(0, 0, 0),
|
||||
[CAPE] = vector_new(0, 0, 0),
|
||||
[LARM] = vector_new(0, 0, 0),
|
||||
[RARM] = vector_new(0, 0, 0),
|
||||
[LLEG] = vector_new(0, 0, 0),
|
||||
[RLEG] = vector_new(0, 0, 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,5 +10,8 @@
|
||||
# . -- default_character_v2; used in:
|
||||
# . -- minetest_game after 25 nov 2016
|
||||
# . -- 3d_armor after 27 nov 2016 (overrides model from minetest_game)
|
||||
player_model_version (Version of player model) enum default_character_v2 default_character_v1,default_character_v2
|
||||
# . -- default_character_v3; used in:
|
||||
# . -- minetest_game after 22 jul 2017
|
||||
# . -- 3d_armor after ???????????????? (overrides model from minetest_game)
|
||||
player_model_version (Version of player model) enum default_character_v2 default_character_v1,default_character_v2,default_character_v3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user