Space Engineers

Space Engineers

Not enough ratings
Wurzels Simple Railgun Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
396.794 KB
15 Feb, 2018 @ 3:26am
15 Mar, 2018 @ 7:50am
5 Change Notes ( view )

Subscribe to download
Wurzels Simple Railgun Script

Description
A simple script for using a simple railgun on your ship or station.

What to expect?
- Extremly simple setup
- Four buttons to control the railgun
- Switching on/off the needed parts, including mass blocks
- Automatic reloading, if needed
- Error Reporting

What not to expect?
- Target tracking
- Fancy stuff
- Advanced features
- Pink unicorns (join the discussion to unlock them)

Still reading? Fine! What do you need for it?

You need a few blocks on your ship/station and a few on your projectile.

The Ship/Station needs:
- 1x Programmable Block to execute this script
- 1x LCD Panel for debugging and state information (for debugging a large LCD panel
is recommended, otherwise a corner LCD panel will do the job)
- 1x Welder Group (as many welder you need)
- 1x Gravity Generator Group (same ammount as the welders)
- 1x Mergeblock (the connection to the projectile)
- 1x Projector (to build a new projectile)

The Projectile needs:
- 1x Mass Block Group (as many mass blocks as you like)
- 1x Timer Block (to shut down the mass blocks to engage ships with gravity shields
or activate warheads/ thrusters/ decoys/ ...)

What do you need to do with this?
Step 1) Build it
Step 2) Set up the projector, the timer of the projectile and the gravity generators
Step 3) Group and name it (keep in mind to match the names of the script)
Step 4) Build a button panel or cockpit
Step 5) Put the four commads on the buttons (or less, you don´t need all four)
Step 6) Load and recompile the script
Step 7) ???
Step 8) Profit
Step 9) Let your simple automated railgun kill everything that moves

Wait! What about a timer block to trigger the PB?
You don´t need one, the script will do this itself.

And that´s it! As I said, it is extremly simply.
But if you don´t like the standart names, feel free to change them in the script.
Popular Discussions View All (2)
34
29 Jun, 2020 @ 1:18pm
Complains about not having pink unicorns in it
Wurzel0701
0
18 Feb, 2018 @ 7:57am
Wanted Features
Wurzel0701
6 Comments
Wurzel0701  [author] 19 Feb, 2018 @ 12:36am 
For everyone complaining about the unicorns, please visit the discussion section, to complain there.I even made the promise to integrate unicorns if at least ten people complain.
This is going to backfire, isn´t it?
TheSilverInfinity 18 Feb, 2018 @ 8:48pm 
No Pink Unicorn !?
THIS IS MADNESS
Wurzel0701  [author] 18 Feb, 2018 @ 7:54am 
@Nostrian99
As unicorn are an advanced feature, they have nothing to do with a simple script.
Perhaps I will make an advanced script which may contains unicorns
Nosta99 17 Feb, 2018 @ 2:26pm 
is there any chance this might include pink unicorns in future patches?
Wurzel0701  [author] 17 Feb, 2018 @ 10:45am 
@CTH2004
Yeah, sorry for that :D
CTH2004 17 Feb, 2018 @ 7:52am 
What!

No Pink Unicorn?