Scrap Mechanic

Scrap Mechanic

评价数不足
Dot matrix displays
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.486 MB
2024 年 11 月 19 日 下午 2:14
1 月 31 日 上午 2:35
4 项改动说明 ( 查看 )

订阅以下载
Dot matrix displays

在 Pseudo 的 1 个合集中
Dot-Matrix Displays
3 件物品
描述
Build your own dot matrix displays!

Pre-built displays:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3368794318

DISCORD:
https://discord.gg/5VHmpTrd7V

VERSION 1.5:
Added LED
Bugfixes

MANUAL:
1. Weld the pre-built display or build you own with any glitchwelding tool and connect dots in pairs
2. Place down DotMatrix Controller, place down as many DotMatrix Encoders and switches (or whatever logic input) as many data there is
3. Connect switches (or whatever logic input) to corresponding encoders and encoders to controller.
4. Connect controller to the first left top dot in the display
5. Open excel, make cells square, select the area corresponding to size of the display and fill it with dot symbol (. , Ctrl + Enter). !You can search the internet for BUSE displays in OMSI 2 and download the fonts in excel file if you dont want to make them by yourself!
6. Draw whatever you want in the display area
7. Copy and paste finished board from excel to notepad
8. Copy the tabulation symbol from pasted output, press CTRL + H and paste that symbol in the first box, leave the second one empty and press enter
9. Copy the output, go to https://lingojam.com/TexttoOneLine and select "No spaces between" option and paste the output into first box
10. Copy output from the second box, paste it into "data" variable in this python script. Set the size of the board in "x_size" and "y_size" variables:
mappings = {
"....": 0,
"1...": 1,
".1..": 2,
"..1.": 3,
"...1": 4,
"11..": 5,
"..11": 6,
"1.1.": 7,
".1.1": 8,
".11.": 9,
"1..1": 10,
"111.": 11,
"11.1": 12,
"1.11": 13,
".111": 14,
"1111": 15
}

def process_data(data, x_size, y_size):
result = []

for y in range(0, y_size, 2):
for x in range(0, x_size, 2):
block = data[y * x_size + x : y * x_size + x + 2] + data[(y + 1) * x_size + x : (y + 1) * x_size + x + 2]
result.append(mappings.get(block, "N/A"))

return result

data = "" # put one-line data from excel

x_size = 88 # X size of the board
y_size = 16 # Y size of the board

result = process_data(data, x_size, y_size)

print(",".join(map(str, result)))

11. Copy the printed output and paste it into the encoder.
12. Activate the logic input in the that is connected to the encoder, and thats it!
3 条留言
Pseudo  [作者] 1 月 29 日 上午 6:57 
the problem is that this mod is broken atm i dont have motivation to fix it
Kubusz the Numb 1 月 28 日 下午 2:37 
I can't conect the controler and the panels
Kubusz the Numb 1 月 28 日 上午 10:40 
Are there plans to make it easier?