Barotrauma
2,646 avaliações
Lua For Barotrauma
30
22
8
4
12
11
4
4
7
7
3
3
4
2
3
2
2
2
2
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Tamanho
Publicado em
Atualizado em
158.279 MB
28/jul./2021 às 9:10
2 de mai. às 8:44
167 notas de atualização ( ver )

Inscreva-se para baixar
Lua For Barotrauma

Descrição
Updated for the v1.4.6.0 Blood in the Water Hotfix
Consider supporting the project:

This is a Barotrauma modification that adds Lua modding, this is not a direct replacement for xml, but works great in doing things that weren't possible in xml.




Epic Gamers
Since yall don't have workshop, you will have to install the mod manually.
Refer to this guide: https://evilfactory.github.io/LuaCsForBarotrauma/lua-docs/manual/installing-lua-for-barotrauma-manually

Linux
If you are running Linux, enable Lua For Barotrauma Linux instead.

MacOS
MacOS currently requires you to manually install the mod, since I don't have a Mac to test the mod on, if you have a Mac and you want to help by testing it, feel free to contact me.
Refer to this guide: https://evilfactory.github.io/LuaCsForBarotrauma/lua-docs/manual/installing-lua-for-barotrauma-manually

Dedicated Servers
Dedicated servers require you to manually install the mod.
Refer to this guide: https://evilfactory.github.io/LuaCsForBarotrauma/lua-docs/manual/installing-lua-for-barotrauma-manually




Server-side Lua (Server Host)
Many Lua mods are server-side, meaning Lua is only required to work on the server for those mods to work, to enable the mod on the server-side simply select the Server Executable when in the hosting menu.
If you want to checkout if the mod is working properly on the server, open the debug console (F3) and run the command "reloadlua"

Note: This obviously doesn't work if you play on singleplayer, for that you will need to install Client-side Lua.



Client-side Lua
Client-side Lua is when the mod is running in your game client, many mods make use of it to either do more extensive changes to the game or to add singleplayer support.

For example Neurotrauma will work fine if you are playing multiplayer and only the server has Lua installed, but it wont work on singleplayer if you don't have Client-side Lua installed, while Movable and Sellable Wrecks (Another mod) requires both Server-side Lua and Client-side Lua to work on multiplayer, that means for this mod, everyone will need Client-side Lua installed for it to work properly. It depends on each mod, so consult the description/author of the mod to make sure.

If you want to checkout if the mod is working properly on the client, open the debug console (F3) and run the command "cl_reloadlua"

Installing Client-side Lua

  • Open hosting menu
  • Select LuaForBarotrauma in ServerExecutable and host a server
  • While hosting, open the console window (most commonly 'F3')
  • Type in or copy, then execute the console command:
    install_cl_lua
  • Restart the game
(Video if you don't understand the instructions above: https://www.youtube.com/watch?v=wEeJ70vH1TM )

Common Troubleshooting
If you are having problems with the mod, always try doing these things before seeking for help:

- Go to the Barotrauma in game workshop menu, and click the reinstall button

- Delete this folder %LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2559634234 and restart the game

- Disable and Enable the mod and try again

Nothing worked? Feel free to seek for help, but please always try to provide as much information as possible, it's hard to solve a problem without much information.







Notable Contributors
Perfidious Leaf[github.com] - Fully reworked and improved the C# loading mechanism
peelz[github.com] - Contributed a lot to the project, from fully reworking the hook system to fixing a bunch of bugs on the moonsharp repo.
oiltanker[github.com] - Contributed the initial CSharp mod loader.
zhurengong[github.com] - Provided lots of useful feedback for the mod on the early days and helped with the making of the CSharp loader.

Special thanks to all sponsors that kept and keep the project going:
Taj the King
FearTheQueer[github.com]
Ricky[github.com]
Hadrada[github.com]
Rolf Lewis[github.com]
dnova[github.com]
WjunniorW[github.com]
Amadare[github.com]
Esirprus[github.com]
The Great Coachwhip[github.com]
Perfidious Leaf[github.com]
Evergreen[github.com]
StarryCult[github.com]
Discussões populares Ver todos (30)
6
10 de abr. às 2:50
unknown crash when starting server (mac)
le0twigs
4
29 de mai. às 13:01
Lua Mac Fix
W4MONGER
4
17 de mar. às 1:15
Lua For MAC
Escrima
1.800 comentário(s)
NordicSkald 31 de mai. às 14:08 
I have the same issue as aaeksandr, downloading clientside means I can no longer run multiplayer and I cannot uninstall it...
POSTACI 28 de mai. às 2:14 
verify game file integrity
Acetango 23 de mai. às 19:25 
Reinstall baro
long chin man 23 de mai. às 1:27 
lol how do i turn this off????????? i disabled it in my mod list and ran a vanilla server. but its still top left of my screen
fantoc 20 de mai. às 16:49 
i did everything they said to do if it wont work and still
it doesnt
Evil Factory  [autor(a)] 14 de mai. às 8:25 
you can manually install client-side lua tho, doesn't require hosting
Evil Factory  [autor(a)] 14 de mai. às 8:24 
no, you cant
aaeksandr 14 de mai. às 8:23 
cuz i literally can not host servers because it instantly crashes (https://github.com/FakeFishGames/Barotrauma/discussions/13946)
aaeksandr 14 de mai. às 8:23 
can i execute "install_cl_lua" if a friend is hosting?
Evil Factory  [autor(a)] 10 de mai. às 11:10 
neurotrauma