Barotrauma
2,670 évaluations
Lua For Barotrauma
30
22
8
4
12
11
4
4
7
7
3
3
4
2
3
2
2
2
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Taille du fichier
Publié le
Mis à jour le
158.279 MB
28 juil. 2021 à 9h10
2 mai à 8h44
167 notes de changement ( voir )

S'abonner pour télécharger
Lua For Barotrauma

Description
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]
Discussions populaires Tout voir (31)
6
10 avr. à 2h50
unknown crash when starting server (mac)
le0twigs
4
29 mai à 13h01
Lua Mac Fix
W4MONGER
4
17 mars à 1h15
Lua For MAC
Escrima
1 807 commentaires
Echo 7 juin à 5h19 
It is already in the description...
Doctor Hammer 7 juin à 5h11 
Wish I knew what that entailed,Its probably really simple and I'm kinda stupid. Lol
Could you explain it for me or put it in the description?
Evil Factory  [créateur] 6 juin à 16h49 
do the manual installation of the server
Doctor Hammer 6 juin à 15h50 
Hey friend, can I ask you a question? We're trying to run this on a Gportal Dedicated server. How would we go about running Lua on a server machine that doesn't support workshop but we can still put the mod onto the server.
Ghost 4 juin à 5h01 
I FOUND THIS SHIT!!!
Complete global darkness (either this or with "reboot" at the end) breaks context menu
Ghost 4 juin à 4h19 
No. Some mods just PERMANENTLY deleting the context menu. Reinstalling lua fixing this but enabling one of mods (idk which) just breaks the menu again and disabling will not help. God help me.
Ghost 3 juin à 6h08 
Every time i installed the client-side lua my context menu (thing that shows near an object and show what can i do with that object) is just disappear. In fact what i do:
1) install client-side lua (don't matter how, i mean by command install_cl_lua or github);
2) creating a server;
3) starting any mission or campaign;
4) move my cursor on any object and i see the context menu;
5) playing some time;
6) no more context menu on objects;
All my friends have the menu and im not after maybe 1 round.
I installing both the client-side and server-side lua from github cuz i hosting my server, will try to remove lua and install only client-side cuz now i think the server-side only for dedicated servers.
Also pls make FAQ-discussion. Or i just didn't found this.
NordicSkald 31 mai à 14h08 
I have the same issue as aaeksandr, downloading clientside means I can no longer run multiplayer and I cannot uninstall it...
POSTACI 28 mai à 2h14 
verify game file integrity
Norf 23 mai à 19h25 
Reinstall baro