diff options
author | cheapie <no-email-for-you@example.com> | 2016-05-10 14:40:31 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2016-05-10 14:40:31 -0500 |
commit | 8e9477c451f73e7378ec927375f2de06c7538253 (patch) | |
tree | d634eebe723f9421539088e30496700870dddebc | |
parent | 34ff6b708d210438401fe4d6db73bb0eb47e61d6 (diff) | |
download | roads-8e9477c451f73e7378ec927375f2de06c7538253.tar roads-8e9477c451f73e7378ec927375f2de06c7538253.tar.gz roads-8e9477c451f73e7378ec927375f2de06c7538253.tar.bz2 roads-8e9477c451f73e7378ec927375f2de06c7538253.tar.xz roads-8e9477c451f73e7378ec927375f2de06c7538253.zip |
Reverse-engineer traffic light nodebox
Preparing for pedestrian crossing development
-rw-r--r-- | trafficlight/init.lua | 27 |
1 files 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 = { |