tweak villager and trader visual scales to match player model
This commit is contained in:
parent
1296f806f8
commit
c28405b468
@ -22,7 +22,7 @@ minetest.register_on_joinplayer(function(player)
|
||||
mesh = "fl_character.b3d",
|
||||
textures = {"fl_character.png", "fl_trans.png", "fl_trans.png"},
|
||||
visual = "mesh",
|
||||
visual_size = {x = 1, y = 1},
|
||||
visual_size = {x = 1, y = 1, z = 1},
|
||||
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
|
||||
stepheight = 0.6,
|
||||
eye_height = 1.47,
|
||||
|
@ -2,11 +2,11 @@ minetest.register_entity("fl_wildlife:trader", {
|
||||
physical = true,
|
||||
stepheight = 1.1,
|
||||
collide_with_objects = true,
|
||||
collisionbox = {-0.35, 0, -0.35, 0.35, 1.99, 0.35},
|
||||
collisionbox = {-0.35, 0, -0.35, 0.35, 1.9, 0.35},
|
||||
visual = "mesh",
|
||||
mesh = "farlands_npc_trader.b3d",
|
||||
textures = {"farlands_npc_trader.png"},
|
||||
visual_size = {x = 1, y = 1, z = 1},
|
||||
visual_size = {x = 0.9, y = 0.9, z = 0.9},
|
||||
static_save = true,
|
||||
|
||||
on_step = mobkit.stepfunc,
|
||||
|
@ -41,11 +41,11 @@ minetest.register_entity("fl_wildlife:villager", {
|
||||
physical = true,
|
||||
stepheight = 1.1,
|
||||
collide_with_objects = true,
|
||||
collisionbox = {-0.35, 0, -0.35, 0.35, 1.99, 0.35}, --top y set to 1.99 to walk under 2 nodes
|
||||
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3}, --top y set to 1.99 to walk under 2 nodes
|
||||
visual = "mesh",
|
||||
mesh = "farlands_npc_villager.b3d",
|
||||
textures = {"farlands_npc_villager1.png", "farlands_npc_villager2.png"},
|
||||
visual_size = {x = 1, y = 1, z = 1},
|
||||
visual_size = {x = 0.9, y = 0.9, z = 0.9},
|
||||
static_save = true,
|
||||
|
||||
--hp_max = 200,
|
||||
|
Loading…
x
Reference in New Issue
Block a user