TraitorMod – Gamemode Overhaul

If you liked this item, please rate it up on Steam Workshop page.

Author: Evil Factory

Last revision: 21 Jun, 2023 at 20:09 UTC

File size: 4.93 MB

On Steam Workshop

Description:
This is a completely server-side Lua mod that aims to overhaul the MissionMode/PvP gamemodes.
– The mod has been balanced with mostly crews of 6 to 20 members.
– This mod is NOT for campaign!!!

Thanks to MassCraxx and TheDarkBatman2 for being the most active contributors.

Points

Points persist through rounds and server sessions, and can be earned through various means and lost by spending them in the pointshop or you loosing all your lives. All points are automatically translated to in game XP for talents at the start of the round. If a player dies a number of times, the player will loose a portion of their points (currently only present on the Secret gamemode).

Pointshop

All crewmates have access to the pointshop where they can buy basic resources and other things. Traitors get access to a special menu in the pointshop where they can buy things to assist in their mission, it’s also possible to buy new ships in the pointshop, but that requires you to have OverrideRespawnSub set to true in configuration file.

Death Spawn

Spectators are able to access the pointshop to spawn themselves as creatures.

Ghost Roles

Ghost Roles allow spectators to take control of specific NPCs that spawn in the round, such as pirates or ruin guardians.

Gamemodes
Secret

The Traitor Gamemode.
– Chosen in the Sandbox and MissionMode gamemodes.
– Traitors are chosen at the beginning of the round.
– Each crewmember has various tasks with a common goal of completing the mission and surviving.
– Crewmembers gain lives if they manage to reach the outpost and end the round.
– Random events may be randomly triggered or triggered by traitors to spice up the round.

Traitor

Crew Traitor: Tasked in assassinating the crew one by one, with various side objectives, such as poisoning the captain with sufforin, kidnapping a crewmember a stealing the captain’s ID.
Cultist: Tasked in husking crewmembers which once turned, will be given full control to cause chaos on the ship.
Clown: Tasked in stealing id cards from crewmates, with other side objectives, such as drunking crewmembers.
– Traitors when chosen are able to choose their traitor class, and each traitor class grants them access to different items that can be purchased in the pointshop.

Random Events

Random events will randomly trigger through the round, depending on the intensity of the round.
Some random events that may trigger are:
Prisoner: A prisoner spawns on the ship (that can ghostroled) and the crew is tasked to transport it alive to the station for a reward.
WreckPirate/BeaconPirate: A dangerous pirate (that can be ghostroled) spawns in a wreck or beacon and the crew is tasked to kill them for a reward.
SuperBallastFlora: All pumps are infected with ballast flora.
MedicalDelivery, AmmoDelivery, MaintenanceToolsDelivery: Tools are delivered in a crate to assist the crew.
EmergencyTeam: 4 bots come from the airlock to assist the ship in repairs.
LightsOff: All lights are turned off but the power remains online.
CommunicationsOffline: Radio communication is cut off for a limited amount of time.
and more, some random events can be triggered by traitors.

PvP

The usual Barotrauma Sub vs Sub gamemode.
– Chosen in the PvP Gamemode.
– Winning team gets a reward of points on win.
– All Id Cards are set so they can unlock any door.
– An invincible sonar beacon is spawned on each sub to make finding each other easier.
– Teams are able to talk with each other through radio.
– Explosive Coilgun Ammo and Nuclear Shells are removed.

AttackDefend

A gamemode where one team has to blow up the reactor of the other team and the other team needs to defend for a limited amount of time.
Can only be selected if a submarine that supports it is picked, that’s determined by the submarine description. Take a look at this submarine for an example https://steamcommunity.com/sharedfiles/filedetails/?id=2979495769

Configuration

A key part of this mod is that it’s highly configurable, each feature can be toggled off or modified easily.
Go to %LocalAppData%Daedalic Entertainment GmbHBarotraumaWorkshopModsInstalled2991693145Luaconfig and open the following files: baseconfig.lua and config.lua. baseconfig.lua is the default configuration of the mod and will be wiped each time a new update is released, while you can edit it directly, it’s not recommend since it will reset when you update the mod. config.lua adds your configs on top of the original baseconfig.lua, allowing you to modify any configurations without having fear of loosing it.

Commands

You can use the !help, !helptraitor and !helpadmin commands on text chat to see which commands can be used.

Translations

The mod is able to be almost fully translated (some parts of it are still missing translation keys), you can access the translation files by going to Lua/language/ and making a copy of english.lua, and then including it on your config file.
Currently there’s only two translations by default:
English and Russian.

Download
Required items:

Click the title to search on this site.


Lua For BarotraumaSteam Workshop