Space Engineers

Space Engineers

Adjustable LCDs
67 Comments
Into 13 Apr, 2024 @ 5:54pm 
It seems that Keen has built in a bug with the "new" holo LCD's, which causes the rear side not to flip accordingly, can this script fix it?
qm 10 Apr, 2023 @ 4:59pm 
It's not impossible (that it's a mod conflict), but it's uncommon enough that I haven't nailed down another mod that can be turned off to stop it. Any time it's crashed, it's been the exact same stack trace (looking at some past logs, the NetworkAPI message wasn't present so surely a red herring). Once it was when taking remote control of a distant grid, and as it loaded in the game crashed in the same way.

The most common (but still rare) crash when placing an LCD Panel has been to place one, configure it with a script and adjust the Adjustable LCD parameters, destroy the LCD Panel, then when placing a new one on the same grid, crash. I've only been doing this in multiplayer, and the dedicated server itself doesn't crash, just the client who places the LCD Panel.
Natomic  [author] 10 Apr, 2023 @ 12:30pm 
@qm I can't reproduce that, the stack trace is useful but not quite precise enough to know exactly where it happened unfortunately. It might be a mod conflict?
qm 9 Apr, 2023 @ 4:28pm 
I occasionally get a game crash when placing a screen.
Multiplayer, local dedicated server:

2023-04-09 16:06:40.637 - Thread: 1 -> Info: [NetworkAPI] Entity not registered in dictionary 'PropertiesByEntity'
2023-04-09 16:06:40.702 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Natomic.AngledLCDs.TerminalHelper.<>c__6`1.<AddTermBtn>b__6_0(IMyTerminalBlock b)
at Natomic.AngledLCDs.AngledLCD`1.<>c__DisplayClass71_0.<AddEnabled>b__0(IMyTerminalBlock b)
at Sandbox.Game.Gui.MyTerminalControl`1.OnUpdateVisual()
at Sandbox.MySandboxGame.ProcessInvoke()
...

Not sure if the NetworkAPI message is related or not.
I assume this is saying it's crashing when trying to add a terminal UI element.
Kaito 12 Mar, 2022 @ 9:51am 
If you do not ever plan to publish the result, you don't have to worry about GPL.
Bluestar 12 Mar, 2022 @ 9:38am 
GPL?

Just making a local single player mod
Natomic  [author] 12 Mar, 2022 @ 4:19am 
@Bluestar take a look at the mods source is my best advice. But bear in mind if you just copy the source and modify it you need to make your mod GPL
Bluestar 12 Mar, 2022 @ 2:14am 
Can you give a mini guide to adding the adjustable controls to blocks, i want to add them to some blocks for a privet mod
Kaito 20 Feb, 2022 @ 10:51am 
Fancy
Natomic  [author] 20 Feb, 2022 @ 10:18am 
@Kaito I added animation support recently
@NeonDrip Thanks for the issue report, should be fixed now. I've also implemented (1), that should've been the behaviour anyway :p, for (3) you can use build vision to quickly copy properties but I do think its an important QoL feature, I'll have a think about if/how to add it (2) is easy to do with timer blocks so I don't think its worth adding to the mod.
Kaito 20 Feb, 2022 @ 6:08am 
You sure you posted on the right mod, mate?
NeonDrip 20 Feb, 2022 @ 5:43am 
ok so theres 3 things i would like added/changed
1. make it so the "next scene" trigger goes back to the top if you were on the last scene
2. add a trigger for next and play in the same trigger, a "play next"
3. a way to copy paste stages

also a bug report, when i select stage 3rd 2nd 1st, it will instead play it as 2nd 3rd 1st

love the mod by the way
Maz 19 Jan, 2022 @ 1:52am 
@Natomic The update seems to be working. Thank you :104:
Natomic  [author] 17 Jan, 2022 @ 1:10pm 
@Maz Can you reproduce it outside of your dedicated server? Is there anything in the log?
Maz 17 Jan, 2022 @ 7:05am 
The settings do not seem to be saving anymore on my dedicated server, even when I un-tick the mod storage option.
luftmann 9 Jan, 2022 @ 7:57pm 
@Natomic, thanks for the reply. I am actually using LCDs 2, so we'll see what what the future brings. There's no problem with the transparent lcds, just the regular text panels. Seems odd. Thanks for the insight.
Natomic  [author] 9 Jan, 2022 @ 1:32pm 
@luftmann What are you using to display the info? If its something like automatic lcds you may have a conflict in the custom data, I'm working on a more general fix for this but for now please see the description under "conflicts with pb scripts". If you're sure thats not the problem could you please upload a world that has this issue and link it here
luftmann 7 Jan, 2022 @ 3:51pm 
Hi Natomic, I really enjoy the versatility of this mod, I found an issue,however. I've been having problems with non-transparent lcds not showing info anymore. I went through Keen first and it was determined that it was a mod issue. I narrowed it down to this one. The transparent lcds work fine, but I also like to use the "Corner LCD Panels" as well(which don't work). I can send a screenshot to you, if you want, just tell me where. Thanks
Natomic  [author] 13 Aug, 2021 @ 11:37am 
@tlmsi No, since that is not actually a separate block but an LCD "surface"
tlmesi 13 Aug, 2021 @ 12:51am 
Does this work with the small-grid Programmable block? It's got a nifty LCD on it.
Truffel 5 Aug, 2021 @ 5:32am 
Thank you for solving the issue
Natomic  [author] 4 Aug, 2021 @ 4:48am 
@Trüffel. Author says they've pushed a patch to fix it
Natomic  [author] 3 Aug, 2021 @ 2:41pm 
@Trüffel. Thanks for the report. I've fixed the crash but it seems https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=2217821984 modifies parts of the game that make it incompatible with this mod. I've notified the author but for now LCDs won't be adjustable with that mod installed
Truffel 3 Aug, 2021 @ 6:29am 
There are few unlisted mods but subscribing to the collection should give you all the mods right
Natomic  [author] 3 Aug, 2021 @ 4:58am 
@Trüffel. I can't repro it, but I get a page of errors from other mods when loading in so it may be something up with my game. Also I have to remove a mod from the list to get it to load, so that might be the conflict, is there a private mod on that list?
Natomic  [author] 2 Aug, 2021 @ 12:10pm 
@Trüffel. yep that looks like me. Could you reproduce it in a world and send me a workshop link?
Truffel 2 Aug, 2021 @ 11:23am 
https://pastebin.com/nLrxzzrm
I have a problem with Velocity and Gravity base scripts. Only thing in errors is Natomic.AngledLCDs.* so it might be an issue with your mod.
Kaito 18 May, 2021 @ 2:08pm 
Many scripts that do not support MyIni do support separating the INI section from the rest by three dashes, as such:


[INIStuff]
blah=banana

---
Non-ini stuff here
Natomic  [author] 18 May, 2021 @ 1:44pm 
@Anex That one doesn't use MyIni right? (no headings or anything in the custom data, just @N). As I said in the description, this mod is not compatible with scripts that do not support MyIni. You can try using the same setup as for Automatic LCDs 2 (see description for link) but I dunno if it will work
Anex 16 May, 2021 @ 2:35pm 
I'm using Isy's Solar Alignment Script , which constantly writes to the custom data, how do I avoid that ?
Natomic  [author] 16 May, 2021 @ 12:43pm 
@Anex Need more information. Its almost certainly a problem with your CustomData being used by other stuff. Do you get an error in the chat when trying to change the sliders? If not, please upload a world where you can reproduce this and I'll look into it
Anex 15 May, 2021 @ 9:24pm 
Hello, my lcd keeps resetting to original position after reload how to fix this?
Kaito 2 May, 2021 @ 8:43am 
It's mostly a situation of axis reversal. Since the collision doesn't actually move, I've found it convenient to put screens on the floor or ceiling and pitch them 90 degrees. Then yaw and roll become important for positioning.
Natomic  [author] 2 May, 2021 @ 7:22am 
@Kaito Added. Be interested to know your use case, I didn't add it earlier cause I didn't need it :p
Kaito 1 May, 2021 @ 6:12pm 
Would it be possible to get roll control as well?
Natomic  [author] 1 May, 2021 @ 3:58am 
@Kaito Agreed, I've seen a few people struggling with that. Thanks for your input
Kaito 30 Apr, 2021 @ 4:22pm 
I didn't realize I had to prepare the custom data of my LCD with a termination marker until I went through the comments here. Might be worth adding a note in the description.
Natomic  [author] 4 Apr, 2021 @ 7:40am 
@RustedDroid Yeah I saw the change list. Just a note saying reuse is allowed and/or that it's GPL is all, just lets someone know they are allowed to take your changes and tweak it themselves. Nice mod though, I didn't think of that application
Rusted Droid 4 Apr, 2021 @ 3:04am 
@Natomic Well it is just simple edit of your .cs file.
Removed offset part and rename some names as that will conflict with this mod.
Also replaced MyObjectBuilder_TextPanel with MyObjectBuilder_ReflectorLight.
Natomic  [author] 4 Apr, 2021 @ 2:39am 
@RustedDroid Nice job. Please make sure it's gplv3 though, share the reuse love :)
Rusted Droid 4 Apr, 2021 @ 2:16am 
Rusted Droid 29 Mar, 2021 @ 7:53pm 
@Natomic
Can you make this same to the small Spotlight block?
single block that light up at 5° to left and 15° down angle.
Talos Maltalomar 23 Mar, 2021 @ 4:46pm 
nice
[OUTATIME] 23 Mar, 2021 @ 3:52pm 
It now works well, thanks for the quick response
Rusted Droid 23 Mar, 2021 @ 2:54am 
Yeah this may be vanilla if you build LCD right near pilot seat.

Fun fact is that 3D model of Small Programing block has Lcd on adjustable arm :D.
Only if you can make this for other now part-broken mods.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=635163592
This one has broken curve rail so if i can just rotate 3x1 block.
XRCInfiniteXero 23 Mar, 2021 @ 2:13am 
8-Head..... "It's Big Brain Time!"
Natomic  [author] 22 Mar, 2021 @ 5:43am 
@[OUTATIME] Yep that was an oops on my part. Did not test that enough. Should now be fixed
[OUTATIME] 22 Mar, 2021 @ 3:38am 
If I then open up the lid again (disconnect the merge blocks), it resets its position again. However, this time, it won't fix itself and just stays in its original spot until I manually move one of the sliders.

I had to restart the game in order to get the position fix to work again and even then it only ever works on the very first time.

I'm sorry if I'm inconveniencing you with this in any way. (2/2)
[OUTATIME] 22 Mar, 2021 @ 3:38am 
@Natomic thank you for your quick support, but sadly I might still have to bother you again. I immediatley tested the fix out and it did infact work. But only the first time I used it.

To illustrate the situation better: Imagine a hole, and that hole is covered up with a lid that has merge blocks on each corner, so when it closes, the hole is airtight. And the Screen (Transparent LCD if that matters) is placed on the lid.

So I did things in this order: Opened the hole via pistons, placed the screen, adjusted the sliders.
Then, when I close it, as soon as the merge blocks connect, for a split second, the screen teleports back to its original position. However, thanks to your fix, it then jumps back to where I wanted it to be. (1/2)