Barotrauma

Barotrauma

106 ratings
Mazara
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
432.378 KB
30 May, 2021 @ 10:58am
16 Jan, 2024 @ 2:48pm
4 Change Notes ( view )

Subscribe to download
Mazara

Description
Summary
The Mazara is a high-tech, high-security attack submarine for captains that are unable to trust their own crew.

The vessel is split into two modules: the command module in the front which houses the navigation systems, and the service module in the back which houses the reactor, engine and most other systems. A monorail connects the two modules, which the captain can lock at their own discretion.

The vessel is highly armed, with internal surveillance, but its long neck creates a very weak point.

Core Features
  • Integrated monorail: The two modules are separated with a monorail (internal shuttle).
  • Surveillance system: The captain is able to monitor the crew via cameras placed inside the submarine.
  • Advanced airlocks: The airlocks attempt to pump water in/out to match the pressure.

Background
This is my second published submarine, and my first attempt to build something that doesn't just "work" but is actually a bit interesting to play on. You might recognize the monorail idea from another submarine called Kirstu, which I've taken heavy inspiration from.

The main idea about this submarine is that it is built to be used on high-security missions where crew sabotage needs to be prevented at all costs. The monorail may be locked in place by the captain, preventing all access between the two modules unless someone puts on a diving suit and swims the entire way between. Because of this, any attempts to hijack the command module (where the navigation systems are housed) will be much more difficult. At the same time, any attempts to retake a hijacked command module will be equally as difficult.

The captain also has access to a surveillance system, which allows them to view key areas of the submarine without having to physically move between the two modules. A total of seven cameras are available through the periscope in the navigation room, which may be cycled between by pressing the fire button.

There is also a small brig in the security room that unruly crewmates may be placed in, by default this room is set to open in case of excessive flooding.

Guides
1. Monorail
1.1. Usage
The monorail cart has two states: 0 (service module) and 1 (command module). It will move to the module corresponding to the state that it is in and attempt to dock with it.

To change the state you may press the button inside the cart, which works as a toggle. You may also press the buttons in either of the two terminals, which send a signal through a public WIFI channel (766). Additionally, the captain's terminal may be used by entering the command 'set state [0-1]'.

1.2. Locking mechanism
The monorail cart's locking mechanism has two states: 0 (unlocked) and 1 (locked). When the cart is locked, it will refuse all commands to change its state.

To lock/unlock the cart, a signal is sent through a secure WIFI channel (default 767). You may use the buttons in the command module, which works as toggles. You may also use the captain's terminal by entering the command 'set lock [0-1]'.

It is advised to change the default WIFI channel to another one, as unauthorized signals may be sent by other crewmates. To do this enter the command 'set channel [N]' in the captain's terminal (values 0, 1 and 766 are reserved for other functions).

If for some reason the secure WIFI channel becomes desynchronized between the submarine and the cart (for example if a malicious crewmate changed the secure WIFI channel without permission) it may be necessary to manually reset it. Follow these steps to manually reset the secure WIFI channel to the default (767).

  1. While having the captain's ID card equipped, press the 'RESET CH' button in the monorail cart
  2. Enter 'set channel 767' in the captain's terminal

1.3. Battery
The monorail cart uses two internal batteries to power its lights, pump and engine. If the batteries depletes fully it will be unable to move between the two modules. To avoid this occuring, the cart will refuse all commands to change its state if the batteries have a combined charge of 25% or lower.

However, if for some reason the cart runs out of battery when it is moving between the two modules (for example if the batteries break or if something is blocking it), it will be unusable until it is able to dock again for a much needed recharge.

To dock a cart that has run out of battery, you'll need to use the submarine itself. Move forward and the cart should move backwards due to inertia, and vice versa. Keep one thing in mind though: say that the cart was moving to the right (command module) when it became stuck, then it will likely still be stuck in that state. Because of this, it will be necessary to force the cart in the appropriate direction, as it will refuse to dock with the opposite module.

If you're unsure which module the cart is attempting to dock with, look at its docking ports, one of them should have a dim red light activated while one should be completely dark. The one with the light activated is the one you should attempt to dock with.

Known Issues
  • Pathfinding: AI crewmates will have a hard time navigating the submarine, as they are unable to use the monorail. AI crewmates also appear to get stuck in the airlock currently, a redesign will likely be necessary to resolve this.
  • Shuttle hull misalignment: During one test run, the monorail's hull objects appeared to become misaligned from the actual walls and items. This caused unstoppable flooding if docked with the service module and an invisible one-way wall if docked with the command module. I have no idea what is causing this, but it appears to be rare.
32 Comments
eegster 15 May, 2024 @ 8:14pm 
is there a solution to the monorail issue? it keeps getting stuck within the left side of the ship and requires pure luck to unstick itself.
Fat Ugly Bastard  [author] 18 Mar, 2024 @ 2:40pm 
@ArcticFire5

Hello! Unfortunately I'm not sure what would be causing that.

I'm assuming you've checked the wiring? The doors are controlled by a circuit box which attempts to pump water in/out before letting you open the door. If the wiring has been griefed, I would expect the doors to stop working. If you're able to provide me with a save file, I could possibly give it a look if I find the time for it. Otherwise you could just redo the wiring by skipping the circuit box entirely.

To do this, you need a relay component and four wires. Disconnect all wires from the doors and connect the 'ACTIVATE_OUT' to the SAME door's 'TOGGLE_STATE'. You'll have to use the relay component here, as you can't wire them directly. You might also want to disconnect everything from the pump (except for the power), and manually set it to drain water. There are better tutorials on how to wire airlocks, but this should at least let you open the doors. I hope that helps!
ArcticFire5 14 Mar, 2024 @ 12:32pm 
Im having an issue with the airlocks being stuck closed with no way to open them, they dont even try to open, do you know what it might be?
中国E.G.O信徒 - 恶意子弹 22 Oct, 2023 @ 9:28am 
your sub gave me so much good memories thank you so much fat ugly bastard
Fat Ugly Bastard  [author] 18 Jul, 2023 @ 2:14am 
@GamingRex911

Apologies for the delay, but here we go:

I ran some quick test missions and couldn't replicate the issue you guys were having on my end. If you would be able to give me step-by-step directions to replicate it I could give it another shot, but if it really happens every time I'm not sure what the issue might be. If you have any other mods running that might affect the game physics you could try to disable them to see if the issue persists, but that's just me spitballing.
Fat Ugly Bastard  [author] 17 Jun, 2023 @ 12:59am 
Huh, might be because of a game update, I haven't played with this sub for quite some time so I haven't noticed. I'll try to check it out and see if it's possible to fix when I get time.
KibtenKibby 15 Jun, 2023 @ 3:19pm 
Monorail breaks every time me and my friends use it, get lodged inside the main sub and thats it, have to cheat just to switch ships, ruins campaigns if it breaks
MILHAWK 4 Nov, 2022 @ 10:39am 
mew
zxcmavpaebana 30 Oct, 2022 @ 6:14am 
Nice submarine
HK-47 1 May, 2022 @ 7:45pm 
Used this submarine in "The Happy Traitor server", was pretty fun!


Captain Story: We got attacked by a death squad and then one of the members swam to the front of the navigation room window and started shooting at us, killed him but he took me and one other guy with him, also they made the reactor explode.. gg..