Barotrauma

Undertow Games · Simulation

Barotrauma patch notes · Feb 10, 2021

Experiment

The Cave Update

What's new in The Cave Update: 210 changes to Barotrauma, released Feb 10, 2021.

Balance · 27

  • Bots take battery cells below 80% to a battery or charging dock, using a new batterycellrecharger tag.

    bot battery cell recharging
  • Bots run when ordered to clean up things.

    bot cleanup running
  • Monsters can use doors for fleeing and break doors in the way, but still panic-run if the target is in the same room.

    monster door usage and fleeing
  • Bots take oxygen tanks below 80% to an oxygen generator or oxygen tank shelf, with diving and supply cabinets as secondary places.

    bot oxygen tank pickup and delivery
  • Toolbelt capacity is decreased to 6 slots.

    toolbelt capacity
  • Skill requirements for rewiring are reduced.

    rewiring skill requirement
  • Monster swimming speed is clamped instead of halved, fixing very slow swimming for husks and others.

    monster swimming speed
  • Bots switch batteries when operating scooters and unequip the scooter when out of batteries.

    bot scooter battery switching
  • Bots no longer drop empty oxygen tanks in the sea when they have inventory room.

    bot oxygen tank dropping
  • Floating ice chunks are easier to destroy.

    floating ice chunk durability
  • Husks ignore incapacitated characters and crouch to reach stunned or ragdolled characters.

    husk targeting behavior
  • Crew bots tolerate slightly more damage from repair tools before reacting.

    bot damage tolerance
  • Densities are modified so these items sink or ascend less quickly.

    item density
  • Bots no longer drop empty welding tanks or ammunition in the sea when they have inventory room.

    bot welding tank and ammunition dropping
  • Bots always heal players when ordered and use a higher threshold (90 instead of 85) for targeting other bots.

    bot healing behavior
  • Monster spawns are delayed up to a limit when most human players are exploring a ruin, wreck or cave.

    monster spawn delay
  • Vanilla drones' range is increased to 400 m.

    drone range
  • Bots shoot ice spires when the sub moves toward them or they are very close to the turret.

    bot turret ice spire targeting
  • Caves are made more narrow.

    cave narrowness
  • Bots operate repair tools so they fail less easily when water forces kick in.

    bot repair tool behavior
  • Electrical skill required for wiring oxygen tank shelves and diving suit lockers is lowered.

    electrical skill requirement for wiring
  • Level events are rebalanced for a better difficulty curve.

    level event difficulty curve
  • Hammerhead spawns are no longer afraid of sub turrets and approach more aggressively.

    hammerhead aggression
  • Bots know how to switch batteries on the stun baton.

    bot stun baton battery switching
  • Players are allowed to lay on beds.

    bed usage
  • Outpost reactors are made non-interactable for player team characters.

    outpost reactor interactability
  • Stunning is nerfed to be incremental; a few stun baton hits only slow the target, while a full stun requires several hits.

    stun effect

Content · 28

  • Character variants can now override parts of another character, with examples in Content/Characters/Variants.

    character variant override
  • A new glowstick flare is added for cave exploration.

    new flare item
  • Caves and ruins are positioned closer to the main path so players needn't swim hundreds of meters to reach the entrance.

    cave entrance placement
  • Outpost store gains more variety and better deals via Daily Specials and Requested Goods.

    outpost store variety
  • Husks can operate doors and hatches, climb ladders and break doors they cannot open.

    husk door and ladder ability
  • A ClearTagAction was added that removes the specified tag from the event.

    cleartagaction
  • Psychosis sounds change depending on whether the character is inside or outside a submarine.

    psychosis sound
  • A new music track, Extraterrestrial Broadcast, is added.

    music track
  • Players can sleep in beds, which slowly heals injuries over time.

    sleeping in bed
  • Monsters can spawn on both sides of the level during PvP missions instead of only near the sub on the left.

    monster spawn locations in pvp
  • Glowsticks are added.

    glowstick
  • New cave hazards such as vines, gas vents and ice shards are added to caves.

    cave hazard
  • A diving knife is added to one security item set so officers always have a lethal weapon.

    security item set
  • An InWater property was added to characters.

    inwater character property
  • Completing a nest mission turns adjacent empty locations to Explored.

    nest mission explored location
  • Several items of the same type can be carried in a single inventory slot.

    item stacking
  • Deconstruct elements support chooserandom and amount attributes, and Item elements support a commonness attribute.

    randomized deconstruction output
  • Character variants can override animations.

    character variant animation override
  • Min and max conditions in percentages were added for preferred containers.

    preferred container condition
  • Bots ignore mudraptor eggs when cleaning up.

    bot mudraptor egg handling
  • New character variants are enabled for modding, allowing custom monsters to be made via .xml.

    custom character variants for modding
  • A CheckAfflictionAction was added to check whether a character has an affliction.

    checkafflictionaction
  • Newborn hatchling variants are added for the mudraptor, thresher and crawler.

    juvenile monster variant
  • Character variants can override entire textures (not per limb).

    character variant texture override
  • New Forest, Mushroom and Bioluminescent cave types are added, found in later biomes starting from the Europan Ridge.

    cave type
  • A needsair attribute was added; when true it disables low oxygen resistance granted by husk affliction.

    husk affliction needsair attribute
  • Nest-specific level objects are added.

    nest-specific level object
  • A medic crate is added for medical items bought from an outpost instead of spawning in a chemical crate.

    medic crate

Economy · 5

  • Every store has its own small price factor affecting all item prices.

    store price variance
  • Starting wallet becomes 8500 marks minus the price of the starting sub, instead of a static 2500 marks.

    starting wallet
  • Selling prices decrease as the store balance decreases, so stores offer less for items.

    item selling price
  • Store-specific Daily Specials are cheaper to buy and Requested Goods are more profitable to sell, changing as the game progresses.

    store daily specials and requested good
  • Fuel rods are replaced with uranium in fertilizer recipes.

    fertilizer recipe ingredient

Controls · 5

  • Added console commands to assign, unassign and save console command keybinds.

    console keybinding command
  • Hotbar slot keybinds are disabled while holding the Windows Key on Linux.

    hotbar keybinds on linux
  • Sound volumes can be adjusted in 1% increments.

    sound volume adjustment
  • Ctrl+V pastes at the cursor position instead of the screen center.

    sub editor paste keybind
  • Manual assignment can be opened via hotkeys or clickless mode by holding Shift when navigating to the assignment phase.

    command interface manual assignment

System · 14

  • A new editable item property prevents player team characters from interacting while still allowing outpost NPCs to interact.

    item interaction restriction property
  • TriggerEvent in StatusEffects now supports inline events.

    triggerevent inline event support
  • Event tags were renamed to "statuseffecttarget" and "statuseffectentity".

    event tag name
  • Orders can now define a contextual name, such as "Wait" and "Wait Here".

    contextual order name
  • Status effect definition attributes are now case insensitive.

    status effect definition attribute parsing
  • Submarines auto-downloaded from other players' servers are no longer permanently stored on the computer.

    downloaded submarine storage
  • A console command generates an isolated image of the currently controlled character.

    character wiki image command
  • Downloaded submarines are deleted on launch and hidden from menus; the folder is now temporary storage for a session.

    downloaded submarine storage
  • Large numbers of submarines in the downloaded folder no longer cause long loading, freezes or high memory use.

    downloaded submarine loading
  • A console command generates an isolated image of the currently loaded submarine.

    submarine wiki image command
  • A ForceDockingDirection setting was added to docking ports to enforce direction when automatic logic fails.

    forcedockingdirection setting
  • CustomInterface component supports IntegerInput elements with min and max attributes.

    integerinput element support
  • Players who have left the server can be banned by clicking their name in the crew list or server log.

    ban from leaver list
  • The waypoint generator is improved.

    waypoint generator

UI · 23

  • A checkbox is added to skip localization for item labels.

    localization skip option
  • The owner of a duffel bag is shown when hovering the cursor over it.

    duffel bag hover info
  • The download prompt fits on screen when joining a server with many mods.

    workshop download prompt layout
  • Players can adjust text size to fit their screen.

    font scaling
  • Editing human heads in the character editor is disabled because it would break.

    human head editing in character editor
  • Number input boxes clamp values only when focus is lost or Enter is pressed, making clamped values easier to edit.

    number input clamping
  • Custom background images can be set in the sub editor.

    sub editor background image
  • Skill progression feedback is replaced with skill increase popups.

    skill progression feedback
  • Mission cargo items are marked with the red hand item, and taking them counts as stealing.

    mission cargo marking
  • Ignore icons are visible from further away and no longer fade when close.

    ignore icon visibility
  • Bots no longer shout that they need more oxygen when they have a non-empty oxygen tank.

    bot oxygen speech
  • An option to change the text scale is added.

    text scale option
  • The wire/component placement grid opacity was reduced from too high.

    wire/component placement grid opacity
  • Bots steering the sub report ice spires spotted on the sonar.

    bot ice spire sonar reporting
  • Pet name tags are restricted to 32 characters.

    pet name tag length
  • A visual snap grid is added to the submarine editor, toggled with the togglegrid console command.

    sub editor snap grid
  • Holding Alt and dragging the mouse brings up a measuring tape.

    sub editor measuring tape
  • Cave entrance markers are shown on the sonar during mineral missions.

    sonar cave entrance marker
  • An HSV color picker is added, accessed by clicking the color preview in the property editor.

    sub editor color picker
  • Flame particle positions on the welding tool and plasma cutter are readjusted.

    welding and plasma cutter flame particle
  • The memory component's signal_store input is renamed to lock_state.

    memory component input name
  • A sonar marker is shown at the cave entrance in nest missions.

    nest mission cave sonar marker
  • IgnoreDead, Offset and Target properties are editable in-game.

    motion sensor in-game editing

Fix · 108

  • Fertilizer no longer increases water consumption on plants.

    fertilizer water consumption
  • Subs with a tall shuttle docked on top no longer spawn partially inside the level's top wall.

    tall shuttle spawn inside level wall
  • Bots no longer fail to shoot through turrets that block the line of sight.

    bot turret line of sight
  • Crashing when a StatusEffect targets a removed limb was fixed.

    crash when statuseffect targets removed limb
  • Items with a kinematic physics body are now allowed to have a connection panel component.

    connection panel on kinematic item
  • Docking ports lock client-side even if hulls fail to generate between ports.

    docking port client-side lock
  • Filename case issues and backslashes in mod file paths no longer cause errors on Linux and Mac.

    mod file path case and separator error
  • Player characters' orders are reset between multiplayer rounds.

    player orders reset between round
  • Welding tools can now be used to destroy ballast flora.

    welding tool ballast flora destruction
  • Order icons no longer always display over a container when the target is contained.

    order icons over contained target
  • Level generation no longer sometimes fails to create the complete path to the destination.

    level generation path failure
  • The disallowed upgrades field is now respected in the upgrade UI when using prefab identifiers.

    disallowed upgrades in upgrade ui
  • Secure steel crates can no longer be seen inside without access by swapping them with a normal crate.

    secure steel crate visibility
  • Mods no longer sort incorrectly until the order is changed through settings.

    mod load order sorting
  • A rare crash from an index out of range exception in Hull.Update after loading or mirroring custom subs was fixed.

    hull.update index exception crash
  • Pressure warnings no longer display when the sub is past the crush depth of a non-upgraded sub.

    nav terminal pressure warning
  • Only one wire can attach to a reactor's power_out connection, preventing power issues.

    reactor power_out wiring
  • A potential fix for occasional disconnects with an index out of bounds (ENTITY_POSITION) error during rapid creation and removal of entities.

    disconnects with entity_position array error
  • The ancient weapon can now damage ruin walls.

    ancient weapon damage to ruin wall
  • Bots stop and wait instead of running toward a door when they cannot find a path while following a target.

    bot door running when no path
  • Mod load order is now restored correctly when leaving a server.

    mod load order restoration
  • Melee weapons can no longer hit through walls or doors when the item origin is on the user's side.

    melee weapons hitting through wall
  • Characters turned invisible by psychosis no longer stay invisible when switched to.

    psychosis invisibility persisting on switch
  • Monsters no longer sometimes spawn inside floating ice chunks.

    monsters spawning inside ice chunk
  • Bots speak about having no targets only after a 3 second delay.

    bot no-target speech timing
  • The diving suit now gives protection against radiation sickness.

    diving suit radiation sickness protection
  • HasStatusTag conditionals now check all active status effects, not only the first.

    hasstatustag conditional
  • Mudraptor shells now spawn inside the mudraptor's inventory.

    mudraptor shell spawn location
  • Monsters no longer sometimes choose strange paths when hulls are flooding.

    monster pathing while flooding
  • Crash when copying a linked submarine missing its original file was fixed.

    sub editor crash copying linked sub
  • Thalamus no longer spawns too many leucocytes in wrecks, especially on higher difficulties.

    thalamus leucocyte spawning
  • Pets now spawn at the position of their owner.

    pet spawn position
  • Welded doors no longer stay stuck and the nav terminal resets when a shuttle is redispatched.

    welded doors and nav terminal on redispatch
  • Items with a physics body no longer disappear when outside hulls during saving.

    items disappearing during saving
  • MaxStructureDamageKarmaDecreasePerSecond now works as intended, limiting karma loss from rapid structure damage.

    karmamanager structure damage karma decrease
  • R-29 cargo lights now toggle on correctly.

    r-29 cargo lights toggling
  • Bots no longer forget autonomous operate orders when objectives fail.

    bot autonomous order
  • Bots no longer think they need a diving suit for certain airlocks and drones due to ladder waypoints.

    bot diving suit requirement misjudgment
  • Husks and humanhusks no longer target turrets inside the submarine.

    husks targeting turrets inside sub
  • Missing waypoints in Berilia were restored.

    missing waypoint
  • Devices now receive power when connected directly to a docking port's power connection.

    docking port power connection
  • Crash when editing a limb source with adjust collider and zero or negative source rect size was fixed.

    character editor crash on zero-size source rect
  • Manual assignment can no longer be opened for orders targeting all characters.

    manual assignment for all-character order
  • Entering the sub while docked no longer switches from an outpost track to a normal one.

    music switching when entering docked sub
  • Crash when selecting matching items on a linked sub in the sub editor was fixed.

    crash on selecting matching items for linked sub
  • The Matriarch's head no longer deforms incorrectly; may affect modded conditional sprite deformations.

    hammerhead matriarch head deformation
  • Ballast flora can be damaged by explosions and tools even when submerged.

    ballast flora damage
  • Ballast flora no longer jams doors permanently if it dies while drowning a player in the ballast tank.

    ballast flora jamming door
  • Conditional And comparisons now work correctly when targeting items, requiring the condition on the item and all its components.

    conditional and comparison on item
  • Unignore icons no longer display in multiplayer.

    unignore icons in multiplayer
  • Corrupted or invalid content packages with unloadable XML are no longer added to the list, preventing a crash.

    corrupted content package crash
  • An occasional lag following a crash with Spinelings present was fixed (#4453 referenced).

    lag after crash with spineling
  • Inconsistencies in meds fired from a syringe gun were fixed.

    meds inconsistency from syringe gun
  • Crash when selecting a client controlling a monster in the tab menu was fixed.

    crash selecting client controlling monster in tab menu
  • A huge penalty on stairs causing odd pathing is fixed.

    ai stair pathing penalty
  • Lights on turrets rotate around the barrel origin instead of the item origin.

    turret light rotation origin
  • Server list no longer shows only up to 50 servers.

    server list cap
  • Bots now respect ignored targets even when already targeting the item when told to ignore it.

    bot ignored target handling
  • Crash when respawning a bot in multiplayer campaign was fixed.

    bot respawn crash
  • The nav terminal velocity_in input now works.

    nav terminal velocity_in input
  • Autopilot no longer steers away from connected subs not directly docked to the main sub.

    autopilot steering around connected sub
  • The Kastrull drone no longer floods when undocking with the button next to the hatch.

    kastrull drone flooding on undock
  • Connections with identical start and end locations are no longer generated, preventing a load crash.

    campaign map connection generation
  • Crash when taking control of a black moloch with console commands was fixed.

    crash when controlling black moloch via console
  • Tiny limbs are no longer created when the cursor leaves the sprite sheet; limb drawing is no longer restricted to the sheet area.

    character editor tiny limb
  • Ready check ticking is no longer heard when the popup is not visible.

    ready check ticking audio
  • XP messages no longer fly away when inside a moving sub.

    xp messages flying away in moving sub
  • Rare failed to generate a wall (not enough vertices) error during level generation was fixed.

    wall generation error
  • Docking port connection to doors is fixed, with relative distance and manual linking in the sub editor.

    docking port door linking
  • Bots check line of sight properly while extinguishing fires.

    bot fire extinguishing line of sight
  • Desync caused by a very long logbook message in the sub or inventory during multiplayer campaign was fixed.

    desync when entering new level with long logbook message
  • Conversation prompts disappear if the controlled character dies during subactions.

    conversation prompts persisting after death
  • Starting a server no longer fails when a very large number of subs is installed.

    server start with many sub
  • Bots respect the Wait order inside ruins.

    bot wait order inside ruin
  • Fruits now float on water.

    fruit buoyancy
  • The crew list background no longer blocks mouse input.

    crew list blocking mouse input
  • Planter component now triggers OnPicked status effects when interacted with.

    planter onpicked status effect
  • Bots no longer incorrectly abandon movement objectives when the path requires diving gear.

    bot movement objective abandonment
  • Multiple characters no longer spawn when a character infected with several husk afflictions dies.

    multiple husk character spawning
  • Holes in walls no longer become non-see-through when a new campaign round starts.

    holes in walls see-through after new round
  • A crash in GetDisguisedSprites was fixed.

    getdisguisedsprites crash
  • Recovered shuttles no longer disappear if you quit during the round after purchasing shuttle recovery in multiplayer campaign.

    recovered shuttle disappearing on quit
  • DockingDistance is now affected by the item's scale.

    docking port dockingdistance scaling
  • A number of crashes in custom repair tools were fixed, especially when they operate without a user.

    custom repair tool crash
  • Submarine switching no longer deletes all upgrades in multiplayer.

    upgrades deleted on submarine switch
  • Assignment tooltip no longer shows on the command interface when it shouldn't.

    assignment tooltip on command interface
  • UI text now reflects the actual signal when changed by another player in multiplayer.

    custominterface text sync in multiplayer
  • Bots properly ignore non-interactable containers.

    bot container ignoring
  • Bots equip diving gear when oxygen is low and there is no leak, preventing suffocation.

    bot diving gear equipping
  • The relay's toggle input ignores '0' signals.

    relay toggle input
  • Items attached to walls no longer detach when reset to prefab values in the sub editor.

    wall-attached items detaching in sub editor
  • Light rotation is correct when minimum and maximum rotation limits are equal.

    turret and searchlight light rotation with equal limit
  • Docked subs are placed on the correct side of the docking target in cases where neither port is connected to a door.

    docked sub placement side
  • Bots know how to get back inside through gaps in the hull.

    bot hull gap re-entry
  • Wrecks no longer sometimes block cave entrances.

    wrecks blocking cave entrance
  • Mission events unlock the mission even if the conversation is interrupted.

    mission unlock on interrupted conversation
  • Hosting on Linux or Mac no longer allows a campaign save filename illegal on Windows, which blocked Windows players from joining.

    illegal windows save filename on linux/mac server
  • The Matriarch can now break the sub's walls when hitting it.

    hammerhead matriarch wall breaking
  • Linked subs inherit the parent sub's submarine class, so drones and shuttles on deep diver subs no longer get crushed in late levels.

    linked sub submarine class inheritance
  • Newly placed coilguns and searchlights now rotate their light sprite in the sub editor.

    coilgun and searchlight light rotation in sub editor
  • Popup messages no longer prevent steering on the navigation terminal.

    popup blocking nav terminal steering
  • NPCs can repower the reactor if a player unpowers it.

    npc reactor repowering
  • Bots no longer drop off ladders when switching between adjacent ladders.

    bot ladder dropping
  • Bots no longer take items from mission cargo containers.

    bot mission cargo taking
  • The velocity invalid error no longer occurs when a monster indoors eats a corpse outdoors or vice versa.

    velocity invalid error with corpse eating
  • The achievement is now unlockable because depth is calculated correctly.

    where no man has gone before achievement
  • The propeller hitbox now moves and scales when the engine is rescaled.

    engine propeller hitbox rescaling
  • Logbooks no longer always spawn in the same cabinet in a given wreck.

    logbook spawn location