you can also record everything and only keep games when you pressed a specific keybind or when you got a killstreak ( it keep the entire session on the server and log the event ticks in a file ).
exec file = actually reading it synchronously from disk ( slow ). The game may freeze.
cleaner solution :
alias ds_toggle_1 "ds_record; alias ds_toggle ds_toggle_2;"
alias ds_toggle_2 "ds_stop; alias ds_toggle ds_toggle_1;"
alias ds_toggle ds_toggle_1
bind f6 ds_toggle
if you like to keep things in separated files, move every alias in a "ds_toggle.cfg" file, exec it in "autoexec" to setup the alias, then you can use the "ds_toggle" alias in your scripts.
4
u/kurokinekoneko Mar 10 '22
there is an ingame setting for that
you can also record everything and only keep games when you pressed a specific keybind or when you got a killstreak ( it keep the entire session on the server and log the event ticks in a file ).
doc : https://wiki.teamfortress.com/wiki/Help:Recording_demos
1
u/UkszRe Mar 11 '22
That's what I've done to achieve the effect I was going for.
It may be not the most optimal way of doing it but i literally learned the "alias" command just for this.
https://imgur.com/a/l5irK8Z
1
u/just_a_random_dood Mar 10 '22
You can download PREC and change the settings to use F6 I think
-1
u/UkszRe Mar 10 '22
ok guys i fiured it out