Space Engineers

Space Engineers

Triangulation rangefinder
30 Comments
Afourz Dec 21, 2024 @ 2:12pm 
@Hereby если не читать описание скрипта, то, разумеется, ты ничего не поймёшь.
«Результат отображается на LCD панели в виде GPS координаты. Его можно скопировать через меню "Редактировать" в свойствах LCD-панели и вставить, как координату GPS.»
RTFT
Hereby Nov 27, 2024 @ 12:13pm 
Я может чего-то не понимаю, но скрипт точно не создаёт никаких точек в пространстве. Он точно формирует текст, для вставки GPS точки в пространство из буфера, но самих точек не создаёт. Или я чего-то не понимаю?
kinngrimm Mar 19, 2023 @ 5:31pm 
ah ok, well if you ever want to expand its capabilities :)
Andrew  [author] Mar 19, 2023 @ 1:36pm 
@kinngrimm no, this script calculates the coordinates of the point on the crosshair of the camera rays.
kinngrimm Mar 12, 2023 @ 12:25pm 
does this allow for using strong unknown signals as gps markers for a triangulation if say these are in a range of 200km from each other?
Andrew  [author] May 2, 2022 @ 7:28am 
@MisterMann, when the program block is compiled for the first time, the text with the settings will be formatted in its customData. There they can be changed (language, block names).
After changing the settings in customData, the program block needs to be recompiled.
There is no need to change the script text. This is done on purpose, because on some servers, a special role is required to change the script, which is issued by the administrator, for example, to one player from the faction.
And so any player will be able to make settings without changing the script.
Andrew  [author] May 2, 2022 @ 7:18am 
Peekofwar, all blocks must be on the same grid
Peekofwar Apr 18, 2022 @ 3:14pm 
Does it matter if the programmable block and the camera are on different girds? Example: Placing the programmable block in a server room, and having the camera in use on an azimuth and pitch rotor setup?
MisterMann Apr 13, 2022 @ 1:49pm 
I feel like I'm doing something wrong in the naming part since they won't connect to each other. Put it in the name of the blocks, then custom data, and then at the part of the script that doesn't give me errors so at this point I don't know where to add the names at for the script to work.
Silent Shepherd May 3, 2021 @ 4:53pm 
Nice work on the script!

You remind me of someone I knew in Shadow Gear...
Andrew  [author] Apr 25, 2021 @ 1:42am 
@Hakim al Otiebi I do not know what is Draconis
Beef Supreme Apr 24, 2021 @ 8:32am 
Did you used to be in SGR on Draconis? We had a guy who wrote a script that did this.
Andrew  [author] Aug 12, 2020 @ 9:08am 
@singleton30 you can measure the distance to the planet with this script. Between measurements, you will need to shift to the side by 100 km or so. Or use any other script that uses the camera and Raycast.
singleton30 Aug 11, 2020 @ 5:13pm 
Can we have a script that actually measures planetary distances? Please?
Andrew  [author] Jul 24, 2020 @ 10:32am 
@Quickshadow10m, only if I'm interested in the idea of automation that the script implements. Write to me in person
Quickshadow10m Jul 24, 2020 @ 8:34am 
hey I would like to commission a script, reply if you are up to try. I picked you based on your skills. I also will be commisioning several other scripters, whoever i think made the best script will get a reward. The most OP battle weapon in vanilla no scripts.
DOSorDIE Dec 3, 2019 @ 8:14am 
Thanks for answer ... i will try it.
Andrew  [author] Dec 2, 2019 @ 6:04pm 
@DOSorDIE, in theory. Because the script solves the triangle, it will be necessary to fly far enough away to the side for accurate measurement. At 50 or 100 km.
DOSorDIE Dec 2, 2019 @ 2:53pm 
Can i use that scipt to get the distance to the next planet?
Andrew  [author] Jul 27, 2019 @ 8:24pm 
@thomas.burborough, subscribe to the script. Put the program block on the ship, go to Edit and select this script from the list.
Then you will need to specify the parameters in the Custom data of the program block (there are tips). First change the language to EN and recompile. Then specify other settings - the name of the display. You can use the cockpit display with a display index, such as "Cockpit(0)". After changing the settings you need to recompile.
Then bring your program block to the quick access panel and create two buttons with the arguments "addray" and "clear". After the second measurement, the coordinates will be displayed on the display. After each next measurement they will be refined.
To transfer the GPS coordinate to the list of markers, you need to go into editing the text of the display and copy it.

Watch any video on the use and configuration of the script, you will understand the general principle.
thomas.burborough Jul 27, 2019 @ 2:10pm 
I meant how do I use this mod.

Do I create a programmable block and add some kind of code to it or is there a menu that I open somewhere?

I've never used scripting in this game before and I don't have a clue how it works.
Andrew  [author] Jul 25, 2019 @ 10:55pm 
@thomas.burborough You can get the coordinates of the object without approaching it. How exactly do you use them - thinking for yourself. It could be any weapon working on the coordinates.
thomas.burborough Jul 25, 2019 @ 1:58pm 
How do I actually use this ingame?
TheOrangeNinja May 29, 2019 @ 7:07pm 
That is some clever shit right there, bravo to the max
XCanG May 16, 2019 @ 12:43am 
Хм, просто у меня идея была на корабль нацепить, например, 4 камеры и этим модом повернуть их направление взгляда, запустить скрипт и получить координаты.
Andrew  [author] May 15, 2019 @ 1:12pm 
Но уж очень она дерганная будет для измерений, если камера с гироскопом. Если использовать двухроторный подвес, где скрипт непосредственно роторами управляет, нормально получается.
Andrew  [author] May 15, 2019 @ 1:09pm 
@XCanG, направление будет вперед от ориентации блока, т.е. с этим модом не взетит, блок камеры не имеет таких свойств, типа направления взгляда. На двух роторах с ванильной камерой взлетит.
XCanG May 15, 2019 @ 12:29pm 
Просто для справки добавлю, что физически камера не вращается, т.е. её не надо ставить на 2 ротора с гироскопом, вращается она условно, просто мы смотрим в другое направление.
XCanG May 15, 2019 @ 12:27pm 
Такой вопрос, у Digi есть мод с поворотом взгляда камеры (https://steamcommunity.com/sharedfiles/filedetails/?id=806331071) , если свою камеру я поверну и буду использовать предпросчёт, то какое направление скрипт выберет? Взгляд, куда я камеру повернул или относительно физической модели (вид по умолчанию, в сторону нормали)?
Andrew  [author] May 14, 2019 @ 4:24am 
Updated to version 1.0.1