Space Engineers

Space Engineers

63 ratings
[Obsolete] Cruise Missile Demonstration
   
Award
Favorite
Favorited
Unfavorite
Type: World
File Size
Posted
Updated
576.770 KB
13 Jun, 2015 @ 12:01am
21 Sep, 2015 @ 1:45am
10 Change Notes ( view )

Subscribe to download
[Obsolete] Cruise Missile Demonstration

Description
This is an Obsolete script, superseded by the Easy Radar Homing Script (Much easier to setup)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=688803417

This world demonstrates how the Cruise Missile Script and the Ansible Targeting Script can be used. This is a vanilla world, no mods are required.

World updated to demonstrate the new Dispatch Mode feature (See video for more information). Description panels are added for all platforms to show the description, steps required to use and explanation of how it works.

There is a cheaper small ship missile that is test proven to be effective. See Hivebender Missile Cruiser.


The 5 demonstration setup are:

1) Turret Targeting. The 2 turret is used to assist targeting by guiding missile to aim at the turret intersection point.

2) Ansible Targeting. A small ship with sensor is sent out as tripwire. The ansible computer then uses this sensor to "save" the detected target variable and provide real time position update.

3) Beam Riding. The missile is sent to a general direction and when the on board targeting turret detects a target, the missile switches to beam riding mode and aims using the turret.

4) Turret Targeting With Thruster Missiles. Same as first platform, except that the missiles uses thrusters instead.

5) Dispatch Mode. Used for multiple missile configuration. Missile will listen on a Dispatch Text Panel for the name of the actual Text Panel containing the target coordinates. This allows selection of different tracked targets (coordinates in different Text Panel).


Important: If you are using Merge Blocks to detach missiles, you must have a means to re-trigger the script's timer loop such as using short range sensor to sense the launch platform. This is because as of 21th-Sep-2015, all timer loops on unmanned ships will suddenly stop upon merge block separation.

You can use thrusters instead of the gravity generators shown in the video. Just mount thrusters on your missile and the script will auto detect all forward thrusters to fire them during launch. You can also group it and set the group name to the variable "strForwardThrusters" at the top of the script. You can refer to the Cruise Missile Script link at the bottom for the full script description.

If your strVectorPointMid block is far off the center of mass (also the point of rotation), you can use midToCenterOfMassDist to compensate. See images for details.

If using beam riding, the turret may rapidly switch targets causing the missile to swirl for big ship missile (small ship missile seems ok). In this case, reduce the DEF_BIG_GRID_P DEF_BIG_GRID_I DEF_BIG_GRID_D to something like [6, 0.1, 1]. Or at least DEF_BIG_GRID_D sets to 0 as this gathers rate of change.



The world uses 2 scripts that can be found on my workshop:

Cruise Missile Script:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=420552937

Ansible Marker Script:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=427321855
42 Comments
Schalkan 2 Aug, 2017 @ 4:14pm 
hey i realy look for a good guidet missel skript or yes i can´t start the missels in this world ? been i am a idiot?
Alysius  [author] 20 Sep, 2015 @ 10:12am 
Added Dispatch Mode feature (See video). In preparation for the Bumblebee Script.
Alysius  [author] 19 Sep, 2015 @ 5:28am 
Updated anisible script to the latest version.
Marziopan 18 Sep, 2015 @ 11:14am 
what's new in this last update?
Alysius  [author] 5 Sep, 2015 @ 6:09am 
The missile is linked to the LCD when it is mounted to the rotor. After the computer on the missile is started, the LCD variable is saved. It is still accessible even if the rotor is disconnected, unless the computer is stopped.
JeKyll 10 Aug, 2015 @ 9:34am 
I like your this work But it is better to recharge by blueprint and print This cycle is better.
Professor Aggressor 28 Jul, 2015 @ 1:52pm 
How does the ansible targeting transfer information between grids? I understand that it uses an LCD somehow, but that's the limit if my understanding.
Alysius  [author] 25 Jul, 2015 @ 1:47am 
Understood now why the missile may be trashing and spiraling out of control. If the drift feature is used while your missile thrusters are underpowered, this may happen as there is not enough speed to use drift properly. Need some experimentation to tweak the correct math behind this.
Alysius  [author] 23 Jul, 2015 @ 5:45am 
World updated to fix the compilation error caused by the rogue SE update.
Alysius  [author] 11 Jul, 2015 @ 8:48am 
Been busy these few weeks, only saw the comments today (11-Jul), probably revisiting the scripts next week. There are some restrictions on what information can be sent or extracted from the blocks. Therefore some intense research is required.