Reverse-engineer traffic light nodebox

Preparing for pedestrian crossing development
master
cheapie 2016-05-10 14:40:31 -05:00
parent 34ff6b708d
commit 8e9477c451
1 changed files with 15 additions and 12 deletions

View File

@ -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 = {