periapt
Account Details
SteamID64 76561198045371389
SteamID3 [U:1:85105661]
SteamID32 STEAM_0:1:42552830
Country Pirate
Signed Up November 26, 2017
Last Posted May 31, 2019 at 3:08 PM
Posts 26 (0 per day)
Game Settings
In-game Sensitivity
Windows Sensitivity
Raw Input 1
DPI
 
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
1 2
#4 Demo Support ds_prefix on any map in Customization

actually, I'm not sure scanning peoples tf/custom and tf/cfg for map configs is a good idea. I doubt many people have enough of those to justify automating it. the approach i'm thinking of is:
1. you use the script
2. you manually delete the generated configs for maps you already have a config of
3. you append ds_prefix "mapname_" to those map configs manually

posted about 3 years ago
#3 Demo Support ds_prefix on any map in Customization
Wiethoofdetc

Right now I'm having an issue where my registry has TF2 in drive E:/, while it's actually in drive C:/. I think I moved the game folder manually at one point.
Maybe it would be best to run the script from the base TF2 folder as a baseline instead of checking the registry?

your other suggestions are pretty good also

posted about 3 years ago
#1 Demo Support ds_prefix on any map in Customization

After switching to valve's alternative to P-REC, my demos looked like this:

https://i.imgur.com/qcH2wol.png

The thing I missed the most from P-REC was being able to tell what map the demo was on, at the very least

To fix this, I wrote a short script you can run on your tf/custom folder, and it'll generate a config for every map you have there.
For example, it'll see you have arena_byre.bsp, and write an arena_byre.cfg:

ds_prefix "arena_byre_"

With this, you don't only get a date and time on the filename,

https://i.imgur.com/1nyyYO3.png

https://i.imgur.com/XxqI0ml.png

you also get the map name.

Here's the script: github.com
Linux version: github.com

To use this , open this link (linux version), press Ctrl+S on your keyboard, and save this file to your tf/custom folder, then go there and double click the script.
It'll create a new folder in tf/maps named "map_cfg". Move this folder to tf_custom.
*EDIT*
I've compiled one of these for official maps only: MEGA download (22KB)

This folder has a cfg folder with a config named after every map in your maps folder. When you enter a map in TF2, the game tries to run a config named after the map, so we generate one of those for every map you have. This will obviously conflict with any other mapname.cfg files you might already have (why?)
Another issue is you will have to either manually add new map scripts or run the script again for every new map you play on.

This is a batch script so I think windows might freak out and tell you it's a virus or something.
Any feedback is appreciated

If you use this, make sure to have ds_prefix "" somewhere on your autoexec
otherwise, if you join a new map, it'll save the demo with the prefix for the last map you played on.

*EDIT* The script now also checks for maps in tf/download/maps and places the files in a folder in tf/custom
*EDIT* linux version
*EDIT* warning about playing on new maps

(25/04/2019) Update: I stopped using this and the links here are dead. If you want the scripts they're under the spoilers below:

gen_map_cfgs.bat

Show Content
:: gen_map_cfgs.bat
:: run from the top of your TF2 custom folder
:: eg. C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom

setlocal enabledelayedexpansion

set "tf2_custom=%~dp0"
set "tf2_maps=%~dp0..\maps\"
set "tf2_custom_maps=%~dp0..\download\maps\"

:: move to tf2 maps folder
cd %tf2_maps%

:: make a folder in which we'll store the cfgs
rmdir map_cfg /S /Q
mkdir map_cfg
mkdir map_cfg\cfg

:: iterate over maps
for %%i in ("*.bsp") do (
set o_name=%%i
:: remove the last 4 characters (file extension)
set _name=!o_name:~0,-4!
:: echo the command into the config
echo ds_prefix "!_name!_" > .\map_cfg\cfg\!_name!.cfg
)

:: move map_cfg to tf/download/maps
move "map_cfg" "%tf2_custom_maps%"
:: and follow it
cd %tf2_custom_maps%

:: iterate over maps again
for %%i in ("*.bsp") do (
set o_name=%%i
set _name=!o_name:~0,-4!
echo ds_prefix "!_name!_" > .\map_cfg\cfg\!_name!.cfg
)

:: finally, move the map_cfg to tf/custom
move "map_cfg" "%tf2_custom%"

gen_map_cfgs.sh

Show Content
#!/usr/bin/env bash
# gen_map_cfgs.sh
# run from the top of your TF2 custom folder
# eg. C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom

# we start from TF2/tf/custom

# make a folder for the cfgs
rm -r map_cfg
mkdir map_cfg
mkdir map_cfg/cfg

# move to tf/maps
cd ./../maps

# iterate over maps
for i in *.bsp; do
# break if there's not a single file here (???)
[ -f "$i" ] || break
# remove last 4 characters (file extension)
a=${i::-4}
# echo command into config in map_cfg
echo "ds_prefix \""$a"_\"" > ./../custom/map_cfg/cfg/$a.cfg
done

# move to tf/download/maps
cd ./../download/maps

# iterate again
for i in *.bsp; do
[ -f "$i" ] || break
a=${i::-4}
# this time we go up two directories
echo "ds_prefix \""$a"_\"" > ./../../custom/map_cfg/cfg/$a.cfg
done

# return to starting folder
cd ./../../custom
posted about 3 years ago
#177 No explosion smoke script in Customization

recent finding that might be worthwhile to someone who understands this better than me:
changing "ProjectileType" in tf_weapon_particle_cannon.txt from "projectile_energy_ball" to "projectile_rocket" seems to fix the nosmoke mod (ie no massive blast particle) but breaks the weapon. moreover it does not work in casual mode (even though it seemed to work on an sv_pure 2 listen server).

the weapon behaved exactly like a rocket launcher with this change, except it did not need ammo, and still had the alt attack, except this attack just fired a regular rocket after charging.

"ProjectileType"  	"projectile_rocket" // ORIGINALLY projectile_energy_ball
posted about 3 years ago
#176 No explosion smoke script in Customization
anasmalanosit dont work i made the file but ingame it dont work.Where do i put the file next?

you place it in

/Team Fortress 2/tf/custom/nosmoke/scripts/

all the text files in the downloads go there.
ie:

http://puu.sh/yBn01/f4ad78108b.png

posted about 3 years ago
#36 FACEIT Hub Discussion in TF2 General Discussion
Maxi-sombrezMumble requires you to have a server which costs money
http://cleanvoice.ru/free/mumble/en.html

???

even if this weren't around faceit can just host their own appropriately sized mumble servers https://github.com/mumble-voip/mumble

also probably not a good idea to rely on someone else's free hosting

posted about 3 years ago
#32 FACEIT Hub Discussion in TF2 General Discussion

maybe a choice between faceit-hosted mumble and ingame voice? ideally tf2 would have per-user volume functionality but since it doesn't...

posted about 3 years ago
#31 FACEIT Hub Discussion in TF2 General Discussion
sombrezMumble requires you to have a server which costs money, and Discord's servers go down from time to time.

discord does go down once in a while. you cannot host your own discord servers, and depending on discord for the faceit hubs is probably not a good idea. faceit can definitely afford to host mumble servers in the same fashion as tf2center, so i suppose that's the better way to go about it

posted about 3 years ago
#24 FACEIT Hub Discussion in TF2 General Discussion
daybraekdiscord delay is longer than mumble delay, depending on ping and server location

they both use the same codec, are you sure that's not placebo

posted about 3 years ago
#15 FACEIT Hub Discussion in TF2 General Discussion
aurahunskilledit's accepted that switching to mumble later on is usually necessary since the vast majority of high level teams use it, so for this reason i think it's good to get new puggers used to the programdam, didn't realise that mumble elitism was a thing

i'm of the opinion that if these faceit hubs are supposed to be quick to queue into, it would be best to require use of ingame voice. past experience with mumble was wonky at best, as good as it may be to experienced users, and it's not hard to edit voice_enable 1 into your config
edit: furthermore if you go into faceit with a full-stack team (ie on higher levels or whatever) while on whatever voip you choose to use, there's no issue

posted about 3 years ago
#10 FACEIT Hub Discussion in TF2 General Discussion

new player here, will these FACEIT hubs require their "supporter" paid subscription?

posted about 3 years ago
1 2