From 8e9477c451f73e7378ec927375f2de06c7538253 Mon Sep 17 00:00:00 2001 From: cheapie Date: Tue, 10 May 2016 14:40:31 -0500 Subject: Reverse-engineer traffic light nodebox Preparing for pedestrian crossing development --- trafficlight/init.lua | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 9a94628..bd1a9b9 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -4,18 +4,21 @@ dofile(streets.modpath .. "/../trafficlight/old2new.lua") streets.tlBox = { - --[[ 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.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.38,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 - {-0.125, -0.125, 0.85, 0.125, 0.125, 0.75}, -- NodeBox11 + {-0.1875,-0.5,0.5,0.1875,0.5,0.75}, --Box + + {-0.125, -0.125, 0.85, 0.125, 0.125, 0.75}, -- Pole Mounting Bracket + + {-0.125,0.3125,0.3125,-0.0625,0.375,0.5}, --Top Visor, Left + {-0.0625,0.375,0.3125,0.0625,0.4375,0.5}, --Top Visor, Center + {0.0625,0.3125,0.3125,0.125,0.38,0.5}, --Top Visor, Right + + {-0.125,0,0.3125,-0.0625,0.0625,0.5}, --Middle Visor, Left + {-0.0625,0.0625,0.3125,0.0625,0.125,0.5}, --Middle Visor, Center + {0.0625,0,0.3125,0.125,0.0625,0.5}, --Middle Visor, Right + + {-0.125,-0.3125,0.3125,-0.0625,-0.25,0.5}, --Bottom Visor, Left + {-0.0625,-0.25,0.3125,0.0625,-0.1875,0.5}, --Bottom Visor, Center + {0.0625,-0.3125,0.3125,0.125,-0.25,0.5}, --Bottom Visor, Right } streets.tlRhythm = { -- cgit v1.2.3