Barotrauma

Barotrauma

33 ratings
Disable Distance Tweak Lua
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
81.708 KB
9 Feb @ 1:21pm
28 May @ 1:26pm
8 Change Notes ( view )

Subscribe to download
Disable Distance Tweak Lua

Description
The mod is under development and testing
Requires further testing, various bugs are possible.

Objective
Optimize the unloading of characters beyond the player's line of sight.
Also unload submarines and various structures, items and other entities.

What we got
Ended up with "Jovian optimization" (possible placebo effect).
Currently the mod unloads all characters that are too far away from main sub or characters on the player's team. And removes all corpses with no items in them.
Spectators do not load characters within line of sight.
An attempt has also been made to optimize submarines out of sight.

Consequences
As the crew of enemy boats unload, they cannot repair their sub while they are sinking.
Monsters that like to move away from the boat periodically can unload prematurely (note the hammerhead).
Very rarely strange things happen at outposts (bots die or stuck).

You can try your character upload values by changing them in the file.
%ModFolder%\Lua\Autorun\disable_distance_tweak.lua

Important!
Serverside only mod.
Dont use in singleplayer, mod was tested only on the server.
Lua For Barotrauma with Cs For Barotrauma is required to work.
13 Comments
Crystal 18 Apr @ 9:26am 
фпс выросли, спс
𓂀 13 Apr @ 9:40am 
Действительно, работает, помогло избавиться от падения кадров во время боёв между подлодками и во время нападения стай существ, благодарю, начисляю очки!
БОЖЕ!!! ВОЗЬМИ МОИ СТИМ ОЧКИ, ДРУГ СЕРДЕЧНЫЙ, БРАТ РЕМЕСЛЕННЫЙ, ТОВАРИЩ ПО СТАНКУ, КОТОРЫЙ СМОГ СДЕЛАТЬ БАРОТРАВМУ ОПТИМИЗИРОВАННОЙ ОДНОЙ КРАЙНЕ ПРОСТОЙ ФУНКЦИЕЙ!!! ДА СЛАВИТСЯ ИМЯ ТВОЁ, ВЕЛИКИЙ!!!

ДА ЭТО ОТКРЫТИЕ, БЛЯТЬ, УРОВНЯ СОЗДАНИЯ ИНСУЛИНА В МЕДИЦИНЕ НАХУЙ!!!!

Хлопаю стоя. Со слезами на глазах.
Боженька наш... Спасибо за ремесло оптимизерское... Да хранит тебя Европа...
SENPAI!! [Only Two Genders] 15 Feb @ 10:33am 
Модеры как всегда должны фиксить игру за разрабов и доделывать новый лор
The Pizza is Aggressive 14 Feb @ 7:37am 
interesting
VORON 14 Feb @ 2:17am 
good
PER1CH 13 Feb @ 4:39am 
вообще, функция этого мода должна была быть в игре, но рыгалис
PER1CH 13 Feb @ 4:07am 
@Lloyd3005 чисто теоретически, ничего плохого не случится, т.к структуры замораживаются, никакой разницы ,зато большая часть геймплея не погубится от 10 фпс в боях.
Lloyd3005 12 Feb @ 1:05pm 
@PER1CH Так большая часть мор левела погубится, мягко говоря