Space Engineers

Space Engineers

Planetary compass + coordinates calculator
76 Comments
iX-9 Apr 21, 2024 @ 3:37am 
Please FIX this! It is only one fukked-up command!
Kobra Jan 7, 2024 @ 1:37pm 
Чёт не работает....
cyberwolfent Dec 28, 2023 @ 1:12pm 
I can't seem to get this to work. When I check the code I get several error referring to the IMyTextPanel.
cygenerations Jun 9, 2021 @ 9:53pm 
dude you made my job so much easier !!! thank you, I will use it to get planet centers and recreate
the custom map I'm in
Dralvek Apr 25, 2020 @ 5:30am 
Pennywise, на spaceengineers.ru управление кривое - кликаю на проекты и перекидывает на главную. поиск не выдает результат по слову "Planetary compass", в фильтре нет раздела "скрипты" и сам фильтр не понятно как работает - при выборе критериев в выпадающем меню не обновляется страница.
Fantom Apr 25, 2020 @ 4:58am 
тогда уж сударь, делайте 2 варианта, и на родном..
а то зайдешь .. и пендосня.
Eruzhar Nov 25, 2016 @ 4:20am 
Is there a way to adapt this script to large grids?
XandreBlues Jun 7, 2016 @ 12:36pm 
It works very well and is greatly appreciated. Thank you for this:steamhappy:
Max_Rock May 22, 2016 @ 4:31am 
Pennywise Даже не знал про этот сайт... 0_о
Pennywise  [author] May 22, 2016 @ 2:10am 
Max_Rock на spaceengineers.ru есть русское описание.
Max_Rock May 22, 2016 @ 1:42am 
Делал русский, а описание как обычно на английском...))
Omega May 20, 2016 @ 10:53pm 
Thanks Pennywise, I really appreciate it!
Pennywise  [author] May 20, 2016 @ 1:54am 
This string:
Output+= "\n Altitude: " + Math.Round(Altitude, 2);

Change it to
Output+= "\n Altitude: " + Math.Round(Altitude-60000, 2);
Omega May 19, 2016 @ 8:57pm 
A friend (who is far more capable when it comes to C# than I am) and I were poking around in the code and we couldn't figure out where to input a variable to subtract from the altitude. Can you point us in the right direction?
Omega May 18, 2016 @ 11:12am 
Ah I understand what you're saying. The reason I asked is that I'm looking for an altitmeter for an emergency dropship for crash landing on a planet. Since the planet's radius is only an average, it won't work for flying around in a plane like you've built, but I think it would be "close enough" to accurate to help gague a landing in my emergency crash scenario.
Pennywise  [author] May 18, 2016 @ 4:06am 
OmegaConstruct I know only average radius of planet. But i don't know exact height of surface in a specific location. In mountains 67 000 m from planet center can be only 100 above surface
Omega May 18, 2016 @ 3:06am 
I lovet this script! Would it be possible to add in a subtraction function to calculate the altitude above the surface if you know the diameter of a given planet? For instance, if you know a planet is 120km in diameter, is there a way to manually input into the code a variable that would subtract 60km from the altitude value displayed?
Dralvek Apr 24, 2016 @ 8:49am 
Спасибо заработало ))
а то я все вписывал 1,2,3 :
"How to use:
Press "1" to start calculation of planet center and fly horizontaly for 5-10 seconds.
Press "2" to stop script
Press "3" to stop planet center recalculation and continue only bearing and planetary coordinates calculation. "

(невидно было команды при наведении мыши на тулбар)

но на сервере не вышло (
Pennywise  [author] Apr 23, 2016 @ 9:07am 
Treng Start Stop Continue
Dralvek Apr 23, 2016 @ 8:04am 
какие аргументы вписывать в выполнить при вставке в панель быстрого запуска?
Pennywise  [author] Mar 8, 2016 @ 9:58am 
Yaga Maybe, there is something to change with longitudes. I just set -Y as Northern pole, so, when you re watching to north, sun rises on your right hand. There are no special reasons for placing 0 meridian. It can be placed everywhere.
Yaga Mar 8, 2016 @ 8:55am 
Hey Pennywise, thanks a lot for this great script. It is really useful! I'm trying to fully understand the code, so I hope you don't mind some questions.

I noticed that the longitude displayed increases when flying westward. This confused me, until I realized that your script obviously counts eastern longitudes as negative and western longitudes as positive. By definition this should be switched: Going east from the 0-meridian should give you positive longitude readings, while going west should give you negative readings.

Second question: you defined the 0-meridian by (x = 0, z = r). Was this a deliberate choice? We could also choose any of the other 3 points, like (x = r, z = 0) or (x = 0, z = -r) or (x = -r, z = 0). Or is there a special reason I just don't see?
EnjoyCoke Feb 16, 2016 @ 5:37am 
Eh... what?
Dralvek Jan 19, 2016 @ 4:28pm 
sad читай предыдущие
Sad_Brother Jan 19, 2016 @ 7:14am 
@Treng, а самому слабо из программного блока код вынуть?
И тут вроде не автопилот, а только определитель положения.
Pennywise  [author] Jan 18, 2016 @ 10:57pm 
сейчас я пока планетарными бурильными дронами озаботился. сделаю их, если раньше никто не создаст удобных автокопалок.
Dralvek Jan 18, 2016 @ 9:34pm 
это у меня работает только из блюпринта!(((
а мод автопилота - хочу в програмный блок т.к. не все ставят к себе его на сервер . автопилот то сделали чтоб работал, но этот модовый мне очень нравится. вот человек разбирающейся попался и по русски говорит - я и подумал может сделает:steamhappy:
Sad_Brother Jan 18, 2016 @ 7:30am 
@ Treng, Я конечно не автор, но уже сломал голову пытаясь понять, что ты хочешь.
Dralvek Jan 17, 2016 @ 4:08pm 
а из мода можеш переделать программу для программного блока? http://steamcommunity.com/sharedfiles/filedetails/?id=363880940
Pennywise  [author] Jan 16, 2016 @ 8:56am 
я текст панели использовал, но можно любой. у них один объект на самом деле.
Sad_Brother Jan 16, 2016 @ 6:44am 
там вроде в скрипте всё расписано
Dralvek Jan 16, 2016 @ 6:17am 
а монитор любой или текстовый?
Pennywise  [author] Jan 16, 2016 @ 6:14am 
таймер вызывает программный блок без аргументов.
Dralvek Jan 16, 2016 @ 5:59am 
На панель управления поставить понятно (1,2,3..) а в таймере что выставить ? с каким параметром ? делаю копию корабля работает делаю сам - не пашет((
Dralvek Jan 16, 2016 @ 5:56am 
эту программу на Atmospheric Lander mk.1 сделать можно?
Pennywise  [author] Jan 15, 2016 @ 9:51am 
да можно. по идее можно создать спутник, обращающийся по заданной орбите.
mmmm1998 Jan 15, 2016 @ 7:56am 
А если добавить ему двигатели,то его ,в принципе, можно вывести на орбиту луны, высчитывая расстояния до центра планеты и, имея четкую высоту орбиты, постоянно совершать микро коррекции ускорителями, чтобы не упасть через несколько витков.
Pudding Jan 13, 2016 @ 7:29am 
This should be included by default!
Dralvek Dec 12, 2015 @ 11:11am 
Привет. А есть что нибудь для прыжков - типо задать на сколько прыгнуть вперед по курсу а координаты программа посчитает?
Tallinu Dec 4, 2015 @ 10:58am 
This looks incredibly useful. Thank you!
Pennywise  [author] Dec 1, 2015 @ 2:19am 
press refresh button several times. steam is slow in blueprint update
JamieRamsey2005 Nov 30, 2015 @ 2:02pm 
I can't seem to find this in my blueprints and I am not sure why.
Pennywise  [author] Nov 29, 2015 @ 4:24am 
jura7 Может, заведу вк и буду выкладывать
jura7 Nov 29, 2015 @ 4:12am 
@Pennywise

Добрый день.
А почему вы выкладываете работы только на стимовской площадке?
Можно расширить аудиторию благодаря ру-коммьюнити.
У нас есть отличная группа, благодаря нее можно иметь доп просмотры и фидбек на русском.
https://vk.com/spaceengineersgame

Благодарю.
I0GER Nov 27, 2015 @ 2:20am 
Pennywise, ну это разве что облетать сбоку, ибо перелететь некоторые горы на атмосферных трастерах нереально - слишком высокие.
Pennywise  [author] Nov 27, 2015 @ 1:30am 
Yes, exactly, -Y is a northern pole of each planet, not only Earth-like. That's because sun rotates around Y axis clockwise.
Pennywise  [author] Nov 27, 2015 @ 1:29am 
scorpnoire There are 60 game ticks in a second.
default script timer setting:
const int Clock=15; which means, script runs each 15th Tick = 4 runs per second.
if you set Clock to 1, it will run each game tick = 60 runs/sec
if you set it to 60, it will run only once each second.
Pennywise  [author] Nov 27, 2015 @ 1:25am 
iogher85 это можно все прописать, особенно, если девелоперы откроют доступ к высоте над рельефом, которую мы видим из кабины.
scorpnoire Nov 26, 2015 @ 8:02pm 
could it be, that earth like planet has north in -Y and south in +Y coordinates-directions? =)
scorpnoire Nov 26, 2015 @ 8:01pm 
Could you maybe clarify what time in seconds a tick within the user variables represents? e.g. Tick 5 = refreshes all second, Tick 30 = refresches all 20 sec. or the like?
I'd like to find a balance between performance and update cycle.

Thank you!