mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-11-24 07:13:44 +01:00
Right direction model fixed, Green direction signs added, unused files removed
This commit is contained in:
parent
bc9607eb91
commit
353351029e
@ -1,17 +1,17 @@
|
||||
# Blender v2.69 (sub 0) OBJ File: 'signs_dir_right.blend'
|
||||
# Blender v2.76 (sub 0) OBJ File: 'signs_dir_right2.blend'
|
||||
# www.blender.org
|
||||
mtllib signs_dir_right.mtl
|
||||
o Plane
|
||||
v 0.437500 -0.500000 -0.218750
|
||||
v 0.437500 -0.500000 0.218750
|
||||
v -0.312500 -0.500000 -0.218750
|
||||
v -0.312500 -0.500000 0.218750
|
||||
v -0.500000 -0.500000 0.000000
|
||||
v 0.437500 -0.437500 -0.218750
|
||||
v 0.437500 -0.437500 0.218750
|
||||
v -0.312500 -0.437500 -0.218750
|
||||
v -0.312500 -0.437500 0.218750
|
||||
v -0.500000 -0.437500 0.000000
|
||||
v 0.437500 -0.500000 -0.218750
|
||||
v 0.437500 -0.500000 0.218750
|
||||
v -0.312500 -0.500000 -0.218750
|
||||
v -0.312500 -0.500000 0.218750
|
||||
v -0.500000 -0.500000 0.000000
|
||||
vt 0.062500 0.500000
|
||||
vt 0.062500 0.937500
|
||||
vt 0.812500 0.937500
|
||||
@ -33,12 +33,19 @@ vt 0.062500 0.312500
|
||||
vt 0.000000 0.000000
|
||||
vt 0.000000 0.500000
|
||||
vt 0.000000 0.937500
|
||||
vn 0.000000 1.000000 0.000000
|
||||
vn -0.000000 -1.000000 -0.000000
|
||||
vn -0.759300 0.000000 -0.650800
|
||||
vn -0.000000 -0.000000 -1.000000
|
||||
vn 0.000000 0.000000 1.000000
|
||||
vn -0.759300 0.000000 0.650800
|
||||
vn 1.000000 0.000000 -0.000000
|
||||
usemtl None
|
||||
s off
|
||||
f 2/1 1/2 3/3 5/4 4/5
|
||||
f 7/6 9/7 10/8 8/9 6/10
|
||||
f 3/11 8/12 10/13 5/14
|
||||
f 1/2 6/15 8/16 3/3
|
||||
f 4/5 9/7 7/6 2/1
|
||||
f 5/17 10/18 9/10 4/19
|
||||
f 2/1 7/20 6/21 1/2
|
||||
f 2/1/1 1/2/1 3/3/1 5/4/1 4/5/1
|
||||
f 7/6/2 9/7/2 10/8/2 8/9/2 6/10/2
|
||||
f 3/11/3 8/12/3 10/13/3 5/14/3
|
||||
f 1/2/4 6/15/4 8/16/4 3/3/4
|
||||
f 4/5/5 9/7/5 7/6/5 2/1/5
|
||||
f 5/17/6 10/18/6 9/10/6 4/19/6
|
||||
f 2/1/7 7/20/7 6/21/7 1/2/7
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
@ -36,7 +36,7 @@ local models = {
|
||||
},
|
||||
},
|
||||
green_street={
|
||||
depth=1/32,
|
||||
depth = 1/32,
|
||||
width = 1,
|
||||
height = 6/16,
|
||||
entity_fields = {
|
||||
@ -51,7 +51,7 @@ local models = {
|
||||
},
|
||||
},
|
||||
black_right={
|
||||
depth=1/32,
|
||||
depth = 1/32,
|
||||
width = 1,
|
||||
height = 0.5,
|
||||
entity_fields = {
|
||||
@ -68,7 +68,7 @@ local models = {
|
||||
},
|
||||
},
|
||||
black_left={
|
||||
depth=1/32,
|
||||
depth = 1/32,
|
||||
width = 1,
|
||||
height = 0.5,
|
||||
entity_fields = {
|
||||
@ -86,10 +86,68 @@ local models = {
|
||||
on_rightclick=signs.on_right_click_direction,
|
||||
},
|
||||
},
|
||||
green_right={
|
||||
depth = 1/16,
|
||||
width = 14/16,
|
||||
height = 7/16,
|
||||
entity_fields = {
|
||||
size = { x = 12/16, y = 5/16 },
|
||||
resolution = { x = 112, y = 64 },
|
||||
maxlines = 2,
|
||||
color="#fff",
|
||||
},
|
||||
node_fields = {
|
||||
description="Green direction sign",
|
||||
tiles={"signs_green_direction.png"},
|
||||
inventory_image="signs_green_dir_inventory.png",
|
||||
on_place=signs.on_place_direction,
|
||||
on_rightclick = signs.on_right_click_direction,
|
||||
drawtype = "mesh",
|
||||
mesh = "signs_dir_right.obj",
|
||||
selection_box = { type="wallmounted",
|
||||
wall_side = {-0.5, -7/32, -7/16, -7/16, 7/32, 0.5},
|
||||
wall_bottom = {-0.5, -0.5, -0.5, 0.5, -7/16, 0.5},
|
||||
wall_top = {-0.5, 0.5, -0.5, 0.5, 7/16, 0.5}},
|
||||
collision_box = { type="wallmounted",
|
||||
wall_side = {-0.5, -7/32, -7/16, -7/16, 7/32, 0.5},
|
||||
wall_bottom = {-0.5, -0.5, -0.5, 0.5, -7/16, 0.5},
|
||||
wall_top = {-0.5, 0.5, -0.5, 0.5, 7/16, 0.5}},
|
||||
},
|
||||
},
|
||||
green_left={
|
||||
depth = 1/16,
|
||||
width = 14/16,
|
||||
height = 7/16,
|
||||
entity_fields = {
|
||||
size = { x = 12/16, y = 5/16 },
|
||||
resolution = { x = 112, y = 64 },
|
||||
maxlines = 2,
|
||||
color="#fff",
|
||||
},
|
||||
node_fields = {
|
||||
description="Green direction sign",
|
||||
tiles={"signs_green_direction.png"},
|
||||
inventory_image="signs_green_dir_inventory.png",
|
||||
on_place=signs.on_place_direction,
|
||||
on_rightclick = signs.on_right_click_direction,
|
||||
drawtype = "mesh",
|
||||
mesh = "signs_dir_left.obj",
|
||||
selection_box = { type="wallmounted",
|
||||
wall_side = {-0.5, -7/32, -0.5, -7/16, 7/32, 7/16},
|
||||
wall_bottom = {-0.5, -0.5, -0.5, 0.5, -7/16, 0.5},
|
||||
wall_top = {-0.5, 0.5, -0.5, 0.5, 7/16, 0.5}},
|
||||
collision_box = { type="wallmounted",
|
||||
wall_side = {-0.5, -7/32, -0.5, -7/16, 7/32, 7/16},
|
||||
wall_bottom = {-0.5, -0.5, -0.5, 0.5, -7/16, 0.5},
|
||||
wall_top = {-0.5, 0.5, -0.5, 0.5, 7/16, 0.5}},
|
||||
groups={not_in_creative_inventory=1},
|
||||
drop="signs_road:green_right",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
for name, model in pairs(models)
|
||||
do
|
||||
signs.register_sign("signs_road", name, model)
|
||||
end
|
||||
|
||||
|
BIN
signs_road/textures/signs_green_dir_inventory.png
Normal file
BIN
signs_road/textures/signs_green_dir_inventory.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 313 B |
BIN
signs_road/textures/signs_green_direction.png
Normal file
BIN
signs_road/textures/signs_green_direction.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 270 B |
Loading…
Reference in New Issue
Block a user