Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Multiplayer crew manager

Link to the sources on GitHub for anyone interested: link [github.com]

Thinking about adding MCM to your ongoing campaign? Read the thread below

Adding MCM to an ongoing campaign

Features

  • For the mod to work, the server must use the Lua executable file
  • All game clients, without exception, must be patched with client-side Lua files
  • The mod accepts commands from the chat (not from the F3 console). Mod commands start with the word 'mcm'
  • Mod works ONLY in multiplayer campaign
  • In order for players to appear in the game in the middle of a round, the administrator must enable autospawn of players: mcm client autospawn true, or spawn them manually: mcm spawn <id>. To get the player's id, type: mcm list
  • If secure mode is enabled, only administrators can freely switch between characters
  • Crew reserve feature allow you to load/unload characters at any time during the campaign. Check the details on the update notes.

Description

Got only a few friends that you want to play Barotrauma with, but the Bots make game less tolerable? Well worry no more! Kinda …

Multiplayer crew manager is a modification that makes Multiplayer Campaign play something more similar to the Singleplayer one, in terms that:

  • Directly controllable bot crew-mates (all crew members are AI controlled bots, that can be possessed by client player)
  • Crew information panel now also used to switch between crew characters by clicking on them (Full installation needed, see Client-side lua installation)
  • Server CHAT commands that allows more in-depth control of campaign (especially for server admins), just type in chat mcm or mcm help
  • Can user mcm release to spectate, or for admins mcm release <client_id> to free characters from AFK players
  • Enable secure mode if you playing with unfamiliar players to prevent them to gain control between the characters and ruin the game

To keep in mind

  • To run this mod, as every other LuaCs mod, you must select LuaForBarotrauma server executable in 'Host Server' menu.
  • ALWAYS keep your campaign files backed up
  • Be careful with new respawning mechanic, when doing a level transition. Dead bots don't respawn. Character killed count as bots if you play another character whilst your main is dead! To avoid that, look for other mods
  • Campaign most probably cannot be converted back, without manual editing (xml file), or in-game shenanigans
  • Every bot, new hire and player is saved into _CharacterData.xml
  • Respawns are turned off by default, to turn them on use: mcm respawn set true
  • Respawn interval and maxtransporttime refers to timeout on first person dead and time to arrive to main sub on respawn shuttle.
  • Secure mode is disabled by default. Use mcm secure and mcm secure true/false to check and toggle it.

Client-side lua installation

  • Install Lua For Barotrauma mod
  • In the settings mod menu enable LuaForBarotrauma.
  • In multiplayer select 'Host Server', select LuaForBarotrauma executable.
  • While in the hosting menu open the console window (most commonly F3)
  • Type in or copy, then execute the console command: install_cl_lua
  • Restart the game

Checkout my other mods

My Barotrauma workshop
Want to message me more directly? Message me on my discord[discord.gg]