NG Network Tweaks
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«NG Network Tweaks» — материал мастерской Barotrauma. Моды, подлодки, предметы и новые задания для экипажа. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
A server-side mod that tunes Barotrauma's networking for smoother multiplayer — fewer desyncs, lighter event traffic and faster client reconnects. The key intervals scale with your server tickrate instead of being fixed.
⚠ Requires LuaCsForBarotrauma. Server-side only — just enable it on the host/server.
What it overrides (automatic)
Tickrate-scaled intervals — these four scale linearly with your tickrate: at tickrate 20 they equal the vanilla values, and at tickrate 60 they are halved (twice as frequent), interpolated in between and clamped outside that range. This is gentler than fixed "per-tick" scaling, which shortened intervals too aggressively at high tickrates.
| Setting | tick 20 (vanilla) | tick 40 | tick 60 |
|---|---|---|---|
| MaxHealthUpdateInterval | 2.0s | 1.5s | 1.0s |
| LowPrioCharacterPositionUpdateInterval | 1.0s | 0.75s | 0.5s |
| SparseHullUpdateInterval | 5.0s | 3.75s | 2.5s |
| HullUpdateInterval | 0.5s | 0.375s | 0.25s |
Other overrides:
-
MaxEventPacketsPerUpdate → raises the packet limit toward ~800 per second (a maximum, not a fixed value; scaled by tickrate and clamped to 5–60 per update)
-
ItemConditionUpdateInterval → a constant 2 ticks
-
HighPrioCharacterPositionUpdateDistance → 2000
-
MinimumMidRoundSyncTimeout → 120
Everything is recomputed on mod load and at every round start, so it always matches the current tickrate.
FOR SERVER HOSTERS
Settings this mod can't change — set them yourself in serversettings.xml:
-
Tickrate → recommended 40–60. If your teammates (or the server) have a slow CPU, use 20–30.
-
RoundStartSyncDuration → recommended 60–90
-
EventRemovalTime → recommended 20–30. Low values cause bad client reconnections; with these, clients reconnect much faster.
-
OldReceivedEventKickTime → recommended 60
-
OldEventKickTime → recommended 120
⚠ Only edit serversettings.xml while the server is OFF.
Original mod: steamcommunity.com/.../?id=3329396988 (no longer working) Source code: I can't attach a GitHub link here — message me on Steam or Discord (newgrafon) and I'll send it.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.