Stormworks: Build and Rescue

Stormworks: Build and Rescue

*LUA* Radio Radar (Signal Trilateration)
25 Comments
Abgad Klishal 7 Feb, 2024 @ 6:06pm 
ive spent 2 days figuring out that you dont need to do that much big math if you do it using a lot of triangles in weird ways
Shillelagh 7 Mar, 2021 @ 10:27am 
How are you calculating distance with the antennas?
tdel 20 Dec, 2019 @ 1:19pm 
I can't seem to load this in. Stormworks claims it's too big. When I spawn it in with a mission it looks like maybe one of the "test target" antennas escaped out of bounds?
ThatMacBookGamer 18 Sep, 2019 @ 8:07am 
I'm not that good at lua, so I'll just make my ship bigger.
Tajin  [author] 18 Sep, 2019 @ 12:28am 
You can move the antennas but then you have to update their relative positions inside the script:

[code]xa = -1
xb = 1
xc = 0
ya = 0
yb = 0
yc = -1[/code]

These coordinates are in meters, relative to the antenna in the middle.
ThatMacBookGamer 17 Sep, 2019 @ 6:25pm 
Can I move one of the antenna, because my boat's not quite that wide.
Aljon 29 Aug, 2019 @ 6:43pm 
He might be a programmer in real life :O
Sqnty 29 Aug, 2019 @ 5:34pm 
how did you get soo good with logic?
Tajin  [author] 20 May, 2019 @ 12:43pm 
Certainly but then you can only track objects that actually transmit their gps-coordinates.
This however can track any radio signal.
Aljon 20 May, 2019 @ 9:31am 
hmmm where can I use this. cant I just like send gps to the antenna so it will show on screen map
2Polev 18 May, 2019 @ 9:31am 
Cool, this is basically an ESM system.
Tajin  [author] 17 May, 2019 @ 2:28am 
@ghettodexter 5x3 is now also supported
Thijnmens 16 May, 2019 @ 10:59pm 
You should make youtube tutorial video's
Tajin  [author] 16 May, 2019 @ 1:41pm 
If you're simply transmitting the GPS, why would you need math for that?

Anyway for general lua questions you're better off in the discord (or forum).
ghettodexter 16 May, 2019 @ 10:38am 
Is there a way to just use radio transmitter and GPS to transmit exact location to be updated in the LUA script? I can figure out the hardware side... not the math
Tajin  [author] 16 May, 2019 @ 9:40am 
should work for the most part if you make the list a bit more compact
Linex 16 May, 2019 @ 9:21am 
can you make it work on a 5*3 monitor?
Tajin  [author] 16 May, 2019 @ 12:38am 
Composite output gives you the X and Y coordinates of the currently selected signal source.
dinkledonkler 16 May, 2019 @ 12:21am 
what do we do with the composite output?
Tajin  [author] 16 May, 2019 @ 12:10am 
@Mehp, exactly that ;)
Geekness 15 May, 2019 @ 10:59pm 
Great work ! ;) Thanks !
Mehp 15 May, 2019 @ 8:36pm 
literally why he posted it
MarshallSantini 15 May, 2019 @ 3:07pm 
Absolutely incredible! May we use your system on our ships?
RootinTootinCowboy 15 May, 2019 @ 12:54pm 
that's actually really cool
RootinTootinCowboy 15 May, 2019 @ 12:48pm 
Wow you made a transponder system