Space Engineers

Space Engineers

Not enough ratings
Pylon Script for Revived Large Ship Railguns
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.781 KB
26 Sep, 2018 @ 10:51am
28 Sep, 2018 @ 9:44am
4 Change Notes ( view )

Subscribe to download
Pylon Script for Revived Large Ship Railguns

Description
Pylon Script for the Revived Large Ship Railguns mod

Based on my Pylon Script for CSD Battlecannon Long Range mod

Grid Aiming System
  • works without setup, as always
  • works well for aiming to the moving grids
  • works with groups of pylons
  • pylons can work in the stealth mode
  • pylons can be attached on static objects
  • pylons returns to their positions
  • any pylon having the camera can operate for all
  • damages of any pylon will be send for all, as report to the Log

Requirements

Any pylon must have at least one of
  • Grid Controller (Remote Control or some Cockpit, IMyShipController)
  • Antenna
  • Program block
At least one Pylon must have Camera block for raycasting, best way 4-6 cameras
And, if the pylon have a cannon, it can shoot - any number of cannons, but arranged to the one direction


Samples
You can watch here

Commands

info
Gets information only
shoot
One shot for the grids of the same class
shoot>SomeClass
One shot for the grids of class SomeClass
shoot>all
One shot for the grids of all classes
destr,destr>SomeClass,destr>all
Same as Shoot but shoots until the complete destruction of the target
list
List of all pylons
rs>on,rs>off
Set the Stealth mode for the current pylon
rsc>on,rsс>off
Set the Stealth mode for the grids of the same class
rsa>on,rsa>off
Set the Stealth mode for the grids of all classes

Class names are case-sensetive, but commands are not

Interface

By default all the info shows in PB details, also is able to be sended to LCD and Text panels. To the panels named with key _log. Also good solution with HUDLCD mod.

Antenna
It is possible to use an antenna on a connected grid : Parameter in script head UseAntennaFromConnectedGrid

Motors
If the pylon is connected to a static object via motors, use parameter BrakeRotorsOnShoot to prevent recoil
3 Comments
Ren 10 Oct, 2021 @ 3:12pm 
Has this been broken? I'd understand since it's been 3 years now
Cruel Sun  [author] 8 Nov, 2018 @ 9:26am 
Hello, yes, a sample world will be good.
Mornedhel 8 Nov, 2018 @ 7:59am 
Looks like a very interesting script.
However I am too stupid to make it work.
I am using your sample probe and pylons, which I armed with the Large Ship Railgun instead of the Battlecannon and updated the scripts of the programmable block with this one. However the script keeps renaming the probe to "Pylon". What am I doing wrong?
Would it maybe be possible for you to publish a sample world?