Space Engineers

Space Engineers

Not enough ratings
R-4 Missile System
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
424.996 KB
31 May, 2020 @ 11:42am
2 Jun, 2022 @ 9:30am
16 Change Notes ( view )

Subscribe to download
R-4 Missile System

Description
R-4 Missile system [MODULE]

Module for the Izumrud-1 radar.
Gets target designation from the radar, but can be used as an ATGM.
All missiles are controlled from a single PB.

the structure of the missile:
Missile must have the following blocks:
    [] Remote Control unit* (remote control)[] Gyroscope*
  • Accelerators
    [] Warheads**
    [] Batteries (another type of power supply can be used, but the script will not interact with it)
    [] Cameras**
    [] Turrets** (loaded)
    [] Connector* (merge block, connector, rotor, gatling gun)
    [] Oxygen generator** (for refueling hydrogen tanks, powering accelerators)
* - blocks whose number is more than 1 is not appropriate or often not necessary
** - optional blocks

All blocks on the rocket must have the specified name.

The rocket must be built and installed in such a way that the remote control unit sees the rocket connector at the distance specified in the script and only its. In the search area indicated in the script, the remote control unit searches for rocket blocks. The batteries will be switched to charging mode and the 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 missiles on the launch tables close to each other.

script Interaction with blocks
    [] Remote control block - used as a data storage, as a reference point of missile, 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 the target in this way is unreliable, so if possible, use Semi-Active guidance[] Turrets - used to update the location of the target on their own, must be charged.[] 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 get H2 on the rocket.
  • The accelerators - if the accelerator is directed toward the bottom of the rocket nozzle (bottom do), then the missile turns them in the direction of the vector, which allows multiples to increase their efficiency (quenched lateral velocity and gravity), if the accelerator is directed toward the backside of the rocket nozzle (backside do), they are used as the sustainer and boosters are included if a satisfactory turn to the vector (otherwise / off). They are activated at start-up.

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
To connect the missiles to the radar, you must enter the name of the PB missiles in the radar. Connecting to the radar allows the script on the rocket to get information about all targets from the radar.

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



Arguments:
- FIRE (launches a rocket)
- EXPL (undermines all launched missiles)

Has ENG translate
47 Comments
☭Android☭  [author] 8 Dec, 2022 @ 7:39am 
Ионники кстати не советую использовать, очень малая тяга. Водород лучше.
Балбес 7 Dec, 2022 @ 8:41am 
Ракета на стенде 1, ракеты других конструкций и другую версию скрипта попробую.
☭Android☭  [author] 7 Dec, 2022 @ 8:35am 
такое ощущение, что ускорители включаются как стартовые, после чего отключаются.
но если гироскопы смотрят на цель во время работы двигателей, то дело должно быть не в этом.
у тебя несколько ракет на стенде?
запускаются ли нормально ракеты других конструкций, например мои ракеты?
запускается ли ракета на скрипте Р-4 другой версии?
Балбес 7 Dec, 2022 @ 8:29am 
Настройка ПБ РЛС Connected_PB_tag = "@",
Настройка ПБ Ракет string RadarName = "*название пб рлс*"
Балбес 7 Dec, 2022 @ 8:27am 
Я построил тестовый стенд заново, настроил ПБ РЛС и ПБ ракет как было настроено до перезапуска мира. После пуска ракеты, через 3-4 секунды, все двигатели выключаются, при этом блок ДУ работает, а гироскоп продолжает наводить ракету на цель. Я посмотрел заряд батарей в полете, он равен 94,6%, режим батареи - разрядка.
☭Android☭  [author] 7 Dec, 2022 @ 8:16am 
скорее всего у ракеты в полете батареи разряжаются, даже не знаю, попробуй запустить ракету с другой версией скрипта или запустить другую ракету, так хотя бы будет ясно в ракете или в скрипте проблема
Балбес 7 Dec, 2022 @ 7:54am 
В полете
☭Android☭  [author] 7 Dec, 2022 @ 7:51am 
ракета двигатели отключает в полёте или при запуске?
Балбес 7 Dec, 2022 @ 7:51am 
У меня ионные ускорители и батареи
☭Android☭  [author] 7 Dec, 2022 @ 7:49am 
может просто водород закончился? в скрипте нет регулятора тяги на ускорители.
как-то конкретно с такой проблемой ни разу не сталкивался