Barotrauma

Barotrauma

View Stats:
Foxtrot39 May 4, 2021 @ 11:24am
How to make variable text display?
I want a single text display to be able to show multiple text (as in stating flood, meltdown, proxy warning ext...)

I know I can use a memory block out_signal and link it to the set_text, though how to I turn "on or off" the memory block as to not lock the display a single message?
Last edited by Foxtrot39; May 4, 2021 @ 11:25am
Originally posted by shrekstyle:
Hope this helps.
Have a look at the notes next to the components i modified and see it in the test room.
https://steamcommunity.com/sharedfiles/filedetails/?id=2477268333

edit. Forgot to mark the left most setup is your original, centre is the noted and modified and the right is the test room.
Takes a sec for the text to start scrolling once both are on.

Try to avoid using the toggle state on relays with constant signals coming in, that causes the flickering.
< >
Showing 1-15 of 15 comments
FourGreenFields May 4, 2021 @ 11:28am 
Relays?
Foxtrot39 May 4, 2021 @ 11:42am 
tried with relays and it spasm between on/off or stay locked on one text

yes I have a null signal to erase any text, just can't find how to get it to work when no relays signal are on, a not signal wired to their out_state just get both 1 & 0 causing to consatntly switch between text
Last edited by Foxtrot39; May 4, 2021 @ 11:43am
FourGreenFields May 4, 2021 @ 11:59am 
When no relays are on, your "null" signal (I suspect you need a space here; no signal at all probably just leaves the text as-is) should be on.
Foxtrot39 May 4, 2021 @ 12:04pm 
Nah the null signal work, it does erase the text but the logic system for it isn't working properly
Foxtrot39 May 4, 2021 @ 12:13pm 
To give an idea : I got 2 identical signal transmission logic circuit

when I activate the first, it flickers very fast

If I only activate the second one it works as intended

If I activate both, the flicker make the second circuit override the first until its turned off

Just want the flicker to stop tbh, its the main thing screwign my circuit
Last edited by Foxtrot39; May 4, 2021 @ 12:19pm
KnEe_GrOw May 4, 2021 @ 1:30pm 
Originally posted by Foxtrot39:
To give an idea : I got 2 identical signal transmission logic circuit

when I activate the first, it flickers very fast

If I only activate the second one it works as intended

If I activate both, the flicker make the second circuit override the first until its turned off

Just want the flicker to stop tbh, its the main thing screwign my circuit

Can you explain exactly how you wired it? It doesn't make sense that one would flicker if both are wired the same way.
shrekstyle May 4, 2021 @ 1:40pm 
Sounds like the first signal is not constant like the second signal is.

Does the combiner component thingy work when both are activated?
(to display both messages scrolling together)

Can you post a screen capture of the circuit layout so we can see it clearly, to help troubleshoot.
Foxtrot39 May 4, 2021 @ 1:41pm 
https://steamcommunity.com/sharedfiles/filedetails/?id=2477123342

Up is the reset circuit, left & right are the message relays controled by toggle button (planned to link it to a constant signal)

Null signal is send if the = block receive a 0 value (addition block tell when a message relay is on and block the reset)

Can't send 2 message at once the first send stays until its deactivated then whatever signal was after is shown
Last edited by Foxtrot39; May 4, 2021 @ 1:44pm
shrekstyle May 4, 2021 @ 2:28pm 
Does the ADDER go into the Mem or Equals componant there? (should be Equals (input 1))

Try to use the CONCATENATION component to join both messages together when both messages are activated.

But only when both messages are active, so second set of relays linked to an AND component will be needed to cut off the single message from reaching the text display.

edit. Changed the AND component to a Equals, Mem and Signal components.
the only thing is that it doesn't seem to scroll the text anymore. Bugger.
https://steamcommunity.com/sharedfiles/filedetails/?id=2477181662
Last edited by shrekstyle; May 4, 2021 @ 3:03pm
Foxtrot39 May 4, 2021 @ 3:28pm 
This is getting overly complex for just a text system...

Would be better to settle for a 3 screen layout instead at this point

Beside I don't even know how you linked & configured the extra relays & signal check

Still getting flicker from the first circuit wich make the concetenation block useless
Last edited by Foxtrot39; May 4, 2021 @ 3:40pm
Foxtrot39 May 4, 2021 @ 4:26pm 
ok, I litterlay copy pasted the right circuit to replace the left one and it worked, no damn clue what was even broken, now I have to get the concetenation block to work


And the concetenation block didn't worked because I forgot to set a target value on my signal checks...

So far all is working now
Last edited by Foxtrot39; May 4, 2021 @ 4:31pm
The author of this thread has indicated that this post answers the original topic.
shrekstyle May 4, 2021 @ 5:05pm 
Hope this helps.
Have a look at the notes next to the components i modified and see it in the test room.
https://steamcommunity.com/sharedfiles/filedetails/?id=2477268333

edit. Forgot to mark the left most setup is your original, centre is the noted and modified and the right is the test room.
Takes a sec for the text to start scrolling once both are on.

Try to avoid using the toggle state on relays with constant signals coming in, that causes the flickering.
Last edited by shrekstyle; May 4, 2021 @ 5:13pm
Foxtrot39 May 5, 2021 @ 11:14am 
Spend hours late in the night testing the circuit after fixing the flickering just to see the test detectors I used weren't configured properly causing the message to remain

(ノಠ益ಠ)ノ彡┻━┻

Well thanks for the help, hope this help anyone else with the same issue

Swaped the conectathing block for a memory-relay onein order to fit the whole message so its a 3 text display rather than a 2 one

shrekstyle May 5, 2021 @ 1:40pm 
Originally posted by Foxtrot39:
Spend hours late in the night testing the circuit after fixing the flickering just to see the test detectors I used weren't configured properly causing the message to remain
Iv been there, its all a learning experience.
Foxtrot39 May 5, 2021 @ 2:44pm 
I am really getting lost here, tested the whole thing, worked, wired it all up with my sensor array, worked, moved all componenent inside a wall and nothing works anymore

Copy pasted it on a empty map and it works

Edit : sensor signal overlap cause relays to be constantly turned off, have to link all detectors to an OR signal system to fix it
Last edited by Foxtrot39; May 6, 2021 @ 1:30am
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: May 4, 2021 @ 11:24am
Posts: 15