Deja-LethalTV icon

LethalTV

Host-provided videos on the ship TV, synced for everyone and sent automatically to players who don't have them. Adds a TV remote with per-player volume.

By Deja
Last updated 3 hours ago
Total downloads 8
Total rating 0 
Categories Mods Misc TV Videos
Dependency string Deja-LethalTV-1.0.0
Dependants 0 other packages depend 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
Rune580-LethalCompany_InputUtils-0.7.13 icon
Rune580-LethalCompany_InputUtils

API/Library for creating Unity InputActions with in-game re-binding support. Provides an alternative UI that allows for supporting mods to have in-game re-bindable keybinds.

Preferred version: 0.7.13

README

LethalTV

Play your own videos on the ship TV in place of the vanilla clips.

  • Only the host needs the videos. Everyone needs the mod. Players who don't have a video download it from the host automatically, over the game's own connection. Downloads are cached, so the next session starts right away.
  • Synced for everyone. The host decides what's on and everyone sees the same video at the same point. It works like live TV: videos keep playing while the TV is off, then move on to the next one.
  • Vanilla controls still work. Press E on the TV to turn it on or off, like normal.
  • TV remote (new). Use the keybinds below anywhere in the ship, or within 20 m of the TV:
Key Action
\ Power on/off
[ / ] Previous / next video (synced for everyone)
- / = Your volume down / up (only you hear the change)
' Mute (only you)

To rebind these, go to Settings → Change Keybinds.

Host setup

  1. Put your videos in Videos\LethalTV (for example C:\Users\<you>\Videos\LethalTV). The folder is created the first time you launch with the mod. To use a different folder, set VideoFolder in BepInEx/config/brant.LethalTV.cfg.
  2. Use H.264 video with AAC audio in an .mp4 for best results. .webm, .mov, .m4v, .wmv, .avi, .mpg and .ogv might also work. The log tells you if a file can't be played.
  3. Host a lobby. Videos play in file name order. Set Shuffle = true to shuffle them instead.

Smaller files reach your friends faster. 720p at a few Mbps works well. Files you add while the game is running show up the next time you host.

Config (brant.LethalTV.cfg)

Section Setting Default What it does
Host VideoFolder (Videos\LethalTV) Where your videos are
Host Shuffle false Shuffle the playlist
Host AllowClientControl true Let other players change videos
Host MaxUploadKBps 8192 Upload speed limit for sending videos (0 = no limit)
Player Volume / Muted 1.0 / false Your personal TV volume (the remote changes this)
Player RemoteRange 20 Remote range outside the ship
Player DownloadAllVideos true Download the whole playlist in the background, not just the current video
Player MaxCacheMB 8192 Size cap for downloaded videos
Player MaxVideoMB 4096 Skip any single video larger than this

Downloaded videos are stored in BepInEx/LethalTV/Cache.

Notes

  • If the host has no videos, the TV plays the vanilla clips. The volume remote still works.
  • While a video is still downloading, your TV screen stays dark. Look at the TV to see progress in its tooltip.
  • The LAN mode transport is much slower at sending files than Steam lobbies.