Barotrauma

Barotrauma

141 ratings
BFT Nuclear Torpedo
4
2
2
3
4
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.524 MB
Apr 11, 2023 @ 2:39am
Apr 15, 2023 @ 1:00am
5 Change Notes ( view )

Subscribe to download
BFT Nuclear Torpedo

Description
BFT Nuclear Torpedo
This rack of torpedoes can be easily added to any sub. Each torpedo is periscope-guided and explodes with the force of about 2 railgun nuclear shells. The torpedoes are single-use, but you get three of them and they can be "reloaded" in the campaign at outposts by paying to Replace Lost Shuttles.

Firing the torpedoes
The periscope will start out with a view from the camera at the launcher rack. Click to launch the bottom torpedo, and then the view switches to the onboard camera. The torpedo will follow your cursor — it's fastest when traveling to the right.

Once a torpedo is launched, the colored timer lights along the side will start to tick up. After the first tick (3 seconds), the ARMED light will come on* and the torpedo will detonate on collision or when you click. The torpedo will also detonate if it reaches the end of the timer lights (30 seconds after launch).

* if the ARMED light is yellow instead of red, this means the torpedo is still warming up and isn't armed yet. This only happens for the first several seconds after the sub spawns so it's not an issue in games, but it can show up when testing in the sub editor.

After the torpedo detonates, the camera view will switch back to the torpedo rack and you can click to launch the next torpedo.

Adding the torpedoes to your sub
Just add the item assembly "BFT Launcher" to the outside of your sub and "BFT Periscope" inside the sub. That's it!

Everything is connected by wifi (channels 811-815) so there's no wiring to do. The "BFT Launcher" already includes the torpedoes as linked shuttles, though they'll generally appear to the bottom right of your sub (maybe offscreen) instead of right next to the launcher rack.

If you want more than three torpedoes you can add the item assembly "BFT Extra Launcher" as many times as you want — stacking them under the main launcher — but that does require connecting three wires each (clearly labeled in the assembly).

Performance Fix mod
The default settings of the Performance Fix mod break the control systems for these torpedoes and they detonate right away in the rack. To fix this, add these to the Client/Server High Priority Items:
andcomponent,greatercomponent,addercomponent,subtractcomponent,multiplycomponent,dividecomponent,orcomponent,notcomponent,relaycomponent,delaycomponent,memorycomponent,signalcheckcomponent,regexcomponent,oscillator,wificomponent,dockingport
Video showing how to update Performance Fix
84 Comments
Patriots1007 Mar 21 @ 1:05pm 
Raven, you gotta decrease the tick rate for the counter on the lights. Not that difficult to do in the editor, it's been a while since I modified this design but I remember changing the missile so that it would last 60 seconds I believe. In turn, this also increases the arming time of the missile, which is a pretty good tradeoff so I didn't bother changing it.
ravencorp Mar 20 @ 1:21pm 
Amazing mod!! One question, any easy way to increase armed and auto detonation time? Thanks!
Chappy Feb 13 @ 9:23am 
detonates almost immediately after launch. unusable.
󠀡󠀡 Dec 24, 2024 @ 9:18pm 
@Faelien it's working fine on me
Faelien Dec 24, 2024 @ 5:36pm 
Sadly this doesn't work anymore with performance fix. Adding the components mentioned to the high priority items doesn't work. :steamsad:
Solus The Immortal Sep 22, 2024 @ 12:55pm 
doesnt work anymore since LUA for barotrauma is out of date
Falsified Sep 15, 2024 @ 12:31am 
here comes the sun
doo-doo doodoo
dhdoctor Sep 9, 2024 @ 7:37am 
added things to performance fix torps dont explode anymore on start but now they dont work at all trying to figure out why output from the periscope isnt making it to the torp
Patriots1007 Jul 1, 2024 @ 6:57pm 
Got it to work, tysm for this wonderful creation :3
Patriots1007 Jul 1, 2024 @ 6:24pm 
Okay, I've been looking through how it would work and it would be pretty easy, you'd just need to use the same wiring as the mechanism for controlling the different rockets, hooked between a transducer and wifi component to the terminal. I'll try this myself and see how it goes, if I can figure out how your wiring works lmao.