Bot for source engine games with a lot of commands:
- Play music from youtube, mp3, wav
- Get the weather in real time.
- Play tts messages
- And much more!
- Install python3 and python-virtualenv
- Create a virtualenv:
python3 -m venv venv
- Activate the virtualenv:
. venv/bin/activate
- Install all dependencies:
pip install -r requirements.txt
- Install torchlight:
pip install -e .
Adapt the files in the config folder.
You need to have SourceTV enabled and use the vaudio_celt voice codec:
cstrike/cfg/autoexec.cfg
// Server Cvars
sv_consistency 0
sv_pure -1
// Source TV
tv_allow_camera_man 0
tv_autorecord 0
tv_delay 0
tv_enable 1
tv_maxclients 16
tv_maxrate 0
tv_name "TorchTV"
tv_transmitall 1
tv_chattimelimit 1
sv_voicecodec "vaudio_celt"
map de_dust2
Don't put +map
into your startup cmdline.
torchlight
You can find more information about available commands with
torchlight --help
version: '3.7'
services:
torchlight:
image: ghcr.io/srcdslab/torchlight:master
container_name: torchlight
ports:
- 27115:27115
network_mode: host
volumes:
- /my/path/to/sounds:/app/sounds
- /my/path/to/config:/app/config