Space Engineers

Space Engineers

308 ratings
Small Ship Railguns
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script
File Size
Posted
Updated
220.398 MB
Apr 4, 2020 @ 3:36pm
Feb 12, 2021 @ 3:23pm
6 Change Notes ( view )

Subscribe to download
Small Ship Railguns

In 1 collection by Whiplash141
Whip's Mods
15 items
Description
Description
This is a small ship railgun that uses my Railgun Weapon Framework. You can find a large grid version here.



Railgun rounds have a damage pool of 5000 points and will penetrate through blocks until that pool is expended. 5000 damage equates to:
  • 0.3 large grid heavy armor blocks
  • 2 large grid light armor blocks
  • 50 small grid light armor blocks
  • 8.9 small grid heavy armor blocks

The power draw spikes after firing as the railgun must recharge. This power draw is very high to balance the high damage and long range against other weapons, including Large Grid Railguns. These stats can be modified in the config file this mod generates (see "Config" section).

This mod also interoperates with DarkStar's Defense Shield Mod! When a shield is hit by a railgun round, it will take 5 times the base damage of the railgun round. This damage multiplier is configurable in the config file.



Base Stats
  • Ammo type: 35mm NiFe-DU Slug
  • 5,000 max penetration damage | 50 meter max penetration
  • 5 RPM rate of fire nominal. If you overload on power, the rate of fire is nerfed.
  • 2,500 m/s muzzle velocity
  • 3,000 meter max trajectory
  • 1 MW idle power draw
  • 30 MW power draw after firing. This returns to the idle power draw after the 12 second base recharge time.
  • 0.05 deg max deviation: ~1.75 meter spread per 1000 m
  • Projectile is affected by both gravity and artificial gravity
  • 5x damage to Defense Shields

Config
Railgun damage and other properties can be customized in the railgun config file located at:
C:\Users\<USER>\AppData\Roaming\SpaceEngineers\Storage\2013340341.sbm_WeaponFramework\SmallRailgunConfig.sbc
When playing in a single player or locally hosted MP game.

This config is created after the first time you load a world with this mod!

Author's Notes
Huge thanks to ChanceOfAwesome for the amazing railgun model and Gauge for setting up practically all of the SBCs! This let me do the easy part of coding the gun up :)

Please don't reupload a million and two clones if what you want to change is covered by the config system. I didn't a lot of time making each projectile property easy to personalize :)

The cool ship in the screenshots is Lord Comissar's Argos Heavy Strike Fighter!

If you notice any issues, please be sure to leave a comment in the bug reports section.

- Whiplash141

What the FAQ?!
  • Does this use WeaponCore?
    • No
  • Why not?
    1. Personal preference. I like writing my own code :P
    2. WeaponCore weapons use little base game logic and instead replace it with a ton of cool custom functionality. The side-effect is that my in-game scripts will not work seamlessly with them. Seeing as I am primarily a scripter, that is a no-go for me.
  • Can I change the damage and color?
    • Yes. Almost every property that defines the behavior is available for customization in the config.
86 Comments
Whiplash141  [author] Apr 17, 2023 @ 5:12pm 
"Small Railgun" is how it shows up in the G-menu
Ribbons0121R121 Apr 17, 2023 @ 12:51pm 
whats the name of the gun? i cant find it ingame
Whiplash141  [author] Jul 22, 2022 @ 7:42pm 
Yes.
xdevourx Jul 22, 2022 @ 6:09pm 
Does this mod still work?
[Ghetto]Two Shoe$ Oct 9, 2021 @ 3:27am 
You might consider talking to your friend. You guys would be the only modern Small Grid Cannon with any consideration given to balance with the good looks and functionality of the existing framework you have in place.

Ill shut up if you can even link me a single actually decent small grid cannon, but you wont find one.
Whiplash141  [author] Oct 9, 2021 @ 3:23am 
I can't model to save my life, this was donated to me by a friend, I just coded it lol
[Ghetto]Two Shoe$ Oct 9, 2021 @ 3:22am 
Great "little" add-on.

Really needs an armored turret version with about 1/5th the damage output, but keeps the range, velocity, cost per round, as a Small Grid Cannon for tanks/apc for competative play. ( im aware factors can be modified)

Would be the "thing" if you did, and if not, this is a killer contribution either way.
lucidstorm Jun 17, 2021 @ 10:48pm 
35mm ammo for it is able to be constructed tho
lucidstorm Jun 17, 2021 @ 10:41pm 
both the build menu in the assembler and the toolbar config
Whiplash141  [author] Jun 17, 2021 @ 9:52pm 
In the build menu in the assembler?