From c0dd1951f3fb71cad0ae215a3d819661a952b89f Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Wed, 23 Apr 2014 18:06:13 +0200 Subject: tweak nodebox again... --- streetsmod/nodeboxes/trafficlight.nbe | 10 +++++----- streetsmod/textures/streets_tl_off.png | Bin 3267 -> 312 bytes .../streets_trafficlight_template - Kopie.png | Bin 0 -> 312 bytes trafficlight/init.lua | 19 ++++++++++--------- 4 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 streetsmod/textures/streets_trafficlight_template - Kopie.png diff --git a/streetsmod/nodeboxes/trafficlight.nbe b/streetsmod/nodeboxes/trafficlight.nbe index 1025942..54f1c65 100644 --- a/streetsmod/nodeboxes/trafficlight.nbe +++ b/streetsmod/nodeboxes/trafficlight.nbe @@ -5,13 +5,13 @@ NAME test NODE node1 POSITION 0 0 0 NODEBOX nodebox1 -0.1875 -0.5 0.5 0.1875 0.5 0.75 -NODEBOX nodebox2 -0.03125 0.375 0.3125 0.03125 0.4375 0.5 -NODEBOX nodebox3 -0.03125 0.0625 0.3125 0.03125 0.125 0.5 -NODEBOX nodebox4 -0.03125 -0.25 0.3125 0.03125 -0.1875 0.5 +NODEBOX nodebox2 -0.0625 0.375 0.3125 0.0625 0.4375 0.5 +NODEBOX nodebox3 -0.0625 0.0625 0.3125 0.0625 0.125 0.5 +NODEBOX nodebox4 -0.0625 -0.25 0.3125 0.0625 -0.1875 0.5 NODEBOX nodebox5 0.03125 0.3125 0.3125 0.09375 0.38 0.5 NODEBOX nodebox6 -0.09375 0.3125 0.3125 -0.03125 0.375 0.5 -NODEBOX nodebox7 0.03125 0.00 0.3125 0.09375 0.0625 0.5 -NODEBOX nodebox8 -0.09375 0.00 0.3125 -0.03125 0.0625 0.5 +NODEBOX nodebox7 0.03125 0 0.3125 0.09375 0.0625 0.5 +NODEBOX nodebox8 -0.09375 0 0.3125 -0.03125 0.0625 0.5 NODEBOX nodebox9 0.03125 -0.3125 0.3125 0.09375 -0.25 0.5 NODEBOX nodebox10 -0.09375 -0.3125 0.3125 -0.03125 -0.25 0.5 END NODE \ No newline at end of file diff --git a/streetsmod/textures/streets_tl_off.png b/streetsmod/textures/streets_tl_off.png index 16621e7..719fe85 100644 Binary files a/streetsmod/textures/streets_tl_off.png and b/streetsmod/textures/streets_tl_off.png differ diff --git a/streetsmod/textures/streets_trafficlight_template - Kopie.png b/streetsmod/textures/streets_trafficlight_template - Kopie.png new file mode 100644 index 0000000..719fe85 Binary files /dev/null and b/streetsmod/textures/streets_trafficlight_template - Kopie.png differ diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 2f1b343..3bdc95b 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -11,16 +11,17 @@ minetest.register_node(":streets:trafficlight_top_off",{ node_box = { type = "fixed", fixed = { + --[[ Thank you, rubenwardy, for your awesome NodeboxEditor! Not perfect, but still great! ]] {-0.1875,-0.5,0.5,0.1875,0.5,0.75}, --nodebox1 - {-0.03125,0.375,0.3125,0.03125,0.4375,0.5}, --nodebox2 - {-0.03125,0.0625,0.3125,0.03125,0.125,0.5}, --nodebox3 - {-0.03125,-0.25,0.3125,0.03125,-0.1875,0.5}, --nodebox4 - {0.03125,0.3125,0.3125,0.09375,0.38,0.5}, --nodebox5 - {-0.09375,0.3125,0.3125,-0.03125,0.375,0.5}, --nodebox6 - {0.03125,0.00,0.3125,0.09375,0.0625,0.5}, --nodebox7 - {-0.09375,0.00,0.3125,-0.03125,0.0625,0.5}, --nodebox8 - {0.03125,-0.3125,0.3125,0.09375,-0.25,0.5}, --nodebox9 - {-0.09375,-0.3125,0.3125,-0.03125,-0.25,0.5}, --nodebox10 + {-0.0625,0.375,0.3125,0.0625,0.4375,0.5}, --nodebox2 + {-0.0625,0.0625,0.3125,0.0625,0.125,0.5}, --nodebox3 + {-0.0625,-0.25,0.3125,0.0625,-0.1875,0.5}, --nodebox4 + {0.0625,0.3125,0.3125,0.125,0.375,0.5}, --nodebox5 + {-0.125,0.3125,0.3125,-0.0625,0.375,0.5}, --nodebox6 + {0.0625,0,0.3125,0.125,0.0625,0.5}, --nodebox7 + {-0.125,0,0.3125,-0.0625,0.0625,0.5}, --nodebox8 + {0.0625,-0.3125,0.3125,0.125,-0.25,0.5}, --nodebox9 + {-0.125,-0.3125,0.3125,-0.0625,-0.25,0.5}, --nodebox10 } }, tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_trafficlight_template.png"}, -- cgit v1.2.3