You are viewing a potentially older version of this package.
View all versions.
LethalSpeechOutput
A mod for Lethal Company that allows mod developers to provide speech output to screen readers for the blind & visually impaired
By GreenBean
Date uploaded | a month ago |
Version | 2.0.2 |
Download link | GreenBean-LethalSpeechOutput-2.0.2.zip |
Downloads | 56 |
Dependency string | GreenBean-LethalSpeechOutput-2.0.2 |
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.