Want to preview or easily export your submarine’s .sub file as XML without leaving the game?
Submarine XML Previewer & Exporter adds a read-only XML button to the Sub Editor, allowing you to preview the XML of the currently saved .sub file and export it to a separate file.
Don't worry, this does not edit or modify your submarine data.
It just provides a convenient way to preview and export the saved XML.
Lua and C# must be enabled for this mod to work.
Want this in your language? Leave a comment below and I will add it.
(Installation Requirement)
How to enable LUA & C Sharp in Barotrauma:
- Ensure 'Lua For Barotrauma' is activated in 'MODS'
- Click on 'Host Server'
- On the 'Server Executable' drop-down menu, select 'Lua For Barotrauma - DedicatedServer'
- Click on 'Start'
- Once the lobby is created, open console by pressing F3
- Paste install_cl_lua into console and press enter
- Restart your game
- In the top left corner, click on 'Open LuaCs Settings'
- Check 'Enable CSharp Scripting'
You're done!