TF2MicSpamAssistanceScript
The script I use for microphone radio in Team Fortress 2
Install / Use
/learn @Niterux/TF2MicSpamAssistanceScriptREADME
TF2MicSpamAssistanceScript
This script works by using client RCON and reading the game console as well as interfacing with VLC Media Player using HTTP, this script is VAC free. It works using the same methods as Pazer's TF2 Bot Detector to interface with TF2 and does not do anything dangerous like injecting or hijacking.
Dependencies
-
Deno
-
VLC Media Player
-
Team Fortress 2
-
npm rcon-srcds
-
npm fast-xml-parser
-
npm html-entities
Instruction
-
Running
deno installcommand in the script directory will install the needed NPM dependencies -
Use VB-CABLE to pipe audio to TF2
-
Demo support will be enabled for all servers in TF2
-
Please configure all paths and launch options in the config.toml file
-
Please remove any TF2 mods you have that may overwrite con_logfile (Some huds may do this, mastercomfig does not do this)
-
I have used Mp3tag to set artist and title metadata
-
I recommend using VLC's built in filters to apply range compression to the audio, low audio volumes sound very bad with Steam's voice, also using the equalizer can mitigate compression artifacts
Binds
You can bind these TF2 commands to keys or just type them into the console to control VLC from within TF2:
- VLCPAUSE
- VLCNEXT
- VLCPLAY
- VLCINFO
VLC HTTP reference https://github.com/videolan/vlc/blob/master/share/lua/http/requests/README.txt
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
