Railgun

From Barotrauma Wiki
Jump to: navigation, search


Version Checkmark False.png
Versioning - Potentially Outdated

Last updated for unknown version
Current game version: 0.11.0.10

Railgun
Railgun.png
Stats
Category Machines
Power Consumption 20000 kW
Railgun Loader
Railgunloader.png
Stats
Category Machines
Item Slots 6 shell slots
Periscope
Periscope.png
Stats
Category Machines

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 periscope, 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 5 shells can be loaded at a time, though more are possible if there are multiple loaders. Railgun shells are hollow and can be filled with an item. The payload will be activated on impact. Explosives in particular can be loaded in shells to greatly increase damage potential.

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 that 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 periscope wired to the railgun. When the periscope is highlighted, press the left mouse button. The railgun can then be used and fired, using a shell loaded in the associated railgun loader(s), by clicking the left mouse button. To leave the periscope you have to press the right mouse button.

Damage Values[edit | edit source]

Railgun shells (excepting the Nuclear Shell) pierce through 3 targets.

Railgun shells are hollow and can be filled with an item. The payload will be activated on first impact. Explosives in particular can be loaded in shells to greatly increase damage potential.

Item
Afflictions
Structure Damage
Projectile Speed
Is Sticky?
Is Fragile?
Raw materials
Railgun Shell.png
Railgun Shell
Lacerations Strength: 175
Affliction Bleeding.png Strength: 75
Affliction Stun.png Strength: 15
55
N/A
False
False
Steel Bar.pngSteel Bar
Nuclear Shell.png
Nuclear Shell
Lacerations Strength: 135
75
N/A
False
False
Steel Bar.pngSteel Bar, Uranium.pngUranium, UEX.pngUEX
Physicorium Shell.png
Physicorium Railgun Shell
Lacerations Strength: 250
Affliction Bleeding.png Strength: 25
Affliction Stun.png Strength: 15
200
N/A
False
False
Physicorium Bar.pngPhysicorium Bar
Item
Railgun Shell.png
Railgun Shell
Nuclear Shell.png
Nuclear Shell
Physicorium Shell.png
Physicorium Railgun Shell
class="header"
Structure Damage 55
75
200
Projectile Speed N/A
N/A
N/A
Stick to Entities? False
False
False
Can be Recovered? False
False
False
Raw materials Steel Bar.pngSteel Bar
Steel Bar.pngSteel Bar, Uranium.pngUranium, UEX.pngUEX
Physicorium Bar.pngPhysicorium Bar


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

Item
Afflictions
Structure Damage
Explosion Range
Nuclear Shell.png
Nuclear Shell explosion
Deep Tissue Injuries Strength: 400
Affliction Burn.png Strength: 300
Affliction Radiation Sickness.png Strength: 100
Affliction Stun.png Strength: 20
1000
10.0m
Item
Nuclear Shell.png
Nuclear Shell explosion
class="header"
Structure Damage 1000
Explosion Range 10.0m


Audio[edit | edit source]

Barotrauma