Barotrauma

Undertow Games · Simulation

Barotrauma patch notes · Sep 22, 2020

Experiment

Bugfixes and pastimes

What's new in Bugfixes and pastimes: 228 changes to Barotrauma, released Sep 22, 2020.

Balance · 22

  • Bots no longer try to move while grabbed by a friendly character.

    bot movement while grabbed
  • All crew try to keep the reactor running unless ordered or turned off manually.

    crew reactor upkeep
  • Bots prioritize stunning melee weapons based on damage when out of battery.

    bot melee weapon priority
  • Bots detect and ignore leaks that other bots are targeting.

    bot leak targeting
  • Security officers actively seek new weapons when weapons are poor or out of ammo.

    security weapon seeking
  • Bots no longer decontain diving suits when the path to cabinets is flooding.

    bot diving suit decontainment
  • Bots give high priority to items they are currently repairing, regardless of who decided.

    bot repair priority
  • Bots no longer try to operate items that other bots are targeting.

    bot device operation targeting
  • Bots weigh only room width, not whole hull volume, when avoiding idling in narrow hulls.

    bot idling in narrow hull
  • Shuttle batteries are stated to be unable to be damaged by explosions because they cannot be repaired.

    shuttle battery damage
  • Medics no longer try to rescue targets that are fixing leaks.

    medic rescue of leak fixer
  • Solid obstacles reduce explosion damage better; non-broken doors and walls nearly nullify it.

    explosion damage reduction by obstacle
  • User's helm skill now affects engine output.

    engine output
  • Attacks for the Husk and Humanhusk were readjusted.

    husk attack
  • Characters no longer gain helm skill when the sub is not moving.

    helm skill gain
  • Medics replace empty oxygen tanks for targets before rescue and remove suits when not needed.

    medic oxygen tank replacement
  • The SeverLimbsProbability cap was raised from 1 to 10.

    severlimbsprobability cap
  • Bots operating or fixing wait a few seconds before heading on, except underwater or under threat.

    bot wait before operating or fixing
  • Removed autonomous objectives to fix leaks, repair systems, and pump water from medic and security officer.

    medic and security autonomous objective
  • Equipping a weapon starts its reload time (capped at 1 second), preventing reload bypass by swapping.

    weapon reload on equip
  • Adjusted the logic for when diving gear is required.

    diving gear requirement logic
  • Bots avoid idling in flooding hulls even with proper equipment.

    bot idling in flooding hull

Content · 11

  • Added cleaning: decals are now persistent and water gradually dirties the submarine walls, which a special tool can clean or paint.

    cleaning activity
  • Added a fuel_out output to reactors.

    reactor fuel output signal
  • Overhauled the mudraptor with new sprites, more varied attacks and heavier armor.

    mudraptor overhaul
  • NPCs spawn a welding fuel tank if they cannot find one, but not welding tools.

    npc welding fuel tank spawning
  • Added a set_light connection to turrets.

    turret light connection
  • NPC guards spawn more handcuffs when out and trying to arrest a target.

    guard handcuff spawning
  • Added support for periodic effects executing every x seconds to Afflictions, with nausea as an example.

    periodic affliction effect
  • Added character godmode and renamed the mainsub godmode command to godmode_mainsub.

    character godmode command
  • NPCs spawn an oxygen tank if they cannot find one, but not diving gear.

    npc oxygen tank spawning
  • Added gardening with four growable plants that produce fruits which can be crafted into items or thrown to splatter the hulls.

    gardening activity
  • Added the heavy transportation ship R-29, designed by Rav2n.

    new submarine

Economy · 6

  • Stun gun darts can now be crafted from any type of wire.

    stun gun dart crafting
  • Antidotes are cheaper and easier to fabricate.

    antidote cost and fabrication
  • Items can be sold as long as their condition is over 90%.

    item selling condition
  • Selling items in equipment slots is disallowed.

    equipment slot selling
  • ID cards can be sold, unless they are in the player's own ID card slot.

    id card selling
  • Logbooks are now sellable.

    logbook selling

Controls · 2

  • Clients can view the campaign map even without permission to select destination or mission.

    client campaign map access
  • Added an option to change the headset channel for secret communication or channel-specific devices.

    headset channel switching

System · 9

  • The Executable content type was disabled due to cross-platform issues.

    executable content type
  • Mission rounds end automatically when more living players are inside the outpost than outside it.

    mission round end condition
  • Auto save slots increased from one to 8 by default.

    sub editor auto save slot
  • The order of all installed mods is now saved into the config file.

    mod order saving
  • Added a server setting for the minimum player count required before traitors become active.

    traitor activation player minimum
  • Client modifications to item properties are now logged.

    item property change logging
  • Workshop mods can be downloaded and installed automatically before joining a modded server.

    workshop mod auto-install
  • Previously enabled mods are restored when leaving a server.

    mod restoration on leaving server
  • The first module type in the outpost config is used as the first module instead of forcing airlock.

    outpost generator first module

UI · 18

  • Added a second previous order icon to the crew list.

    previous order icon
  • Movement orders are hidden from the contextual command interface when other order types are available.

    movement order visibility
  • Added directional markers showing the locations of interactable NPCs in outposts.

    npc directional marker
  • The game is paused while the campaign map is open in single player campaign.

    campaign map pause
  • Automatic crew list sorting is disabled so the order stays the same through the round.

    crew list sorting
  • Using the fire extinguisher during a fire is no longer considered stealing by NPCs.

    fire extinguisher theft logic
  • Store tooltips now include the item name and display more consistently.

    store interface tooltip
  • Chat message popups stack when the chatbox is hidden instead of showing one at a time.

    chat message popup
  • Switches now have lights indicating whether they are on or off.

    switch indicator light
  • Traitor victims receive a message saying they were killed by a traitor.

    traitor victim message
  • Added a cancel button to the reconnecting to server message box.

    reconnecting message box
  • Location reputations show when hovering over a location on the campaign map.

    location reputation tooltip
  • In multiplayer the campaign map closes automatically if the submarine gets too far from the level end while open.

    campaign map auto-close
  • Added a verification prompt when trying to handcuff yourself.

    handcuff self-restraint prompt
  • The campaign NPC icon is hidden when the NPC is dead or incapacitated.

    campaign npc icon visibility
  • Handcuffed players' inventory is now locked with a tooltip explaining why, instead of being hidden completely.

    handcuffed player inventory display
  • The docking confirmation prompt only appears when redocking to the outpost just left.

    docking confirmation prompt
  • The togglehud command is usable in the sub editor.

    togglehud in sub editor

Fix · 160

  • Item assemblies can now be overridden with mods.

    item assembly override with mod
  • Duplicate saves no longer appear in the multiplayer campaign load save tab when server and client share a machine.

    duplicate saves in load tab
  • Autopilot is no longer turned on automatically at round start on nav terminals controlling a remote shuttle or drone.

    autopilot auto-enable on nav terminal
  • Fixed a crash when modifying the selected core package when others are unavailable.

    core package modification crash
  • Recolored diving suit lockers no longer revert to default color when a suit is placed inside.

    recolored diving suit locker color on suit placement
  • Crawler walking and running animations now display correctly when the creature faces left.

    crawler walking and running animation
  • Pumps can be adjusted manually again after receiving a set_targetlevel signal in multiplayer.

    pump manual adjustment after signal
  • Items contained inside another item in an item assembly are now saved in the sub editor.

    nested item saving in item assembly
  • Sub names and save times no longer disappear from the load campaign menu after deleting a save.

    sub name and save time display after deletion
  • Salvage missions now complete when the item is inside a subinventory.

    salvage mission completion with subinventory item
  • Door stuck state syncing is more reliable, fixing doors appearing usable client-side when welded server-side.

    door stuck state syncing
  • Railgun shells in single loaders are no longer misaligned.

    railgun shell alignment
  • Crash when taking control of a previously player-controlled character turned husk is fixed.

    crash when controlling husk
  • Respawn shuttle no longer sometimes spawns with upward velocity.

    respawn shuttle upward velocity
  • Invalid docking port network event error is fixed when the port ID changes after event creation.

    invalid docking port network event
  • Mining outposts no longer fail to generate and fall back to old pre-built outposts.

    mining outpost generation failure
  • Legacy railgun controllers no longer fire with the Use key; they now fire with the Shoot key.

    legacy railgun controller input
  • Fixed missing entity errors when the respawn shuttle despawns after its walls have started leaking.

    missing entity errors in multiplayer
  • Campaign setup menu no longer randomly selects an invalid sub when opened.

    campaign setup invalid sub selection
  • Servers with no play style no longer show as Serious.

    play style display
  • Security now reacts when attacked by a friendly character with the husk stinger.

    security reaction to husk stinger
  • Turrets no longer crash when receiving a NaN signal in the position_in connection.

    turret nan signal crash
  • Events increasing medical skill no longer give a character a duplicate entry.

    duplicate medical skill entry
  • Dedicated servers now properly set a play style.

    dedicated server play style
  • Shadow-casting convex hulls are now calculated correctly on hatches with windows.

    shadow-casting hull calculation on windowed hatch
  • Outpost events no longer repeat more often than intended.

    outpost event repetition
  • Occasional end-of-round crashes from a race condition during sub unloading were fixed.

    end of round crash
  • Bots no longer get stuck in the find safety state when no safe hull exists.

    bot find safety state stuck
  • Hidden linked containers can now be interacted with in multiplayer.

    hidden linked container interaction in multiplayer
  • Memory component and text display syncing is more reliable.

    memory component and text display syncing
  • Rejoining clients regain control of their previous character even after changing their name.

    client control after name change on rejoin
  • Bots now account for all items in inventory, including mixes of empty/broken and functional items.

    bot inventory evaluation
  • Deleting a save no longer hides all saves from the load game menu.

    save hiding after deletion
  • Multiplayer campaign no longer loads an outpost level with no outpost, which previously forced map view and corrupted saves.

    outpost level loading without outpost
  • Killing a character with morbusine now unlocks the Poisoner achievement.

    poisoner achievement unlock
  • Husk infection now progresses properly in multiplayer (#3673 referenced in source).

    husk infection progression in multiplayer
  • Contextual repair order no longer shows for items not needing repair.

    contextual repair order display
  • Incapacitated bots now forget prior activity, fixing bots shooting the player after being revived.

    incapacitated bot memory
  • Copypasting a single docking port, hatch or wire in the sub editor no longer places it far from the sub.

    sub editor copypaste placement
  • Non-mission artifacts no longer sometimes spawn inside level walls.

    non-mission artifact wall spawning
  • Broken stationary batteries can no longer provide power.

    broken battery power output
  • Bots no longer insist on equipping the diving suit before accessing Kastrull's drone.

    bot diving suit before drone access
  • Fabricator hover text no longer says it is repairable with a screwdriver.

    fabricator hover text
  • Piercing coilgun bolts no longer go through level walls.

    piercing coilgun bolts through wall
  • Bots can now reach diving gear even when hulls in the path are flooding.

    bot diving gear access
  • Oxygen tanks in the oxygen generator are no longer misaligned.

    oxygen tank alignment
  • Doors in AlienDoorAssembly2 now work.

    doors in aliendoorassembly2
  • Taking husk damage no longer reduces infection when its strength is above 50.

    husk damage reducing infection
  • Skill checks in the sound in the vent, mediator and big brother events no longer always fail.

    skill checks always failing
  • The giveaffliction command now accepts the affliction identifier as a parameter in multiplayer.

    giveaffliction identifier parameter
  • The incorrect diving suit deconstruction recipe was fixed.

    diving suit deconstruction recipe
  • Bots no longer get stuck fixing leaks when slightly too far from the target.

    bot leak repair stuck
  • Dugong's oxygen generator now rewires with a screwdriver instead of a wrench.

    dugong oxygen generator rewiring tool
  • Current location or destination can no longer change type at round end.

    location type change at round end
  • Items added outside hulls are no longer lost when saving in the sub editor.

    item saving in sub editor
  • Submarine upgrades, hired bots and purchased items no longer vanish if the round ends right after purchase via lobby return or crew death.

    purchases disappearing after round end
  • The unwired lamp in EngineeringModule_01 is now wired.

    unwired lamp
  • NPC and bot reactions to being attacked by the player were fixed and improved.

    npc reaction to player attack
  • Attacks now work reliably when controlling a monster in multiplayer.

    monster attack reliability in multiplayer
  • Bots can now reach leaks behind intact walls.

    bot reach to leaks behind wall
  • Handcuffs no longer become unequipped client-side on successive campaign rounds.

    handcuff unequip on successive round
  • Bots can now get an item even when their inventory is full.

    bot item pickup with full inventory
  • Fixed the Unsubscribe button sometimes failing to delete mod content.

    mod unsubscribe content deletion
  • Conversation prompt now closes after finishing either Mike the Idiot event.

    conversation prompt staying open
  • Bots now continue towards the target instead of running back and forth after reaching a waypoint.

    bot running back and forth at waypoint
  • Contained items now rotate when the container is rotated.

    contained item rotation
  • Light sprites now rotate correctly when rotating an item.

    light sprite rotation
  • Broken junction boxes no longer carry signals from other junction boxes.

    junction box signal carrying
  • Sound in the vent and giving directions events now grant rewards.

    sound in the vent and giving directions reward
  • Devotion now works correctly for subobjectives of looping objectives, stopping repeated target switching.

    devotion for looping objective subobjective
  • Bots no longer trigger the campaign map by undocking from outposts.

    bots triggering campaign map
  • Mudraptor eggs now hatch.

    mudraptor egg hatching
  • Store total now updates when location reputation changes.

    store total on reputation change
  • Ruins no longer spawn close to level start or end, blocking the way to the outpost.

    ruin spawn location
  • Particles no longer pass through walls, for example at Typhon's ballast pumps.

    particles through wall
  • Stabbing with a syringe no longer bypasses the medical skill check.

    syringe medical skill check bypass
  • Items are removed immediately after opting to give or use them, preventing duplication by dropping before dismissing.

    item removal timing in goodsamaritan and huskcultist event
  • The mission notification no longer appears in front of the round summary.

    mission notification layering
  • Operate Weapons order can now be given when there is only one turret.

    operate weapons order with one turret
  • Endpoint checks in the banlist were made more robust.

    banlist endpoint check
  • Links between entities in item assemblies now save, preventing duplicate door gaps on placement.

    entity link saving in item assembly
  • Many AI objectives now reset properly, fixing numerous separate issues.

    ai objective reset
  • Undocked linked subs are no longer positioned incorrectly when entering a new campaign level.

    undocked linked sub positioning
  • Crew removed mid-round (despawned, turned husk) no longer reappear the next round.

    removed crew reappearing next round
  • Hulls can no longer be linked to each other multiple times.

    multiple hull linking
  • Events requiring a specific item now count items inside subinventories.

    item requirement events ignoring subinventory
  • Fixed ItemPrefabs loading after AfflictionPrefabs.

    prefab load order
  • Pause menu no longer stays open after Save and quit in an outpost level.

    pause menu after save and quit
  • Grenade launcher muzzle flash no longer triggers items' OnFire effects.

    grenade launcher muzzle flash
  • Bots no longer disappear from the campaign save when loading a save made between two uninhabited locations.

    bots missing from campaign save
  • Attacks can now exceed 100 HP damage per affliction, and railgun and explosion damage were readjusted accordingly.

    damage cap per affliction
  • Further fabricator syncing fixes were made.

    fabricator syncing
  • Particles are now emitted when cutting ores.

    particles when cutting ore
  • Sonar beacon no longer stays active after running out of battery.

    sonar beacon battery depletion
  • Berilia and Typhon docking ports are now connected to the power grid.

    docking port power connection
  • Incorrect priority calculations for repair objectives that caused odd bot repair decisions were fixed.

    repair objective priority
  • Bots no longer rapidly turn left and right when idle between a wall and another bot.

    bot rapid turning when idle
  • Players can no longer bypass sonar disruptions by switching to passive sonar before the ping arrives.

    sonar disruption bypass
  • Secure steel cabinets now require a key card to open in securitymodule_01 and 02.

    steel cabinet key card requirement
  • Nullref exception on client join or disconnect before tab menu crew tab initialization is fixed.

    client join or disconnect nullref
  • Faraday artifact now plays its explosion effect in multiplayer.

    faraday artifact explosion effect
  • The fabricator keeps fabricating when transitioning to a new level while running.

    fabricator continuity across level transition
  • Certain audio errors no longer crash the game.

    audio error crash
  • Names are now color coded by job in the server lobby during a round.

    name color coding in lobby
  • One Thalamus spawn organ no longer always dies in Wreck1 due to hull not flooding.

    thalamus spawn organ dying
  • Bots no longer use stabilozine for internal damage since it only treats poisonings.

    bot stabilozine usage
  • The acid party traitor mission no longer crashes with only one player on the server.

    acid party traitor mission crash
  • Monsters no longer often spawn behind the submarine when valid spawnpoints exist ahead.

    monster spawn location behind submarine
  • Characters crushed by pressure with vigor no longer remain unable to move without dying.

    crushed vigor character movement
  • Bots now prioritize selected contextual targets first when ordered.

    bot target prioritization
  • Text no longer overlaps the icon in the 'purchased supplies have been delivered' popup.

    purchased supplies popup text overlap
  • Players can no longer bypass vote kicks by changing their name.

    vote kick bypass by renaming
  • Wrecks are now properly initialized when spawned with the spawnsub console command.

    wreck initialization on spawn
  • Fixed a modding-related crash at startup.

    modding startup crash
  • Right mouse button now behaves correctly in the campaign UI in left-handed mode.

    right mouse button in left-handed mode
  • A missing fire extinguisher was added to securitymodule_03.

    missing fire extinguisher
  • Spawn point text property changes now save in the sub editor without pressing enter.

    spawn point text property saving
  • Dedicated servers are no longer always public.

    dedicated server visibility
  • Prices now refresh in the store screen when crew reputation changes inside the outpost.

    store prices refresh on reputation change
  • Fixed index out of bounds and missing entity errors when purchased or owned items took an existing structure's ID at round start.

    networking id collision error
  • Bots can now take off diving suits when they should, preventing suffocation (#3333).

    bot diving suit suffocation
  • Bots can now hit reliably with melee weapons, especially in arrest mode or against downed targets.

    bot melee attack
  • Projectiles no longer stay active when picked up mid-flight and hit the character on drop.

    projectile behaviour when picked up mid-flight
  • Players are now notified about shuttles being left behind when docking with an outpost in the campaign.

    shuttle left-behind notification
  • Events requiring payment can no longer be completed without enough money.

    payment events completable without fund
  • Toggle connections on these components now ignore 0 signals.

    0 signal handling in toggle connection
  • Using the money cheat command in the main menu no longer crashes.

    money cheat crash
  • Fixed negative rotation speeds not working on decorative sprites.

    negative rotation speed on decorative sprite
  • Damage modifiers now stack instead of overriding each other, so protective items no longer make characters less protected.

    damage modifier stacking
  • Husks no longer try to target floors or ceilings.

    husk targeting of floors and ceiling
  • Signal components output nothing when an arithmetic result is undefined.

    signal output on undefined arithmetic
  • Bots no longer run towards a wall after extinguishing fires.

    bot movement after extinguishing fire
  • Round summary now shows correct status instead of new hire for recently hired characters who died mid-round.

    round summary status for hire
  • Permission commands now work on players with spaces in their names when executed by a client.

    permission commands with spaced name
  • Creatures in the human group are now considered friendly, enabling friendly non-human characters.

    friendly non-human creature
  • XP popups now appear correctly in multiplayer games.

    xp popups in multiplayer
  • Attacks can now exceed 100 units of damage per affliction, making some weapons effective as intended.

    attack damage cap
  • Submarine voting now works in the server lobby.

    submarine voting in lobby
  • Contained item positions now update inside non-equipped items in inventory.

    contained item position update
  • Explosives now trigger inside depth charges.

    explosive triggering in depth charge
  • Bots now avoid lethal pressure correctly when they have a diving suit.

    bot lethal pressure avoidance
  • Tunnel background in ResearchModule_02 is no longer interactable.

    tunnel background interactability
  • Irrelevant damage modifiers no longer affect final damage when multiple damage modifiers exist.

    damage modifier calculation
  • Characters huskified during a multiplayer campaign round no longer spawn with 100% husk affliction next round.

    husk affliction carried over to next round
  • Killing a moloch that is a mission target now unlocks the Killed a Moloch achievement.

    killed a moloch achievement unlock
  • Attachable items no longer teleport back to inventory in multiplayer when equipped then immediately attached.

    attachable item teleporting
  • Healthbar is now positioned correctly on large resolutions.

    healthbar position on large resolution
  • Reselecting the current preview image for a workshop item no longer crashes.

    workshop preview image reselect crash
  • Molochs no longer bleed when taking damage on the brain or main body.

    moloch bleeding
  • Monster attacks now work inside ruins.

    monster attacks inside ruin
  • Bots now switch oxygen tanks when empty; refilling via oxygen generator is still to come.

    bot oxygen tank switching
  • Coils now trigger in some alien ruin rooms where they previously did not.

    coil triggering in ruin
  • Latched monsters now respect decoys, and the latching logic was modestly changed with minor gameplay implications.

    latched monster decoy handling
  • Bots no longer power up the reactor in outposts unless ordered to.

    reactor power-up by bot
  • Last hit from a stun baton now has an effect.

    stun baton last hit
  • Clicking the job name now selects the job as a preference.

    job preference selection
  • Custom items no longer disappear when saving a sub configured in the same content package.

    custom item disappearing on sub save
  • SMG magazines no longer spawn an extra bullet at round start when one is already inside.

    smg magazine round start bullet
  • Characters are now stunned when failing to repair an oxygen generator.

    stun on failed oxygen generator repair
  • Duct blocks in vanilla subs are now repaired with a wrench instead of a welding tool.

    duct block repair tool