diff --git a/README.md b/README.md index 0bad565..14a54a2 100644 --- a/README.md +++ b/README.md @@ -4,37 +4,36 @@ This mod provides set of alphanumeric LED marquee panels, controlled by Mesecons' Digilines mod. -Simply place a panel segment, right-click it, and set a channel. +Simply place a panel, right-click it, and set a channel. -Then send a character, or one of several control words to that channel from a Mesecons Lua Controller and the mod will try to display it. - -The panels respond to singular characters from the standard 7-bit ASCII character set, or entire strings composed of such. +Then send a character, a string, or one of several control words to that channel from a Mesecons Lua Controller and the mod will try to display it. The panels use the standard 7-bit ASCII character set (with a few alterations). A single character will be displayed on the connected panel. -Strings will be displayed to all panels in a lineup, so long as they all face the same way, starting from the panel the Lua Controller is connected to, going left to right. The other panels in the line do not need to be connected to anything - think of them as being connected together internally. Only the panel at the far left need be connected to the Lua Controller. +Strings will be displayed using all panels in a lineup, so long as they all face the same way, starting from the panel the Lua Controller is connected to, going left to right. The other panels in the line do not need to be connected to anything - think of them as being connected together internally. Only the panel at the far left need be connected to the Lua Controller. -The string will spread until either a panel is found that faces the wrong way, or has a channel that's not empty/nil and is set to something other than what the first is set to, or if a node is encountered that is not an alpha-numeric panel at all. +The string will spread down the line until either a panel is found that faces the wrong way, or has a channel that's not empty/nil and is set to something other than what the first is set to, or if a node is encountered that is not an alpha-numeric panel at all. -Panels to the left of the connected one are ignored in the case of strings. +Panels to the left of the connected one are ignored (unless they, too, have their own connections). You can put multiple lines of panels end to end to form independent displays, so long as the panels that start each of the lines have unique channel names set. The string is padded with spaces and then trimmed to 64 characters. -Any unrecognized symbol or character outside the ASCII 32 - 129 range, whether part of a string or singularly is ignored. +Any unrecognized symbol or character outside the ASCII 32 - 129 range, whether part of a string or singularly is ignored, except as noted below. The panels also respond to these control messages: -* "off", "colon" and "period" act the same as on the numeric panels. Note that neither a colon nor a period actually look all that great on a 15-segment - display, so use a classic panel for those, if you can. -* "del" or character code 127 displays an all-on square, but without segment #15 (the bottom, chevron-shaped one). -* "allon" or character code 128 will display an all-on square, with segment #15 lit also. -* "cursor" or character code 129 will display just segment 15. +* the words "off", "colon" and "period" translate to a blank space, ":", and ".", respectively. +* "del" or character code 127 displays a square with an X in it +* "allon" or character code 128 will turn on all LEDs on the panel. +* "cursor" or character code 129 will display a short, thick line at the bottom of the panel. * "off_multi" turns all panels in a lineup off -* "allon_multi" turns on all segments of all panels in a lineup. +* "allon_multi" turns on all LEDs of all panels in a lineup. -You can use "get" and "getstr" to read the one character from the first, connected panel. These messages will not read the other panels in the lineup. +A byte value of 0 to 7 will change colors (i.e. string.char(0 to 7) ). You can select from red (0), orange, yellow, green, cyan, blue, purple, or magenta (7). The left-most/"master" panel will remember the last color used, and defaults to red. + +You can use "get" and "getstr" to read the one character from the connected panel. These messages will not read the other panels in the lineup. All panels emit a small amount of light when displaying something. diff --git a/textures/led_marquee_char_100.png b/textures/led_marquee_char_100.png new file mode 100644 index 0000000..6da1a90 Binary files /dev/null and b/textures/led_marquee_char_100.png differ diff --git a/textures/led_marquee_char_101.png b/textures/led_marquee_char_101.png new file mode 100644 index 0000000..9bd1cea Binary files /dev/null and b/textures/led_marquee_char_101.png differ diff --git a/textures/led_marquee_char_102.png b/textures/led_marquee_char_102.png new file mode 100644 index 0000000..7b67eb2 Binary files /dev/null and b/textures/led_marquee_char_102.png differ diff --git a/textures/led_marquee_char_103.png b/textures/led_marquee_char_103.png new file mode 100644 index 0000000..1d1b777 Binary files /dev/null and b/textures/led_marquee_char_103.png differ diff --git a/textures/led_marquee_char_104.png b/textures/led_marquee_char_104.png new file mode 100644 index 0000000..64317b6 Binary files /dev/null and b/textures/led_marquee_char_104.png differ diff --git a/textures/led_marquee_char_105.png b/textures/led_marquee_char_105.png new file mode 100644 index 0000000..d2f327f Binary files /dev/null and b/textures/led_marquee_char_105.png differ diff --git a/textures/led_marquee_char_106.png b/textures/led_marquee_char_106.png new file mode 100644 index 0000000..e68d039 Binary files /dev/null and b/textures/led_marquee_char_106.png differ diff --git a/textures/led_marquee_char_107.png b/textures/led_marquee_char_107.png new file mode 100644 index 0000000..364a43d Binary files /dev/null and b/textures/led_marquee_char_107.png differ diff --git a/textures/led_marquee_char_108.png b/textures/led_marquee_char_108.png new file mode 100644 index 0000000..07a9e43 Binary files /dev/null and b/textures/led_marquee_char_108.png differ diff --git a/textures/led_marquee_char_109.png b/textures/led_marquee_char_109.png new file mode 100644 index 0000000..1be972a Binary files /dev/null and b/textures/led_marquee_char_109.png differ diff --git a/textures/led_marquee_char_110.png b/textures/led_marquee_char_110.png new file mode 100644 index 0000000..b3be137 Binary files /dev/null and b/textures/led_marquee_char_110.png differ diff --git a/textures/led_marquee_char_111.png b/textures/led_marquee_char_111.png new file mode 100644 index 0000000..12d9db1 Binary files /dev/null and b/textures/led_marquee_char_111.png differ diff --git a/textures/led_marquee_char_112.png b/textures/led_marquee_char_112.png new file mode 100644 index 0000000..afe6ef3 Binary files /dev/null and b/textures/led_marquee_char_112.png differ diff --git a/textures/led_marquee_char_113.png b/textures/led_marquee_char_113.png new file mode 100644 index 0000000..62814f7 Binary files /dev/null and b/textures/led_marquee_char_113.png differ diff --git a/textures/led_marquee_char_114.png b/textures/led_marquee_char_114.png new file mode 100644 index 0000000..247987c Binary files /dev/null and b/textures/led_marquee_char_114.png differ diff --git a/textures/led_marquee_char_115.png b/textures/led_marquee_char_115.png new file mode 100644 index 0000000..376a2ef Binary files /dev/null and b/textures/led_marquee_char_115.png differ diff --git a/textures/led_marquee_char_116.png b/textures/led_marquee_char_116.png new file mode 100644 index 0000000..4f7df3a Binary files /dev/null and b/textures/led_marquee_char_116.png differ diff --git a/textures/led_marquee_char_117.png b/textures/led_marquee_char_117.png new file mode 100644 index 0000000..dcce8a8 Binary files /dev/null and b/textures/led_marquee_char_117.png differ diff --git a/textures/led_marquee_char_118.png b/textures/led_marquee_char_118.png new file mode 100644 index 0000000..dd5ce18 Binary files /dev/null and b/textures/led_marquee_char_118.png differ diff --git a/textures/led_marquee_char_119.png b/textures/led_marquee_char_119.png new file mode 100644 index 0000000..a1170cc Binary files /dev/null and b/textures/led_marquee_char_119.png differ diff --git a/textures/led_marquee_char_120.png b/textures/led_marquee_char_120.png new file mode 100644 index 0000000..0b331fc Binary files /dev/null and b/textures/led_marquee_char_120.png differ diff --git a/textures/led_marquee_char_121.png b/textures/led_marquee_char_121.png new file mode 100644 index 0000000..29382c9 Binary files /dev/null and b/textures/led_marquee_char_121.png differ diff --git a/textures/led_marquee_char_122.png b/textures/led_marquee_char_122.png new file mode 100644 index 0000000..bd0b2d8 Binary files /dev/null and b/textures/led_marquee_char_122.png differ diff --git a/textures/led_marquee_char_123.png b/textures/led_marquee_char_123.png new file mode 100644 index 0000000..94fea35 Binary files /dev/null and b/textures/led_marquee_char_123.png differ diff --git a/textures/led_marquee_char_124.png b/textures/led_marquee_char_124.png new file mode 100644 index 0000000..df689c1 Binary files /dev/null and b/textures/led_marquee_char_124.png differ diff --git a/textures/led_marquee_char_125.png b/textures/led_marquee_char_125.png new file mode 100644 index 0000000..80c41e1 Binary files /dev/null and b/textures/led_marquee_char_125.png differ diff --git a/textures/led_marquee_char_126.png b/textures/led_marquee_char_126.png new file mode 100644 index 0000000..4643e72 Binary files /dev/null and b/textures/led_marquee_char_126.png differ diff --git a/textures/led_marquee_char_127.png b/textures/led_marquee_char_127.png new file mode 100644 index 0000000..176da20 Binary files /dev/null and b/textures/led_marquee_char_127.png differ diff --git a/textures/led_marquee_char_128.png b/textures/led_marquee_char_128.png new file mode 100644 index 0000000..bdb0c52 Binary files /dev/null and b/textures/led_marquee_char_128.png differ diff --git a/textures/led_marquee_char_129.png b/textures/led_marquee_char_129.png new file mode 100644 index 0000000..0065a6b Binary files /dev/null and b/textures/led_marquee_char_129.png differ diff --git a/textures/led_marquee_char_32.png b/textures/led_marquee_char_32.png new file mode 100644 index 0000000..cd1c405 Binary files /dev/null and b/textures/led_marquee_char_32.png differ diff --git a/textures/led_marquee_char_33.png b/textures/led_marquee_char_33.png new file mode 100644 index 0000000..e49d112 Binary files /dev/null and b/textures/led_marquee_char_33.png differ diff --git a/textures/led_marquee_char_34.png b/textures/led_marquee_char_34.png new file mode 100644 index 0000000..f9c62d5 Binary files /dev/null and b/textures/led_marquee_char_34.png differ diff --git a/textures/led_marquee_char_35.png b/textures/led_marquee_char_35.png new file mode 100644 index 0000000..cb84a3f Binary files /dev/null and b/textures/led_marquee_char_35.png differ diff --git a/textures/led_marquee_char_36.png b/textures/led_marquee_char_36.png new file mode 100644 index 0000000..09af200 Binary files /dev/null and b/textures/led_marquee_char_36.png differ diff --git a/textures/led_marquee_char_37.png b/textures/led_marquee_char_37.png new file mode 100644 index 0000000..31c9d79 Binary files /dev/null and b/textures/led_marquee_char_37.png differ diff --git a/textures/led_marquee_char_38.png b/textures/led_marquee_char_38.png new file mode 100644 index 0000000..62b192a Binary files /dev/null and b/textures/led_marquee_char_38.png differ diff --git a/textures/led_marquee_char_39.png b/textures/led_marquee_char_39.png new file mode 100644 index 0000000..fbf5116 Binary files /dev/null and b/textures/led_marquee_char_39.png differ diff --git a/textures/led_marquee_char_40.png b/textures/led_marquee_char_40.png new file mode 100644 index 0000000..c45ba03 Binary files /dev/null and b/textures/led_marquee_char_40.png differ diff --git a/textures/led_marquee_char_41.png b/textures/led_marquee_char_41.png new file mode 100644 index 0000000..c5b69f4 Binary files /dev/null and b/textures/led_marquee_char_41.png differ diff --git a/textures/led_marquee_char_42.png b/textures/led_marquee_char_42.png new file mode 100644 index 0000000..29a11c1 Binary files /dev/null and b/textures/led_marquee_char_42.png differ diff --git a/textures/led_marquee_char_43.png b/textures/led_marquee_char_43.png new file mode 100644 index 0000000..6238d5e Binary files /dev/null and b/textures/led_marquee_char_43.png differ diff --git a/textures/led_marquee_char_44.png b/textures/led_marquee_char_44.png new file mode 100644 index 0000000..0b060ba Binary files /dev/null and b/textures/led_marquee_char_44.png differ diff --git a/textures/led_marquee_char_45.png b/textures/led_marquee_char_45.png new file mode 100644 index 0000000..c349d10 Binary files /dev/null and b/textures/led_marquee_char_45.png differ diff --git a/textures/led_marquee_char_46.png b/textures/led_marquee_char_46.png new file mode 100644 index 0000000..baf5f41 Binary files /dev/null and b/textures/led_marquee_char_46.png differ diff --git a/textures/led_marquee_char_47.png b/textures/led_marquee_char_47.png new file mode 100644 index 0000000..bea5b3c Binary files /dev/null and b/textures/led_marquee_char_47.png differ diff --git a/textures/led_marquee_char_48.png b/textures/led_marquee_char_48.png new file mode 100644 index 0000000..26f8cd5 Binary files /dev/null and b/textures/led_marquee_char_48.png differ diff --git a/textures/led_marquee_char_49.png b/textures/led_marquee_char_49.png new file mode 100644 index 0000000..acffc77 Binary files /dev/null and b/textures/led_marquee_char_49.png differ diff --git a/textures/led_marquee_char_50.png b/textures/led_marquee_char_50.png new file mode 100644 index 0000000..f4d1aea Binary files /dev/null and b/textures/led_marquee_char_50.png differ diff --git a/textures/led_marquee_char_51.png b/textures/led_marquee_char_51.png new file mode 100644 index 0000000..92a314d Binary files /dev/null and b/textures/led_marquee_char_51.png differ diff --git a/textures/led_marquee_char_52.png b/textures/led_marquee_char_52.png new file mode 100644 index 0000000..fcb4e02 Binary files /dev/null and b/textures/led_marquee_char_52.png differ diff --git a/textures/led_marquee_char_53.png b/textures/led_marquee_char_53.png new file mode 100644 index 0000000..80e859f Binary files /dev/null and b/textures/led_marquee_char_53.png differ diff --git a/textures/led_marquee_char_54.png b/textures/led_marquee_char_54.png new file mode 100644 index 0000000..8406a69 Binary files /dev/null and b/textures/led_marquee_char_54.png differ diff --git a/textures/led_marquee_char_55.png b/textures/led_marquee_char_55.png new file mode 100644 index 0000000..603dd3b Binary files /dev/null and b/textures/led_marquee_char_55.png differ diff --git a/textures/led_marquee_char_56.png b/textures/led_marquee_char_56.png new file mode 100644 index 0000000..bf42071 Binary files /dev/null and b/textures/led_marquee_char_56.png differ diff --git a/textures/led_marquee_char_57.png b/textures/led_marquee_char_57.png new file mode 100644 index 0000000..20d7ee2 Binary files /dev/null and b/textures/led_marquee_char_57.png differ diff --git a/textures/led_marquee_char_58.png b/textures/led_marquee_char_58.png new file mode 100644 index 0000000..a0eeb39 Binary files /dev/null and b/textures/led_marquee_char_58.png differ diff --git a/textures/led_marquee_char_59.png b/textures/led_marquee_char_59.png new file mode 100644 index 0000000..a4ee576 Binary files /dev/null and b/textures/led_marquee_char_59.png differ diff --git a/textures/led_marquee_char_60.png b/textures/led_marquee_char_60.png new file mode 100644 index 0000000..02ad90a Binary files /dev/null and b/textures/led_marquee_char_60.png differ diff --git a/textures/led_marquee_char_61.png b/textures/led_marquee_char_61.png new file mode 100644 index 0000000..d25824f Binary files /dev/null and b/textures/led_marquee_char_61.png differ diff --git a/textures/led_marquee_char_62.png b/textures/led_marquee_char_62.png new file mode 100644 index 0000000..488f1e4 Binary files /dev/null and b/textures/led_marquee_char_62.png differ diff --git a/textures/led_marquee_char_63.png b/textures/led_marquee_char_63.png new file mode 100644 index 0000000..5620643 Binary files /dev/null and b/textures/led_marquee_char_63.png differ diff --git a/textures/led_marquee_char_64.png b/textures/led_marquee_char_64.png new file mode 100644 index 0000000..415e0c6 Binary files /dev/null and b/textures/led_marquee_char_64.png differ diff --git a/textures/led_marquee_char_65.png b/textures/led_marquee_char_65.png new file mode 100644 index 0000000..e853027 Binary files /dev/null and b/textures/led_marquee_char_65.png differ diff --git a/textures/led_marquee_char_66.png b/textures/led_marquee_char_66.png new file mode 100644 index 0000000..8c9f92d Binary files /dev/null and b/textures/led_marquee_char_66.png differ diff --git a/textures/led_marquee_char_67.png b/textures/led_marquee_char_67.png new file mode 100644 index 0000000..fcfce9c Binary files /dev/null and b/textures/led_marquee_char_67.png differ diff --git a/textures/led_marquee_char_68.png b/textures/led_marquee_char_68.png new file mode 100644 index 0000000..c221f02 Binary files /dev/null and b/textures/led_marquee_char_68.png differ diff --git a/textures/led_marquee_char_69.png b/textures/led_marquee_char_69.png new file mode 100644 index 0000000..ad8bda8 Binary files /dev/null and b/textures/led_marquee_char_69.png differ diff --git a/textures/led_marquee_char_70.png b/textures/led_marquee_char_70.png new file mode 100644 index 0000000..4030b60 Binary files /dev/null and b/textures/led_marquee_char_70.png differ diff --git a/textures/led_marquee_char_71.png b/textures/led_marquee_char_71.png new file mode 100644 index 0000000..7fd8aa7 Binary files /dev/null and b/textures/led_marquee_char_71.png differ diff --git a/textures/led_marquee_char_72.png b/textures/led_marquee_char_72.png new file mode 100644 index 0000000..0f46667 Binary files /dev/null and b/textures/led_marquee_char_72.png differ diff --git a/textures/led_marquee_char_73.png b/textures/led_marquee_char_73.png new file mode 100644 index 0000000..9b45594 Binary files /dev/null and b/textures/led_marquee_char_73.png differ diff --git a/textures/led_marquee_char_74.png b/textures/led_marquee_char_74.png new file mode 100644 index 0000000..1b78bcb Binary files /dev/null and b/textures/led_marquee_char_74.png differ diff --git a/textures/led_marquee_char_75.png b/textures/led_marquee_char_75.png new file mode 100644 index 0000000..3e72741 Binary files /dev/null and b/textures/led_marquee_char_75.png differ diff --git a/textures/led_marquee_char_76.png b/textures/led_marquee_char_76.png new file mode 100644 index 0000000..36afd27 Binary files /dev/null and b/textures/led_marquee_char_76.png differ diff --git a/textures/led_marquee_char_77.png b/textures/led_marquee_char_77.png new file mode 100644 index 0000000..bd9f207 Binary files /dev/null and b/textures/led_marquee_char_77.png differ diff --git a/textures/led_marquee_char_78.png b/textures/led_marquee_char_78.png new file mode 100644 index 0000000..3244aed Binary files /dev/null and b/textures/led_marquee_char_78.png differ diff --git a/textures/led_marquee_char_79.png b/textures/led_marquee_char_79.png new file mode 100644 index 0000000..846fca5 Binary files /dev/null and b/textures/led_marquee_char_79.png differ diff --git a/textures/led_marquee_char_80.png b/textures/led_marquee_char_80.png new file mode 100644 index 0000000..670d3de Binary files /dev/null and b/textures/led_marquee_char_80.png differ diff --git a/textures/led_marquee_char_81.png b/textures/led_marquee_char_81.png new file mode 100644 index 0000000..4afe8f9 Binary files /dev/null and b/textures/led_marquee_char_81.png differ diff --git a/textures/led_marquee_char_82.png b/textures/led_marquee_char_82.png new file mode 100644 index 0000000..ae79820 Binary files /dev/null and b/textures/led_marquee_char_82.png differ diff --git a/textures/led_marquee_char_83.png b/textures/led_marquee_char_83.png new file mode 100644 index 0000000..1d9e261 Binary files /dev/null and b/textures/led_marquee_char_83.png differ diff --git a/textures/led_marquee_char_84.png b/textures/led_marquee_char_84.png new file mode 100644 index 0000000..a198bba Binary files /dev/null and b/textures/led_marquee_char_84.png differ diff --git a/textures/led_marquee_char_85.png b/textures/led_marquee_char_85.png new file mode 100644 index 0000000..a1b6290 Binary files /dev/null and b/textures/led_marquee_char_85.png differ diff --git a/textures/led_marquee_char_86.png b/textures/led_marquee_char_86.png new file mode 100644 index 0000000..f526b3f Binary files /dev/null and b/textures/led_marquee_char_86.png differ diff --git a/textures/led_marquee_char_87.png b/textures/led_marquee_char_87.png new file mode 100644 index 0000000..9cd5474 Binary files /dev/null and b/textures/led_marquee_char_87.png differ diff --git a/textures/led_marquee_char_88.png b/textures/led_marquee_char_88.png new file mode 100644 index 0000000..f626ebb Binary files /dev/null and b/textures/led_marquee_char_88.png differ diff --git a/textures/led_marquee_char_89.png b/textures/led_marquee_char_89.png new file mode 100644 index 0000000..94b42bd Binary files /dev/null and b/textures/led_marquee_char_89.png differ diff --git a/textures/led_marquee_char_90.png b/textures/led_marquee_char_90.png new file mode 100644 index 0000000..335a96c Binary files /dev/null and b/textures/led_marquee_char_90.png differ diff --git a/textures/led_marquee_char_91.png b/textures/led_marquee_char_91.png new file mode 100644 index 0000000..034ede9 Binary files /dev/null and b/textures/led_marquee_char_91.png differ diff --git a/textures/led_marquee_char_92.png b/textures/led_marquee_char_92.png new file mode 100644 index 0000000..4e4f18a Binary files /dev/null and b/textures/led_marquee_char_92.png differ diff --git a/textures/led_marquee_char_93.png b/textures/led_marquee_char_93.png new file mode 100644 index 0000000..6af259b Binary files /dev/null and b/textures/led_marquee_char_93.png differ diff --git a/textures/led_marquee_char_94.png b/textures/led_marquee_char_94.png new file mode 100644 index 0000000..b4f5bc4 Binary files /dev/null and b/textures/led_marquee_char_94.png differ diff --git a/textures/led_marquee_char_95.png b/textures/led_marquee_char_95.png new file mode 100644 index 0000000..4fe5ca1 Binary files /dev/null and b/textures/led_marquee_char_95.png differ diff --git a/textures/led_marquee_char_96.png b/textures/led_marquee_char_96.png new file mode 100644 index 0000000..71c2598 Binary files /dev/null and b/textures/led_marquee_char_96.png differ diff --git a/textures/led_marquee_char_97.png b/textures/led_marquee_char_97.png new file mode 100644 index 0000000..c5530a4 Binary files /dev/null and b/textures/led_marquee_char_97.png differ diff --git a/textures/led_marquee_char_98.png b/textures/led_marquee_char_98.png new file mode 100644 index 0000000..ec532d3 Binary files /dev/null and b/textures/led_marquee_char_98.png differ diff --git a/textures/led_marquee_char_99.png b/textures/led_marquee_char_99.png new file mode 100644 index 0000000..7be4f95 Binary files /dev/null and b/textures/led_marquee_char_99.png differ diff --git a/textures/palette.png b/textures/palette.png new file mode 100644 index 0000000..248c128 Binary files /dev/null and b/textures/palette.png differ