Space Engineers

Space Engineers

Triangulation rangefinder
30 kommentarer
Afourz 21. dec. 2024 kl. 14:12 
@Hereby если не читать описание скрипта, то, разумеется, ты ничего не поймёшь.
«Результат отображается на LCD панели в виде GPS координаты. Его можно скопировать через меню "Редактировать" в свойствах LCD-панели и вставить, как координату GPS.»
RTFT
Hereby 27. nov. 2024 kl. 12:13 
Я может чего-то не понимаю, но скрипт точно не создаёт никаких точек в пространстве. Он точно формирует текст, для вставки GPS точки в пространство из буфера, но самих точек не создаёт. Или я чего-то не понимаю?
kinngrimm 19. mar. 2023 kl. 17:31 
ah ok, well if you ever want to expand its capabilities :)
Andrew  [ophavsmand] 19. mar. 2023 kl. 13:36 
@kinngrimm no, this script calculates the coordinates of the point on the crosshair of the camera rays.
kinngrimm 12. mar. 2023 kl. 12:25 
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  [ophavsmand] 2. maj 2022 kl. 7:28 
@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  [ophavsmand] 2. maj 2022 kl. 7:18 
Peekofwar, all blocks must be on the same grid
Peekofwar 18. apr. 2022 kl. 15:14 
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 13. apr. 2022 kl. 13:49 
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 3. maj 2021 kl. 16:53 
Nice work on the script!

You remind me of someone I knew in Shadow Gear...
Andrew  [ophavsmand] 25. apr. 2021 kl. 1:42 
@Hakim al Otiebi I do not know what is Draconis
Beef Supreme 24. apr. 2021 kl. 8:32 
Did you used to be in SGR on Draconis? We had a guy who wrote a script that did this.
Andrew  [ophavsmand] 12. aug. 2020 kl. 9:08 
@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 11. aug. 2020 kl. 17:13 
Can we have a script that actually measures planetary distances? Please?
Andrew  [ophavsmand] 24. juli 2020 kl. 10:32 
@Quickshadow10m, only if I'm interested in the idea of automation that the script implements. Write to me in person
Quickshadow10m 24. juli 2020 kl. 8:34 
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 3. dec. 2019 kl. 8:14 
Thanks for answer ... i will try it.
Andrew  [ophavsmand] 2. dec. 2019 kl. 18:04 
@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 2. dec. 2019 kl. 14:53 
Can i use that scipt to get the distance to the next planet?
Andrew  [ophavsmand] 27. juli 2019 kl. 20:24 
@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 27. juli 2019 kl. 14:10 
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  [ophavsmand] 25. juli 2019 kl. 22:55 
@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 25. juli 2019 kl. 13:58 
How do I actually use this ingame?
TheOrangeNinja 29. maj 2019 kl. 19:07 
That is some clever shit right there, bravo to the max
XCanG 16. maj 2019 kl. 0:43 
Хм, просто у меня идея была на корабль нацепить, например, 4 камеры и этим модом повернуть их направление взгляда, запустить скрипт и получить координаты.
Andrew  [ophavsmand] 15. maj 2019 kl. 13:12 
Но уж очень она дерганная будет для измерений, если камера с гироскопом. Если использовать двухроторный подвес, где скрипт непосредственно роторами управляет, нормально получается.
Andrew  [ophavsmand] 15. maj 2019 kl. 13:09 
@XCanG, направление будет вперед от ориентации блока, т.е. с этим модом не взетит, блок камеры не имеет таких свойств, типа направления взгляда. На двух роторах с ванильной камерой взлетит.
XCanG 15. maj 2019 kl. 12:29 
Просто для справки добавлю, что физически камера не вращается, т.е. её не надо ставить на 2 ротора с гироскопом, вращается она условно, просто мы смотрим в другое направление.
XCanG 15. maj 2019 kl. 12:27 
Такой вопрос, у Digi есть мод с поворотом взгляда камеры (https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=806331071) , если свою камеру я поверну и буду использовать предпросчёт, то какое направление скрипт выберет? Взгляд, куда я камеру повернул или относительно физической модели (вид по умолчанию, в сторону нормали)?
Andrew  [ophavsmand] 14. maj 2019 kl. 4:24 
Updated to version 1.0.1