summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-04-23 18:06:13 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-04-23 18:06:13 +0200
commitc0dd1951f3fb71cad0ae215a3d819661a952b89f (patch)
tree10ec73c09a19bf198800d50e55a0cdd7708ad88e
parent5dc6a58c29e330129dc9ff0afbd69ec9536bc962 (diff)
downloadroads-c0dd1951f3fb71cad0ae215a3d819661a952b89f.tar
roads-c0dd1951f3fb71cad0ae215a3d819661a952b89f.tar.gz
roads-c0dd1951f3fb71cad0ae215a3d819661a952b89f.tar.bz2
roads-c0dd1951f3fb71cad0ae215a3d819661a952b89f.tar.xz
roads-c0dd1951f3fb71cad0ae215a3d819661a952b89f.zip
tweak nodebox again...
-rw-r--r--streetsmod/nodeboxes/trafficlight.nbe10
-rw-r--r--streetsmod/textures/streets_tl_off.pngbin3267 -> 312 bytes
-rw-r--r--streetsmod/textures/streets_trafficlight_template - Kopie.pngbin0 -> 312 bytes
-rw-r--r--trafficlight/init.lua19
4 files changed, 15 insertions, 14 deletions
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
--- a/streetsmod/textures/streets_tl_off.png
+++ b/streetsmod/textures/streets_tl_off.png
Binary files 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
--- /dev/null
+++ b/streetsmod/textures/streets_trafficlight_template - Kopie.png
Binary files 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"},