Stationeers

Stationeers

View Stats:
sedman Jan 4, 2019 @ 5:30am
Programming text on LEDs and consoles questions
I want to be able to put text before values on large LED. Is there a way to program this into it?
How has this player got "COOLING LOOP PRESSURE" and "COOLING LOOP TEMPERATURE" as text, on the consoles? I'm thinking they are reading the value applied with the labeler? Or is this pulled from something else?
https://imgur.com/gallery/J9789

I want to display the % full, of a tank, which I'm currently doing with an LED.
I have 6 LEDs, and 6 tanks, I use 2 programmed ICs to display the %, and I know the order, but I'd like to put text on the LEDs before the % value eg. "CO2 14%" for the CO2 tank.
Then I want to make the LEDs change color, to represent the filters % used, in the associated atmospherics.
Trying to work out the best way that is also energy efficient.
Which led me to the question - Can d# values be changed programatically?
Can I set d0 to Atmospherics 0, test it, display the output on a console or LED, then change d0 to Atmospherics 1, test it, display it... etc?
Is the large (long) LED just for displaying really long numbers? Or can it display multiple values?
Can a string of text be writen to a long LED? or long Console? eg. "H2O 11% O2 60% N 2% CO2 4% H 45% X 50%"
Any suggestions???
< >
Showing 1-6 of 6 comments
Arran Chace Jan 4, 2019 @ 6:54am 
Originally posted by sedman:
How has this player got "COOLING LOOP PRESSURE" and "COOLING LOOP TEMPERATURE" as text, on the consoles? I'm thinking they are reading the value applied with the labeler? Or is this pulled from something else?
https://imgur.com/gallery/J9789

Thats just renaming the console to the phrase you want to show on it.
No programming needed for that, just the labeler tool.
Last edited by Arran Chace; Jan 4, 2019 @ 6:54am
Sharidan Jan 4, 2019 @ 10:04am 
The 3 sizes of LED displays have 3 different modes you can set them to:
0: display numbers as is
1: display numbers followed by % symbol
2: display numbers followed by W (for watt)
(the Mode values in the above list might be swapped for % and W - I can't remember)

These are afaik the only other symbols you can add to an LED display. There is no text option for LEDs.

You can use a Logic Writer to set Mode of a LED display.

I beleive all 3 LED displays have the exact same number of numbers they can show - they are just of different physical size.

For Consoles you can insert a number of different Circuit Boards, depending what you want the console to display and then fetch the needed values either from machines, devices or logic chips.
sedman Jan 4, 2019 @ 3:32pm 
Thanks for your help - so currently :(
I'll have to apply some ingenuity to make things compact (led hard up against console)
- perhaps the console with an upside down LED above, that only display 10, 20, 50, 80 % so I can reverse the numbers, % will be in front of the value, but thats cool.
Would prefer to show the tank's % full, but maybe I can program the console to alternate between pressure and temperature every 5 seconds.
Would be nice to be able to mod in a new circuit board, but my brief look at the modexample gives me the impression that its limited to recipies and environmental conditions, cant create new assets?
Kastuk Jan 5, 2019 @ 4:56pm 
That's a pure coincidence!
https://steamcommunity.com/sharedfiles/filedetails/?id=1615939524
What I doing for last two-three days.
Not compact for sure.
Last edited by Kastuk; Jan 5, 2019 @ 5:05pm
Zero Jan 8, 2019 @ 6:22am 
If we could have read access to the label for any device that can be renamed and be able to output that to led displays that would solve a lot of problems. Maybe a way to use object hash values to set a display string. 0h preceding an integer could denote a hash value, similar to 0x for hex. Example,

alias LED d0
s LED Setting 0h11301215609

Would display Iron Ingot (I’m assuming the hash values are all the same length so a 1 preceding the hash in the most significant bit can indicate negative, 0 for positive).

Or better yet, add a Text attribute to LED displays, allow us to store individual characters as hex values in the stack. And maybe a special store instruction that outputs a range of the stack as a string.

ss LED Text a(r?|num) b(r?|num)
Kastuk Jan 8, 2019 @ 6:59am 
Original MIPS can use ASCII tables.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jan 4, 2019 @ 5:30am
Posts: 6