Space Engineers

Space Engineers

Self Guided Missile MK2 - Script
18 Comments
usmcsavage 2 Jun, 2021 @ 6:23am 
never mind. i'm just an idiot. (things don't work if they are turned off)
usmcsavage 31 May, 2021 @ 1:58am 
i have a missile set up on my ship with a pp merge block on my ship directly connected to the missiles pp merge block. i'm trying to set up a projector on my ship so i can weld directly on the ship but nothing is build-able. its aligned correctly. any thoughts?
Schmetterling 23 Feb, 2021 @ 6:49am 
Да, ракеты полностью заправлены. Но при отсоединении не переходят в иной режим.

Yes, the rockets are fully fueled. But when disconnected, they do not switch to another mode.
puipuix  [author] 23 Feb, 2021 @ 2:22am 
Turn the engines off when building. The script will only turn them on when launching and will set their ThrustOverridePercentage to 1 (for the forward).

After been disconnected from the main vehicle the mode should be LAUNCHING or SEARCHING or TRACKING. If not that mean that the missile still have acces to a block with 'Missile Safety'.

Do your thrusters have fuel ?
Schmetterling 22 Feb, 2021 @ 9:47pm 
Испытания провел. Все сделал как нужно, ракета смогла перейти в режим ГОТОВ, но после разрыва контакта ракета не стартует. Двигатели включены, но не летит.
Нужно ли, как показано в видео, отключать двигатели при постройке или скрипт сам их отключит при переключении в режим ГОТОВ?

Tests conducted. I did everything as needed, the rocket was able to go into READY mode, but after the contact was broken, the rocket did not start. Engines are on, but not flying.
Do I need to turn off the engines when building, as shown in the video, or will the script turn them off when switching to READY mode?
puipuix  [author] 22 Feb, 2021 @ 8:48am 
The warning are not a problem, don't worry
And yes it's inside custom data
Schmetterling 22 Feb, 2021 @ 12:53am 
Сорри за оффтоп. Разобрался куда нужно добавить "Missile Safety". Почитал коментарии к ракетам в вашей мастерской и там сказано, что нужно добавить "Missile Safety" в "Custom Data" любого блока. Уфф...сегодня попробую как сработает. Если я правильно понял это, то стоит добавить это уточнение в описание скрипта, будет меньше вопросов.

Sorry for offtopic. Figured out where to add "Missile Safety". I read the missile comments in your workshop and it says that you need to add "Missile Safety" to the "Custom Data" of any block. Uff ... today I'll try how it works. If I understood this correctly, then it is worth adding this clarification to the description of the script, there will be fewer questions.
Schmetterling 22 Feb, 2021 @ 12:44am 
Возможно я что-то делаю не так. Я просто изменил имя одного из блоков, добавив к нему "Missile Safety" (без кавычек). Нужно делать как-то иначе?

Maybe I'm doing something wrong. I just changed the name of one of the blocks by adding "Missile Safety" (no quotes) to it. Need to do something differently?
(litter for translation, google)
Schmetterling 22 Feb, 2021 @ 12:33am 
Пока использую скрипт от Rdav's, модифицированный пользователем io982. Он решил его проблему с rayscan.

For now I am using a script from Rdav's modified by user io982. He solved his problem with rayscan.
Schmetterling 22 Feb, 2021 @ 12:25am 
After adding the code to the program block, I check the code and it gives the following errors:
Program (108.0): Warning: Unreachable code detected
Program (112,0): Warning: Unreachable code detected

I named one of the blocks "Missile Safety" and recompiled, this is what the script produced:

Missle mode: SAFETY
Update Frequency: Update10

Error: No safety block with data that contains 'Missle Safety' as been found.
Schmetterling 22 Feb, 2021 @ 12:25am 
После добавления кода в программный блок, делаю проверку кода и он выдаёт вот такие ошибки:
Program(108,0): Warning: Unreachable code detected
Program(112,0): Warning: Unreachable code detected

Назвал один из блоков "Missile Safety" и провел рекомпиляцию, вот что выдал скрипт:

Missle mode: SAFETY
Update Frequency: Update10

Error: No safety block with data that contains 'Missle Safety' as been found.
puipuix  [author] 21 Feb, 2021 @ 1:43am 
That's how it work yes. What is the check code error ?
Schmetterling 21 Feb, 2021 @ 12:25am 
As far as I understand, you need to rename the block / add an argument to the SAFETY_BLOCK_DATA_KEY block, for example, to the connector on board the ship that the rocket is on. As soon as the connection is broken, the rocket is launched and the IR camera catches the target if it finds one. So you can launch a missile at a great distance and hit objects outside the range of the guidance head.
(Sorry for the translation, google)
Schmetterling 21 Feb, 2021 @ 12:25am 
Насколько я понимаю, нужно переименовать блок / добавить аргумент в блок SAFETY_BLOCK_DATA_KEY, например, к разъему на борту корабля, на котором находится ракета. Как только связь разрывается, ракета запускается, и ИК-камера ловит цель, если она ее находит. Так можно запускать ракету на большое расстояние и поражать объекты вне зоны действия головки наведения.
(Извините за перевод, гугл)
Schmetterling 21 Feb, 2021 @ 12:24am 
Great mod and script for it. Like and subscribe. It's a pity that it gives errors when checking the code. Why was it so difficult to customize the script? Make a video instruction, I already figured it out, but it will help others.
Schmetterling 21 Feb, 2021 @ 12:24am 
Отличный мод и скрипт под него. Лайк и подписка. Жаль что он выдаёт ошибки при проверке кода. И зачем было так усложнять настройку скрипта? Сделайте видео инструкцию, я уже разобрался, но другим поможет.
puipuix  [author] 12 Nov, 2020 @ 12:01pm 
I think It can but you need to build a missile able to fly in gravity
singleton30 9 Nov, 2020 @ 10:52am 
Is the script able to navigate planetary surfaces or just space?