Jump to content

Traffic light with just red and green?


Empfohlene Beiträge

There isn't one - not that I can find anyway. Oh there's one with an arrow pointing to the side, one with a cyclist or pedestrian, but not one with a plane green light.

So I made my own!

1718688820_light1.JPG.47847d9407d3c17865ebce00a9815951.JPG552734452_light2.JPG.34d90234c3d4747726c96f10902e1f12.JPG1031675005_light3.JPG.df4e7b65b308d605a1f1e1618eb7e29d.JPG

It's the red and yellow one. I tried putting a blue filter but you get yellow light by mixing red and green. Adding blue actually gave me off-white! So I coloured the filter a nice bright green and added the glow. The filter is a circular primitive 1.4mm in diameter positioned just in front of the yellow lens. The texture on it is "Riffelblech" or "Checker Plate" which is a pretty close match to that on the red light. Come on, no-one's going to look at it that closely!

And finally there's the matter of making the light go on and off when the yellow light behind it does... 2114430298_Light4.JPG.23716506181bcdd01c672f8ce68e725f.JPG

My question is: is there a way of saving this along with it's code so that I can easily use it elsewhere?

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hello Simon,

vor 42 Minuten schrieb simonjackson1964:

is there a way of saving this along with it's code

You may save (and import) it as a simple layout, containing nothing but the traffic light and the code.
No baseplate!

Greets
Goetz

 

Link zu diesem Kommentar
Auf anderen Seiten teilen

Thanks Goetz. I didn't know you could do that!

How? I have managed to export the layout as a .mbp file but cannot see any way of importing it into anther layout. I managed to export it as a .mbe file, which I can import, but it didn't save the functionality. I'm clearly missing something.

Found it!

Paste From > Layout

Bearbeitet von simonjackson1964
Found the answer myself!
Link zu diesem Kommentar
Auf anderen Seiten teilen

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen.

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde dich hier an.

Jetzt anmelden
×
×
  • Neu erstellen...