You are viewing a potentially older version of this package. View all versions.
HAMINPANTS-LethalVocabulary-0.2.4 icon

LethalVocabulary

A mod that makes your vocabulary a little more... lethal.

Date uploaded 2 years ago
Version 0.2.4
Download link HAMINPANTS-LethalVocabulary-0.2.4.zip
Downloads 356
Dependency string HAMINPANTS-LethalVocabulary-0.2.4

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
loaforc-VoiceRecognitionAPI-2.0.0 icon
loaforc-VoiceRecognitionAPI

Loads Windows Speech recognition into Lethal Company and provides a dev-friendly way of using it.

Preferred version: 2.0.0

README

This mod uses speech recognition to punish players who talk about an entity that is randomly selected at the start of each moon.

Punishments

  • Random - Mentioning a banned category will trigger a random punishment.
  • Inverse Teleport - Mentioning a banned category will cause you to take moderate damage, drop all your items, and be teleported to a random location in the facility.
  • Landmine Explosion - Mentioning a banned category will cause an explosion to occur at your position after a short delay. Better run!
    • The explosion will only affect the player who mentioned the banned category

Config Settings

The host's config settings will be used by all players in the lobby, including their words cand custom categories.
The following options can be changed:

  • The number of Shared Categories and Private Categories that are randomly selected at the start of each moon
    • Shared Categories are the same for all players
    • Private Categories are different for every player
  • Whether or not to display the active categories each moon
  • Trigger words for each category

Important Notes

  • This mod is still a work in progress!
  • This mod must be installed by all players (especially the host.)
  • This mod has only been tested on Windows and is likely incompatible with other operating systems.
  • This mod uses your system's default microphone, NOT your in-game mic.
  • If you want to improve the accuracy of the speech recognition, follow some of the troubleshooting tips provided by VoiceRecognitionAPI as well as this Microsoft article
  • If you encounter a bug or issue, feel free to contact me on the Lethal Company Modding Discord by creating a forum post in #support, describing your issue, and tagging me (@haminpants)
  • This mod no longer uses SpeechRecognitionAPI's speech recognition method. It is normal to get a warning saying no phrases have been loaded.
  • Version 0.2.2 should be stable and working. If an update breaks the mod and you want to continue playing, downgrade to this version. If it still doesn't work, try deleting the config file and relaunching.

Planned Features

  • More (and custom) categories
  • Alternative punishments upon using your banned word
    • Instant Ghost Girl aggro
    • Snare Flea on head
    • Spawn a temporary turret around you
  • Customizable punishment behaviour

CHANGELOG

0.3.1

  • Fixed bug where curse words category was always active, regardless of config/terminal settings
  • Changed category loading and selection implementations to allow forced, shared, and private categories to be stored separately
  • Added config options for allowing Shared and Private categories to be shown/hidden independantly
  • Updated terminal commands
  • Added license for going open-source

0.3.0

  • NEW! "vocabulary" terminal command which can be used to change game settings in orbit
    • Only the host can modify settings, regular players can use this command to see what the current settings are
  • NEW! Curse Word category
    • This category will only be enabled when the "Punish Curse Words" setting is enabled
  • General fixes and improvements

0.2.7

  • NEW! Suffocate punishment
  • Fix a small bug in the apology punishment

0.2.6

  • NEW! Apology punishment

0.2.5

  • NEW! Flash punishment
  • Changed when a moon "starts" to when the ship landing sequence has fully completed to reduce level loading lag spike and reduce conflicts with mods that display HUD tips when a moon starts
  • You can type "remind me" in chat to be reminded of the current categories

0.2.4

  • NEW! Random punishment config option (Now the default punishment type)
  • Refactored game settings sync code
  • Implemented more detailed logging

0.2.3

  • Fixed broken multiplayer category syncing
  • Implemented config setting for changing the punishment

0.2.2

  • Refactored how categories are loaded due to strange behavior likely caused by a mod incompatability

0.2.1

  • Hotfix, included the wrong asset bundle in the previous build

0.2.0

  • Complete rewrite of mod, all information in patchnotes below is no longer relevant. Refer to the main mod page or these patch notes. It is recommended to delete and regenerate the config file after updating
  • Rewrote speech recognition to use a custom speech recognition pattern, the mod no longer performs speech recognition via SpeechRecognitionAPI. (SpeechRecognitionAPI is still required)
  • Slightly improved speech recognition accuracy and greatly increased the default confidence threshold required for punishments to trigger
  • Reworked default vocabulary lists to be a little more forgiving and practical
  • Temporarily removed curse word ban option, this will be re-implemented in a later update
  • Refer to the main mod page for the features available in the current version of the game
  • Temporarily swapped out the explosion punishment to be a damaging inverse teleport

0.1.7

  • Hotfixed an error that occured when landing on the company moon
  • Implemented a way to check what your word is mid-moon by saying phrases that contain "what's"/"forgot" and "word"
    • E.g., "What's my word", "I forgot my word", "Forgot word"

0.1.6

  • Changed the speech recognition implementation which should help improve accuracy and reduce the amount of false positives
  • Due to the change, toggling curse words mid-moon no longer works, and will instead apply to the next moon

0.1.5

  • NEW! Config option to ban curse/swear words
    • Can be toggled mid-game using the chat command /lv_cursewords or /lv_cw
  • NEW! Shared Categories and Private Categories
    • Shared Categories are banned for all players
    • Private Categories are uniquely selected for each player. Some players may end up with the same private category.
    • By default, 1 Shared Category will be picked for each player
  • Wrote a new algoritm for picking categories which will only pick entities that can spawn on the current moon
  • Added some more words to the list of common words to hopefully reduce the number of false positives
  • Added config options that allow you to disable the pop-up showing the banned categories

0.1.4

  • Removed System.Speech.dll from the main mod package hopefully stop the mod from tripping the Thunderstore malware filter

0.1.3

  • Should improve explosion spawning