Space Engineers

Space Engineers

Not enough ratings
R-4 Missile System [MODULE]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
339.404 KB
31 May, 2020 @ 11:42am
20 Jul @ 6:57am
25 Change Notes ( view )

Subscribe to download
R-4 Missile System [MODULE]

In 1 collection by ☭Android☭
Экосистема РЛС "Изумруд"
6 items
Description
R-4 missile system [MODULE]

Module for the Emerald-1 or Sapphire radar stations
Takes target designation from the radar, but can be used as an ATGM.
All missiles are controlled from a single PB.

Rocket structure:
The rocket must have the following blocks::
  • Remote Control Block*
  • Gyroscope*
  • Thrusters
  • Warheads**
  • Batteries (another type of power supply can be used, but the script will not interact with it)
  • Cameras**
  • Turrets** (loaded)
  • Connector* (joint. block, connector, rotor, machine gun)
  • Oxygen generator** (for refueling hydrogen tanks, powering boosters)
  • Hydrogen tanks** (for boosters)
  • Guns** (for cannon rocket mode)
  • Connector for nuclear warheads**
  • Mass Shift Drive**
* - blocks with a number of more than 1 is not appropriate or often not necessary
** - optional blocks

All blocks on the rocket must have the specified tag in the name
The rocket must be built and installed in such a way that at the distance specified in the script, the remote control unit sees the rocket connector, and only its own [/b]. In the search area indicated in the script, the remote control unit searches for rocket blocks. Batteries will be switched to charging mode, tanks to storage mode, and found accelerators will be turned off.
After launching, the rocket searches for its blocks not by distance, but by what is located on the rocket itself, as a separate ship. This simplifies the efficient placement of rockets on the launch tables close to each other.

Interaction of the script with blocks
  • Remote control unit-used as data storage, as a rocket reference point, and as a source of information about its speed
  • Gyroscopes - used for their intended purpose
  • Cameras - used to update the target location on their own with the frequency specified in the script. Tracking a target in this way is unreliable, so if possible, use BATCH targeting
  • Turrets - used to update the target's location on their own, must be loaded.
  • Warheads-detonated under the conditions specified in the script (if missed and / or hit)
  • Connector-used to detach from the ship / station
  • Batteries - used to power the rocket with electricity
  • O2\H2 generator-turns on when the rocket is launched (otherwise it is turned off), refuels with the specified amount of ice (the excess is removed), and is used to produce H2 on the rocket.
  • Thrusters - if the accelerator is directed towards the bottom of the rocket with a nozzle (bottom of the remote control), then the rocket turns them in the direction of the vector, which allows them to multiply their efficiency (they extinguish lateral speeds and gravity), if the accelerator is directed towards the rear of the rocket with a nozzle (rear of the remote control), then they are used as they are turned on when the vector is rotated satisfactorily (otherwise, they are turned off). They are activated at startup.
  • Mass Shift Drive - only forward pulse engines are supported and only on ingots, they allow you to achieve excellent performance even for micro-rockets, the following scheme is supported: container-rotor-rotor-container.

Gyroscope signal
The gyroscope receives a turn signal for the target (the signal strength depends on the difference between the orientation of the rocket and the angle to the target). The range controller reduces the signal strength depending on the distance to the target (dividing by the distance and multiplying by the coefficient).

Connecting to the radar station
To connect missiles to the radar, you need to enter the name of the rocket's PB in the radar. Connecting to the radar allows the missile script to get information about all targets from the radar. A more efficient connection method is indirect connection (supports only the latest versions of the radar). It is achieved in the opposite way: by entering the name of the radar station's PB in the missile script.

Using missiles
To use missiles at targets in homing mode, you need to connect to the radar station. When launching a missile (possible only if there is a target), the target selected on the radar is attacked.



Arguments:
- FIRE (launches a missile)
- EXPL (undermines all launched missiles)
- COMPENSATESIZE (on / off correction for target size)
- CHECKBUILDING ( on / off missile completion check)
- ATTACK@target ID (technical command potentially useful for SAMs)
- USEWEAPON (on / off the use of weapons on missiles)
- USEFLYTIME (on/off the lead correction for the time to hit)
- USEPULSEDRIVE (on / off pulse engines on rockets)
57 Comments
☭Android☭  [author] 21 Jul @ 9:42am 
Добавлено руководство пользователя в описание (только русский язык).
☭Android☭  [author] 20 Jul @ 7:00am 
Теперь так же можно использовать несколько дисплеев, но все они должны быть в группе блоков ракеты
☭Android☭  [author] 20 Jul @ 6:18am 
Обновление 3.0:

- Добавлено еще два варианта вывода информации: улучшенный и сообщения.
- Добавлена поддержка наведения ракеты на модуль с помощью ИИ блоков (требуется ИИ нападения и ИИ перемещения на ракете), положение модуля запоминается и используется, как смещение при наведении.
- Добавлены команды MODULETARGETING и MODULETARGETINGSELECT:<номер модуля>.
- Требуется РЛС новейшей версии (с поддержкой ориентации цели) для поддержки наведения на модули
☭Android☭  [author] 13 Jul @ 2:14am 
Так же оптимизирована работа с блоками, теперь берутся блоки только из группы блоков, а не со всего корабля. В случае использования дредноутов подобное могло привести к сгоранию скрипта.
☭Android☭  [author] 13 Jul @ 2:04am 
Импульсный двигатель - поддерживаются только маршевые импульсные двигатели и только на слитках, позволяют добиваться превосходных характеристик даже для микроракет, поддерживается следующая схема: контейнер - ротор - ротор - контейнер. Слитки будут автоматически загружены в первый контейнер. Чем больше масса загруженной массы, тем двигатель мощнее. Частота импульсов так же влияет на мощность двигателя. Наличие гравитации не имеет значения, требует лишь немного электричества. Привередлив к центру масс.
☭Android☭  [author] 13 Jul @ 1:56am 
Обновление 2.5:

- Добавлена поддержка маршевого импульсного двигателя на слитках (Mass shift drive).
- Добавлена опциональная функция захода на цель со случайной стороны
- Добавлена поддержка сенсора-предохранителя, блокирующего запуск в случае, если есть препятствие
- Добавлена поддержка детонатора ядерной боеголовки без использования таймера
- Добавлены новые команды

Пример ракеты с импульсным двигателем: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3524550674
☭Android☭  [author] 4 Jul @ 11:52pm 
Обновление 2.1:
- Исправлена ориентация гироскопов
- Добавлена опциональная возможность поправка упреждения на время прилета до цели (внимание: не рекомендуется для маневренных целей)
☭Android☭  [author] 22 Jun @ 2:07am 
Грандиозное обновление, добавил ранее недоступный функционал из оригинального скрипта и провел нейросетевой анализ (нейросеть дала интересные замечания и заметила некоторые ошибки), теперь скрипт стал значительно лучше. Занятный результат. Не чета "новым" поколениям, конечно, но тем не менее.
Во всяком случае теперь он стал гораздо интереснее.
☭Android☭  [author] 22 Jun @ 2:04am 
- Переписан режим ПТУР (теперь имеет смысл использовать, если необходим)
- Переписан ранее нерабочий рейкаст у ракет и добавлена функция поиска потерянной цели
- Добавлен регулятор топлива (опционален)
☭Android☭  [author] 22 Jun @ 2:04am 
Новое грандиозное обновление: версия 2.0! Новое поколение GEN 2.0 и прочее хуё-мое (как теперь стало модно обзывать обновления скриптов) (да, это отсылка)
- Добавлена поддержка ядерных и пушечных ракет
- Добавлена блокировка пуска недостроенных/незаряженных/незаправленных ракет
- Улучшено наведение ракет и повышена их точность
- Улучшена оптимизация (наверное)
- Поддержка сенсоров для детонатора на ракете (подрывает БЧ, если сенсор что-то увидел)
- Новый детонатор (опциональная поправка на размер цели, если ракета не знает куда ударил луч)