LethalSpeechOutput
A mod for Lethal Company that allows mod developers to provide speech output to screen readers for the blind & visually impaired
By GreenBean
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
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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 toTRUE
to log all speech output, regardless of whether a screen reader is opened or not. Useful for debugging without having a screen reader installed.