Stormworks: Build and Rescue

Stormworks: Build and Rescue

LIDAR imaging array (Display Resolution Update)
36 Comments
zappafish 19 Dec, 2023 @ 3:16pm 
Lua Imaging Display for Advanced Reconnaissance. This is certainly the correct acronym.
crae cochran 6 Nov, 2023 @ 6:57pm 
never mind you just have to change syntax in the lua logic :)
Toyrace 3 Jul, 2023 @ 11:01am 
its possible to remove the gimbal and use the now built in gimbal inside the laser, by connecting the horizontal to x, and invert the vertical and connect it to y.
Vali_gaming15 2 Jul, 2023 @ 7:03am 
i setup everything corectly but my screen is white or blue nothing else happens it scans but nothing shows up
Vali_gaming15 2 Jul, 2023 @ 7:02am 
mine is broken
That one guy 31 Mar, 2023 @ 9:41pm 
my lua doesnt open but uh.. ok
AG Architect 1 Mar, 2023 @ 11:22am 
Hey, I'm currently building a drill ship for the upcoming oil update, I think it would be cool to have this so you can see what is below you before you start drilling for oil. Please can I use this in build? I will obviously give credit.
at_large_0010 4 Jan, 2023 @ 11:13am 
I'm trying to use it but the laser shakes when goes to the left side.
at_large_0010 4 Jan, 2023 @ 11:12am 
Why is the left side of the image completely distorted?
maple 1 Jan, 2023 @ 4:27pm 
cum...
















now
dillcampjr 2 Oct, 2022 @ 4:21pm 
when i plug it in i get -1 when i click and don't see screen any fixes
Tectulus  [author] 20 Aug, 2022 @ 11:23am 
@Refurb: Sure go ahead, I've got no issues with that
Refurb 9 Aug, 2022 @ 6:33pm 
Hey I've been building my own ship and was thinking that it would be cool if i had this to see my depth in color! I would really like to be able to use this in the build, can i get permission? I will obviously give you credit for the depth sensor.
Colgate 2 Aug, 2022 @ 1:41pm 
MBES not lidar buddy
Mario-B92 (AT) 17 Jul, 2022 @ 9:21am 
Found it out, just was a bit too dumb and never used LIDAR, first scan then use nearest and farest value shown on screen as input on the keyboard ;)
Mario-B92 (AT) 17 Jul, 2022 @ 8:51am 
This is awesome, what values have been used for the Wreck Scan in the Pictures above?
Cam 2 Jul, 2022 @ 6:50am 
is it possible to make it go faster?
vile creature 17 Jun, 2022 @ 10:46am 
Flip the monitor around.
Drancon101 15 Jun, 2022 @ 7:49pm 
Is the video feedback from the scan supposed to be coming in upside down? If not, is there a way I can fix it?
RandomGuy0400 15 Jun, 2022 @ 10:02am 
any way to make it scan faster?
Lyam 13 Jun, 2022 @ 4:55pm 
Unfortunately, I forgot what I did. But it should be a really simple fix.
If you value==nil, have it return 0.

You can save the characters necessary for implementing this via the tip I wrote in my other comment :P
Tectulus  [author] 13 Jun, 2022 @ 9:33am 
@Lyam: Thanks for the feedback. Can you tell me what exactly you did when this error occurred? In my tests I didn't run into any issues with nil values, so it'd be interesting to figure out what caused it in your case.
DinoDude777 10 Jun, 2022 @ 8:56pm 
Nice
Lyam 10 Jun, 2022 @ 8:23am 
FYI
Got an error at line 174 where the script expected a number in (math.floor) but got a nil instead.

You can fix this with a simple check for nils on your arrays before placing them in your tostring.

Also, if you want to minimize your character count, simple do:

s=screen
sc=s.setColor
dr=s.drawRectF
dt=s.drawText

Then you'll be able to just use dr instead of screen.drawRectF

Hope that helps!
talkytalky1 9 Jun, 2022 @ 1:30am 
funny, now I can basically make a LIDAR gamemode outa this
murderous banana 8 Jun, 2022 @ 7:10pm 
best fish finder in stormworks i give this a thumbs up out of a thumbs up
Mr_Seal 8 Jun, 2022 @ 6:39pm 
add a autofocus so it uses the min and max values as the near and far planes not to mention in looks pretty cool as it adjusts the values
Tectulus  [author] 8 Jun, 2022 @ 7:45am 
@That one guy: I updated the logic so that you can change the screen resolution. All you'll have to do is go into the Lua and change the first two variables to fit your screen resolution. I wouldn't advise reducing the horizontal resolution though, as that might cause the buttons to end up off screen.

@Inverspe: That's really up to you. If you wanna map the seafloor I'd suggest mounting somewhere at the bottom of your ship and getting it stabilized with robotic pivots and tilt sensors.
Inverspe 8 Jun, 2022 @ 12:17am 
which area should i put the laser sensor on a ship?
That one guy 7 Jun, 2022 @ 4:44pm 
does it work with 2x3?
max70751 6 Jun, 2022 @ 6:46pm 
this is pretty cool
Tectulus  [author] 6 Jun, 2022 @ 1:48pm 
@Maniac: You'll be glad to know I got it down to just under 10 seconds at quarter resolution mode
Tectulus  [author] 6 Jun, 2022 @ 9:06am 
I'm looking into speeding up the scan but from what I can tell at the moment the simulation speed is the bottleneck. I can only do one reading per tick because the laser needs to be pointed at the correct angle. It seems the only way to speed up scanning is to sacrifice resolution. I might add an option to change resolution for faster scanning
Mat 6 Jun, 2022 @ 4:15am 
is it possible to make it faster ? (i'm thinking, maybe 2 second scan)
Seian555 5 Jun, 2022 @ 2:28pm 
This is so useful