Railgun

From Barotrauma Wiki
Jump to: navigation, search
Railgun Base
Railgunbase.png
Stats
Power Consumption 0
Railgun Barrel
Railgunbarrel.png
Stats
Power Consumption 0
Railgun Loader
Railgunloader.png
Stats
Power Consumption 0
Railgun Controller
Railgun controller.png
Stats
Power Consumption 20,000

The railgun is a stationary weapon in Barotrauma. It is technically composed of three installations: the railgun proper (which itself is made up of the base and barrel), the railgun controller, and the railgun loader.

Function[edit | edit source]

The railgun uses railgun shells as ammunition. Those must be loaded by hand in the railgun loader; up to 6 shells can be loaded at a time. The usual railgun shells are hollow and can be filled with an item. This feature allows for the placement of explosives (for example a C-4 Block) inside, creating more damaging munitions if need be. Nuclear Railgun Shells are special ammunitions of extreme destructive power, which can be precious to bring down some creatures, such as a Moloch or a Charybdis. Due to the large radius of the ensuing explosion, it is however highly recommended to use this type of ammunition at a distance.

The best railgun ammunition comes in the form of the Ancient Weapon, which is incredibly rare. While the damage it does against Creatures is the same as the Nuclear Railgun Shell, the resulting explosion does five times more damage against structures than the Nuclear Railgun Shell, making it ideal for submarine VS submarine combat.

A railgun loader must be connected to one or more railguns proper in the submarine editor, it can not be connected outside of the editor. A railgun controller is connected to one or more railguns proper with wiring through their respective connection panels. Both the railgun controller and the railgun proper require power to function; however, the railgun loader does not require any power. A railgun proper requires a supercapacitor, which needs to be charged before firing, and each shot will use up some amount of this store to function as its power supply in order to be able to fire. Connecting the railgun proper directly to the power network will leave it unable to fire. Note that attempting to fire a railgun with no shell loaded doesn't empty the capacitor.

The railgun proper, when edited in the submarine editor, is given a pair of numbers under RotationLimits formatted thus: 0,180. These numbers are angles which describe the limits that the railgun proper can be rotated when aiming. A railgun proper with the RotationLimits set at 0,180 will be able to rotate from the right down and around to the left. A railgun proper with its RotationLimits set at 180,360, contrastingly, will be able to rotate from the left up and around to the right.

Usage[edit | edit source]

To use a railgun, the character must be positioned in front of a railgun controller and, when the railgun controller is highlghted, click 'e' on the keyboard. The railgun(s) proper can then be aimed while holding the right mouse button, and fired, using a shell loaded in the associated railgun loader(s), by clicking the left mouse button.

Damage Values[edit | edit source]

Item Attack Damage
Bleeding Damage
Structure Damage
Damage Type
Stick to Entities?
Price
Raw materials
Railgun Shell.png
Railgun Shell
100
10
200
Blunt
No
100 Credits
2 Steel Bars, Polycarbonate Bar
Nuclear Shell.png
Nuclear Shell
1,000
10
200
Blunt
No
100 Credits
2 Steel Bars, Polycarbonate Bar, Uranium Bar
Ancient Weapon.png
Ancient Weapon
1,000
10
500
Blunt
No
0[note 1] Credits
None
Item
Railgun Shell.png
Railgun Shell
Nuclear Shell.png
Nuclear Shell
Ancient Weapon.png
Ancient Weapon
Attack Damage 100
1,000
1,000
Bleeding Damage 10
10
10
Structure Damage 200
200
500
Damage Type Blunt
Blunt
Blunt
Stick to Entities? No
No
No
Price 100
100
0[note 1]
Raw materials 2 Steel Bars, Polycarbonate Bar
2 Steel Bars, Polycarbonate Bar, Uranium Bar
None
  1. Cannot be purchased.

On top of inflicting damage upon direct hit, certain ammunition also have secondary effects activated upon contact.

Item Attack Damage
Structure Damage
Stun Damage
Kinematic Force
Explosion Radius
Damage Type
Nuclear Shell, explosion 1,000
1,000
10
50
1,000
Splash
Ancient Weapon, explosion 1,000
5,000
10
50
1,000
Splash
Item Nuclear Shell, explosion
Ancient Weapon, explosion
Attack Damage 1,000
1,000
Structure Damage 1,000
5,000
Stun Damage 10
10
Kinematic Force 50
50
Explosion Radius 1,000
1,000
Damage Type Splash
Splash


Barotrauma