Git Product home page Git Product logo

traitormod's Introduction

The Traitor Mode

Evil Factory's Traitor Mod is a server-sided mod that overrides the vanilla traitor mode. If a round starts with enough players, some crew members may be selected as traitor and receive new objectives to prevent the rest of the crew from achieving their mission. The traitors are selected by a weight system, assuring that players who have not been traitors so often will be more likely to be chosen. Captains and Security Officers are always loyal to the ship and need to work together to find and restrain all traitors so the crew can complete their mission.

The Points System

Whenever a player gains a skill point, he also gains an amount of points. Traitors gain additional points by completing their objectives. Non-Traitor crew gains points by completing their missions and reaching the end of the level. Points will be persistently stored on the server and accumulate over rounds. If a player dies a number of times the amount of points will be reduced. Players can gain lives back by completing their missions. On every round half of a player's points will be given the character as experience and can be used to pick talents.

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. Spectators have access to the death spawn menu in the pointshop, where they can spawn as monsters. It's also possible to buy new ships in the pointshop, but that requires you to have OverrideRespawnSub set to true in config.lua.

Ghost Roles

Ghost Roles allows dead spectators to take control of things like pirates, and some monsters, like the watcher and the mudraptor pet.

Traitor Types

Normal Traitor

Main objectives - one of these will always be chosen

Assassination Traitors will receive a target crew member to kill. Once the target is killed a new victim will be selected from all alive crew members. Every crew member can only be targeted once. If there are no new targets left, the traitor wins.

Sub objectives - up to three of these may be chosen and can be done optionally to gain more points

Kidnapping Put a selected crewmate in handcuffs for a given time.

Poison Captain Inject the acting captain with poison. This is only available for medic traitors

Steal Captain ID Take the ID card from your acting captain and put it in your inventory.

Survive Finish at least one main objective and be alive at the end of the round. Can be set to be always active.

Husk Cultist

Main objectives - one of these will always be chosen

Husk Traitors will receive a target crew member to turn into husk. Once the target is husked a new victim will be selected from all alive crew members. Every crew member can only be targeted once. If there are no new targets left, the traitor wins.

Sub objectives - up to three of these may be chosen and can be done optionally to gain more points

Kidnapping Put a selected crewmate in handcuffs for a given time.

Turn Yourself Into Husk Turn yourself into a husk to gain a live.

Assassinate Assasinate a randomly selected crewmate.

Deconstruct Calyxanide Deconstruct an amount of Calyxanide.

Events

There is a chance that a random event fires some time during the round.

Super Ballast Flora Several ballast tanks will be infested with alien plants.

Communications Offline Will drastically reduce the range of all remote communication for the whole round.

Lights Off Will turn off all lights in the main submarine for a limited amount of time.

Hidden Pirate A weak pirate will spawn in a random pump. • Beacon Pirate

A dangerous pirate will spawn in a beacon station and the crew will be tasked to kill it for a reward in points.

Wreck Pirate A dangerous pirate will spawn in a random wreck and the crew will be tasked to kill it for a reward in points.

Abyss Help Incoming Distress Call... H---! -e-----uck i- --e abys-- W- n--d -e-- A l--her dr---e- us d--- her-. ---se -e a-e of--ring ----thing w- -ave, inclu--- our ---0 -o------

Medical Delivery A delivery of medical resources will be spawned in medbay to assist the crew.

Maintenance Tools Delivery A delivery of maintenance tools will be spawned in cargo to assist the crew.

Ammo Delivery A delivery of coilgun ammo boxes and railgun shells will be made into armoury to assist the crew.

Emergency Team A group of 4 bots consisting of mechanics and engineers will come to the submarine to help fix things.

traitormod's People

Contributors

danilanova avatar evilfactory avatar masscraxx avatar mc-oofert avatar philly-v avatar qunk1 avatar thedarkbatman2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

traitormod's Issues

Calyx Extract not working

Every time I try to infect someone with Husk through the heal menu it ends up just infecting me and shooting with the syringe gun does nothing to anyone.

Auto-ghostroles bug?

I'm not sure if this is intentional, but when a ghostrole gets automatically added by the config

config.GhostRoleConfig = {
Enabled = true,
MiscGhostRoles = {
["Watcher"] = true,
["Mudraptor_pet"] = true,
}
}

It gets a number like "watcher 1", which is so you can pick a specific ghostrole if there is multiple. However, this number stays between rounds
So a watcher could spawn, it says watcher 1.. But next round, it says watcher 2 instead of watcher 1. Doesn't make sense since "watcher 1" is gone now.

I believe this issue is causing some desync issues on my server, but I have really no clue.
Sorry if this issue is retarded

Optimizing points shop

Hello !
I was reading the code for pointsshop and i saw that each time player enters the command !pointsshop
its creating a new table for options in the menu.
I understand that pointsshop itself needs to be activated on runtime because players have different access permissions.
But I think we can create options inside of each category ( exp : security ) at init. since it seems its static and it does not change in runtime.

Submarine builder doesn't work on dedicated server?

image

For some reason, the mod isn't letting me enable it in configplayerxml. The path is correct. I don't know if the issue is on me, or if it's a traitormod issue so I just posted it here.

It only works when you set the mod to ForcedAutorun mode
All random events that use submarine builder get an Attempt to index nil error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.