Barotrauma

Barotrauma

Quality Railgun Shells
16 Comments
Lexington 13 Jun, 2024 @ 5:13am 
mods is working nice, even with modded shells. :steamthumbsup:
Kyrios 27 Apr, 2024 @ 12:33am 
seems the vanilla shells arent getting the crafting skill bonuses ?
skinny 18 Nov, 2023 @ 7:18am 
Спасибо, отлично работает! :captainsinful:
Cultist ⁧⁧ ඞ 8 May, 2023 @ 10:07am 
Odd, all my shells are normal again and the mod order is still the same
Azra  [author] 29 Apr, 2023 @ 1:22am 
@OniTJI Hey! For sparky's Gunnery you can use the Quality Ammo Boxes for all the ammo crates, unfortunately for the 'Rocket' ammo this mod does not work, as it is a completely different type of ammo.
OniTJI 27 Apr, 2023 @ 11:59am 
I know it says it works with modded shells, but does that also apply to Ssparky's Gunnery? It wasn't under the compatibility section so I figured I'd ask.
Azra  [author] 27 Apr, 2023 @ 9:30am 
@Syλdiyλ @König aller Waffen Hey! Thanks for the comments, it should be fixed with the mod's last update :) If the error persists, just let me know!
Bootleg Ross 25 Apr, 2023 @ 10:09pm 
huh, so why is this mod rated so low compared to the ammo box one?
. 25 Apr, 2023 @ 8:42pm 
you should try to support with the enhanced arments
König aller Waffen 25 Apr, 2023 @ 7:10pm 
Having the same problem, our game crashes the moment we fire a coilgun with this mod.
Syadiya 25 Apr, 2023 @ 5:42pm 
Or, some ammo types will get quality and others wont
Syadiya 25 Apr, 2023 @ 5:42pm 
Why does this mod break Quality Ammo (boxes)? Whenever I run both my game decides to quit out on using the scripts even though theyre loaded, showing no quality
Laryssa 25 Apr, 2023 @ 10:45am 
i saw that somewhere else before
Azra  [author] 23 Apr, 2023 @ 10:58am 
@SinerSAMA Hello! Yep I'm aware about the FirepowerMultiplier but I've done some workarounds to make it work for the railgun shells; let me accept the friend request and we can talk about it :steamthumbsup:
SinerSAMA 23 Apr, 2023 @ 9:32am 
Hi, I see that you added the FirepowerMultiplier quality bonus to the railgun shells, the FirepowerMultiplier can only be used in <RangedWeapon>, it only works on emitters that use <RangedWeapon>, modify the Projectile that contains the item. Attack, which you can view in the game source code at
1. BarotraumaShared\SharedSource\Items\Components\Holdable\RangedWeapon.cs - line 207
2. BarotraumaShared\SharedSource\Items\Components\Projectile.cs - line 339

You can use ExplosionRadius to replace FirepowerMultiplier to give railgun shells a larger blast range. (It works for <Explosion> in all items)

Also see quite a few places in your code that could be optimized to make it run more efficiently, I'll try to add you as a Steam friend, ignore if you don't need it.
operationgday 22 Apr, 2023 @ 1:46pm 
Nice!