Space Engineers

Space Engineers

63 betyg
[Obsolete] Cruise Missile Demonstration
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Type: World
Filstorlek
Lades upp
Uppdaterades
576.770 KB
13 jun, 2015 @ 0:01
21 sep, 2015 @ 1:45
10 ändringsnotiser ( visa )

Abonnera för att ladda ner
[Obsolete] Cruise Missile Demonstration

Beskrivning
This is an Obsolete script, superseded by the Easy Radar Homing Script (Much easier to setup)
http://gtm.steamproxy.vip/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:
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=420552937

Ansible Marker Script:
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=427321855
42 kommentarer
Schalkan 2 aug, 2017 @ 16:14 
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  [skapare] 20 sep, 2015 @ 10:12 
Added Dispatch Mode feature (See video). In preparation for the Bumblebee Script.
Alysius  [skapare] 19 sep, 2015 @ 5:28 
Updated anisible script to the latest version.
Marziopan 18 sep, 2015 @ 11:14 
what's new in this last update?
Alysius  [skapare] 5 sep, 2015 @ 6:09 
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:34 
I like your this work But it is better to recharge by blueprint and print This cycle is better.
Professor Aggressor 28 jul, 2015 @ 13:52 
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  [skapare] 25 jul, 2015 @ 1:47 
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  [skapare] 23 jul, 2015 @ 5:45 
World updated to fix the compilation error caused by the rogue SE update.
Alysius  [skapare] 11 jul, 2015 @ 8:48 
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.