GreenBean-LethalSpeechOutput icon

LethalSpeechOutput

A mod for Lethal Company that allows mod developers to provide speech output to screen readers for the blind & visually impaired

Last updated 4 months ago
Total downloads 430
Total rating 1 
Categories Tools Misc Client-side
Dependency string GreenBean-LethalSpeechOutput-2.0.2
Dependants 1 other package depends on this package

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

README

Lethal Speech Output

Overview

Lethal Speech Output is a straightforward and easy-to-implement mod designed to provide speech output to screen readers, helping developers make their mod accessible to blind & visually impaired players.

Usage

  • Call the SpeakText function followed by the string to be spoken.

Example:

LethalSpeechOutput.SpeakText("Great asset to the Company.");
  • ForceLogSpeech: You can set the ForceLogSpeech variable to TRUE to log all speech output, regardless of whether a screen reader is opened or not. Useful for debugging without having a screen reader installed.