Convert Barotrauma submarines to wrecks.
Microsoft .NET Framework 4.7.2
Recommended: Visual Studio 2019
- Open
Sub-Wrecker.sln
. - Change the solution configuration to
Release
. - Build the solution.
- Run
Sub-Wrecker.exe
.
- Download either
Sub.Wrecker.zip
orSub.Wrecker.tar.xz
from the latest release. Both archives contain the same file - which you use is down to your preference. - Extract the files to whatever location you choose.
- Run
Sub-Wrecker.exe
.
Select one or more .sub
files to wreck.
Clicking this button will wreck the selected files in accordance with the settings below.
Instead of outputting to a new file, output to the same file as used for input.
Append _Wrecked
to the name of the submarine
If unchecked, will reset all sprite colours of wrecked objects to 255,255,255,255
.
Replaces the tags on containers with wrecked versions, e.g. medcab
becomes wreckmedcab
.
Set the condition
attribute of pumps and smallpumps to 0, giving them a wrecked appearance.
If checked, deletes all wires on the submarine.
If checked, deletes all wiring components on the submarine.
Delete all spawnpoints found.
Replace all spawnpoint types with corpse spawnpoints.
Do nothing to spawnpoints.
On all doors and hatches in the submarine, make them accessible with wreck_id
as a requireditem
.
On all doors and hatches in the submarine, set the value of canbepicked
to False
. This has the effect of not allowing any id card to open them.
Do nothing to hatches and doors.
On each light found, set CastShadows
to False
. Improves performance of the wreck.
On each light found, set IsOn
to False
, disabling the light.