mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Make [arrow_signs] model a nodemesh
This commit is contained in:
parent
8bae5923c0
commit
322926fc5b
@ -139,16 +139,8 @@ minetest.override_item("default:sign_wall", {
|
|||||||
--Sign arrow
|
--Sign arrow
|
||||||
minetest.register_node("arrow_signs:wall", {
|
minetest.register_node("arrow_signs:wall", {
|
||||||
description = "Arrow signs",
|
description = "Arrow signs",
|
||||||
drawtype = "nodebox",
|
drawtype = "mesh",
|
||||||
node_box = {
|
mesh = "arrow_sign.obj",
|
||||||
type = "fixed",
|
|
||||||
fixed = {
|
|
||||||
{ 0.25, -0.25, 0.5, -0.25, 0.5, 0.47},
|
|
||||||
{ 0.1875, -0.3125, 0.5, -0.1875, -0.25, 0.47},
|
|
||||||
{ 0.125, -0.3125, 0.5, -0.125, -0.375, 0.47},
|
|
||||||
{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
@ -158,7 +150,7 @@ minetest.register_node("arrow_signs:wall", {
|
|||||||
{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
|
{ 0.0625, -0.375, 0.5, -0.0625, -0.437, 0.47}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
tiles = {"arrow_sign_border_left.png","arrow_sign_border_right.png","arrow_sign_border_up.png","arrow_sign_border_down.png","arrow_sign.png","arrow_sign.png"},
|
tiles = {"arrow_sign.png", "arrow_sign_border_down.png", "arrow_sign_border_left.png", "arrow_sign_border_right.png", "arrow_sign_border_up.png"},
|
||||||
inventory_image = "arrow_sign.png",
|
inventory_image = "arrow_sign.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
129
mods/arrow_signs/models/arrow_sign.obj
Normal file
129
mods/arrow_signs/models/arrow_sign.obj
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
# Blender v2.74 (sub 0) OBJ File: 'untitled.blend'
|
||||||
|
# www.blender.org
|
||||||
|
mtllib arrow_sign.mtl
|
||||||
|
o arrow_sign
|
||||||
|
v -0.187500 -0.312500 0.500000
|
||||||
|
v -0.187500 -0.312500 0.470000
|
||||||
|
v -0.187500 -0.250000 0.470000
|
||||||
|
v -0.187500 -0.250000 0.500000
|
||||||
|
v 0.187500 -0.312500 0.500000
|
||||||
|
v 0.187500 -0.312500 0.470000
|
||||||
|
v 0.187500 -0.250000 0.470000
|
||||||
|
v 0.187500 -0.250000 0.500000
|
||||||
|
v -0.250000 -0.250000 0.500000
|
||||||
|
v -0.250000 -0.250000 0.470000
|
||||||
|
v -0.250000 0.500000 0.470000
|
||||||
|
v -0.250000 0.500000 0.500000
|
||||||
|
v 0.250000 -0.250000 0.500000
|
||||||
|
v 0.250000 -0.250000 0.470000
|
||||||
|
v 0.250000 0.500000 0.470000
|
||||||
|
v 0.250000 0.500000 0.500000
|
||||||
|
v 0.125000 -0.312500 0.500000
|
||||||
|
v 0.125000 -0.312500 0.470000
|
||||||
|
v 0.125000 -0.375000 0.470000
|
||||||
|
v 0.125000 -0.375000 0.500000
|
||||||
|
v -0.125000 -0.312500 0.500000
|
||||||
|
v -0.125000 -0.312500 0.470000
|
||||||
|
v -0.125000 -0.375000 0.470000
|
||||||
|
v -0.125000 -0.375000 0.500000
|
||||||
|
v 0.062500 -0.375000 0.500000
|
||||||
|
v 0.062500 -0.375000 0.470000
|
||||||
|
v 0.062500 -0.437000 0.470000
|
||||||
|
v 0.062500 -0.437000 0.500000
|
||||||
|
v -0.062500 -0.375000 0.500000
|
||||||
|
v -0.062500 -0.375000 0.470000
|
||||||
|
v -0.062500 -0.437000 0.470000
|
||||||
|
v -0.062500 -0.437000 0.500000
|
||||||
|
v 0.000000 -0.437000 0.470000
|
||||||
|
v 0.000000 -0.437000 0.500000
|
||||||
|
vt 0.562500 0.062500
|
||||||
|
vt 0.562500 0.125000
|
||||||
|
vt 0.500000 0.062500
|
||||||
|
vt 0.250000 0.250000
|
||||||
|
vt 0.750000 0.250000
|
||||||
|
vt 0.750000 1.000000
|
||||||
|
vt 0.250000 1.000000
|
||||||
|
vt 0.437500 0.062500
|
||||||
|
vt 0.437500 0.125000
|
||||||
|
vt 0.687500 0.250000
|
||||||
|
vt 0.312500 0.250000
|
||||||
|
vt 0.687500 0.187500
|
||||||
|
vt 0.625000 0.187500
|
||||||
|
vt 0.625000 0.125000
|
||||||
|
vt 0.375000 0.125000
|
||||||
|
vt 0.375000 0.187500
|
||||||
|
vt 0.312500 0.187500
|
||||||
|
vt 1.000000 0.875000
|
||||||
|
vt 0.000000 0.875000
|
||||||
|
vt 0.000000 0.125000
|
||||||
|
vt 1.000000 0.125000
|
||||||
|
vt 1.000000 1.000000
|
||||||
|
vt 0.000000 1.000000
|
||||||
|
vt -0.000000 0.000000
|
||||||
|
vt 1.000000 0.000000
|
||||||
|
vt 1.000000 0.250000
|
||||||
|
vt 1.000000 0.750000
|
||||||
|
vt 0.000000 0.750000
|
||||||
|
vt 0.000000 0.250000
|
||||||
|
vt 1.000000 0.375000
|
||||||
|
vt 1.000000 0.500000
|
||||||
|
vt 1.000000 0.625000
|
||||||
|
vt 0.000000 0.625000
|
||||||
|
vt 0.000000 0.500000
|
||||||
|
vt 0.000000 0.375000
|
||||||
|
vt 0.812500 1.000000
|
||||||
|
vt 0.812500 0.000000
|
||||||
|
vt 0.875000 0.000000
|
||||||
|
vt 0.875000 1.000000
|
||||||
|
vt 0.000119 1.000000
|
||||||
|
vt 0.000119 -0.000007
|
||||||
|
vt 0.937500 1.000000
|
||||||
|
vt 0.937500 0.000000
|
||||||
|
vt 0.866899 0.000000
|
||||||
|
vt 0.866899 1.000000
|
||||||
|
vn 0.000000 0.000000 1.000000
|
||||||
|
vn 0.000000 0.000000 -1.000000
|
||||||
|
vn 0.000000 -1.000000 0.000000
|
||||||
|
vn 1.000000 0.000000 0.000000
|
||||||
|
vn -1.000000 0.000000 0.000000
|
||||||
|
vn 0.000000 1.000000 0.000000
|
||||||
|
g aa
|
||||||
|
usemtl none
|
||||||
|
s off
|
||||||
|
f 28/1/1 25/2/1 34/3/1
|
||||||
|
f 9/4/1 13/5/1 16/6/1 12/7/1
|
||||||
|
f 10/4/2 11/7/2 15/6/2 14/5/2
|
||||||
|
f 32/8/1 34/3/1 29/9/1
|
||||||
|
f 8/10/1 4/11/1 34/3/1
|
||||||
|
f 7/10/2 33/3/2 3/11/2
|
||||||
|
f 27/1/2 33/3/2 26/2/2
|
||||||
|
f 6/12/2 18/13/2 7/10/2
|
||||||
|
f 19/14/2 26/2/2 18/13/2
|
||||||
|
f 23/15/2 22/16/2 30/9/2
|
||||||
|
f 20/14/1 17/13/1 25/2/1
|
||||||
|
f 24/15/1 29/9/1 21/16/1
|
||||||
|
f 17/13/1 5/12/1 8/10/1
|
||||||
|
f 1/17/1 21/16/1 4/11/1
|
||||||
|
f 31/8/2 30/9/2 33/3/2
|
||||||
|
f 22/16/2 2/17/2 3/11/2
|
||||||
|
g bb
|
||||||
|
usemtl none_arrow_sign_border_down.png
|
||||||
|
f 1/18/3 2/19/3 6/20/3 5/21/3
|
||||||
|
f 9/22/3 10/23/3 14/24/3 13/25/3
|
||||||
|
f 20/26/3 24/27/3 23/28/3 19/29/3
|
||||||
|
f 28/30/3 34/31/3 32/32/3 31/33/3 33/34/3 27/35/3
|
||||||
|
g cc
|
||||||
|
usemtl none_arrow_sign_border_left.png
|
||||||
|
f 5/36/4 6/37/4 7/38/4 8/39/4
|
||||||
|
f 13/40/4 14/41/4 15/37/4 16/36/4
|
||||||
|
f 17/42/4 20/39/4 19/38/4 18/43/4
|
||||||
|
f 25/22/4 28/42/4 27/43/4 26/25/4
|
||||||
|
g dd
|
||||||
|
usemtl none_arrow_sign_border_right.png
|
||||||
|
f 1/44/5 4/43/5 3/42/5 2/45/5
|
||||||
|
f 9/24/5 12/37/5 11/36/5 10/23/5
|
||||||
|
f 21/38/5 22/39/5 23/36/5 24/37/5
|
||||||
|
f 29/25/5 30/22/5 31/42/5 32/43/5
|
||||||
|
g ee
|
||||||
|
usemtl none_arrow_sign_border_up.png
|
||||||
|
f 12/25/6 16/22/6 15/23/6 11/24/6
|
@ -42,6 +42,7 @@ mff-edit-fr: Ajout de megabuilder et openfarming
|
|||||||
[Arrow signs]
|
[Arrow signs]
|
||||||
dir: arrow_signs
|
dir: arrow_signs
|
||||||
git: http://bitbucket.org/ardrido/arrow_signs.git
|
git: http://bitbucket.org/ardrido/arrow_signs.git
|
||||||
|
mff-edit: Nodemesh sign
|
||||||
|
|
||||||
[Awards]
|
[Awards]
|
||||||
dir: awards
|
dir: awards
|
||||||
|
Loading…
Reference in New Issue
Block a user