Skip to content

Instantly share code, notes, and snippets.

View Avaray's full-sized avatar
🙂
Looking for work

Avaray Avaray

🙂
Looking for work
View GitHub Profile
@Avaray
Avaray / _level_sounds.txt
Last active March 19, 2018 18:33
_level_sounds.txt
@echo off
:: ouput the embeded text file to a temporary file
for /f "delims=:" %%N in ('findstr /nxl /c:"::BEGIN TEXT" "%~f0"') do (
more +%%N "%~f0" >default_level_sounds.txt
)
:: loop through jump map files, and copy the embeded text file to <filename>_level_sounds.txt
for /f %%f in ('dir /b .\jump_*.bsp') do (
copy "default_level_sounds.txt" "%%~nf_level_sounds.txt" >nul 2>&1 && echo %%~nf
@Avaray
Avaray / jump.cfg
Last active April 28, 2024 03:39
TF2 (Team Fortress 2) Jump Script with Ammo and Health Regeneration
// ----- INSTALLATION GUIDE
// 1. Copy jump.cfg file into directory:
// STEAM/steamapps/common/Team Fortress 2/tf/cfg
// or
// STEAM/steamapps/common/Team Fortress 2/tf/custom/YOUR_NICE_DIRECTORY_NAME/cfg
// 2. Launch your home (Local) server
// 3. Join to team, pick your class (Soldier? Demo? Pyro?)
// 4. Open console and type "exec jump"
// 5. Play
//