Hi. I want to present you my client plugin for TF2 which starts recording PoV demos when tournament mode starts (both team set Ready flag) and stops recording when game ends.
Also this plugin monitors your kill streaks and saves time of them to KillStreaks.txt file if you make massive kills withour dying. Use console variable prec_min_streak to set minimum kill streaks to record.
Set variable prec_notify to 1 if you want to show team message when recording starts and ends or when you set bookmarks.
Bookmarks? Yes, bookmarks! You can set anytime a bookmark if you made a nice kill or some funny moment and bookmark will be saved to KillStreaks.txt. Just bind command prec_mark to some key in your config. For example: bind j "prec_mark".
To install plugin just copy archive contents to your "steamapps\%yoursteamusername%\team fortress 2" folder. If you want to post link to this plugin on other sites please don't use direct link to plugin archive but use link to download page.
This plugin was tested by my teammates recently but remember: this plugin is in beta version so there could be some bugs. Feel free to post any suggestions, bugreports or feedback.
Sounds extremely useful. I believe Valve's policy is that they don't want plugins that confer advantages to players; but I don't think this does anything that would upset them- it is just recording demos, after all.
really interesting idea, however the bookmark records the time you had made it (as in real world time) and not the time in the demo or the time in the game.
haven't tried the kill streak function yet however i imagine it has the same problem. the auto-recording of demos is still awesome however.
But when people have the intention of making a frag video out of match play/pugging/scrimming, it doesn't help to have an hour long stalemate demo with good streaks few and far between. And I don't really know shit, but I assume with a bit of tweaking you could bookmark specific life demos in the text file, which would make the process even easier.
#13 "Bookmarks? Yes, bookmarks! You can set anytime a bookmark if you made a nice kill or some funny moment and bookmark will be saved to KillStreaks.txt. Just bind command prec_mark to some key in your config. For example: bind j "prec_mark"."
The console command to display a notifaction in team chat "prec_notify" is actually spelled "prec_nofity" if you bring up the console. Typing in prec_notify gets an unknown command message.
Another thing. I was playing last night and we ended up not finishing a scrim. The map was changed and since I was still recording, it made a new demo file named 2009_09_27_02-09_2.dem, which is just adding a _2 to the former demo file. I realize this is what TF2 does when you're still recording and the map changes, but the filename becomes completely worthless when you're looking up times since it's using the last filename's time. It seems like this just continued into the night and was overriding any PREC recording going on, because I have a _3, a _4, and a _5 of that same time. If possible you might want to stop demo recording either at the beginning of a map, or at the beginning of a map change.
I have a suggestion, let me know what you think. One thing I'd want to know for each demo is who I was playing with and against. People may only want to use killstreaks that were on teams of a certain caliber, and maybe only when they were playing with their team. A status log at the beginning of the recording of killstreaks for any new time and date would be incredibly helpful in sifting through demos at the end of the day.
also what would be nice would be if it could search through all the players name, and extract a common string if there is one which would more than likey be the clan tag, then put that in the demo name. shouldn't be too hard to implement, would result in useless names for demos of mixes but who cares about them anway
version 1.1 is out [ADD] Approximate tick of spawn before kill streak logs in KillStreaks.txt. [ADD] Custom names support. Set cvar prec_next_demoname before starting record. [ADD] Cvar prec_mode: 0 – turn off addon; 1 – record only custom named demos; 2 – record all demos (with mp_tournament 1). [ADD] Autosaving addon’s cvars to config. Please delete old cvars values in your autoexec.cfg. [ADD] Plugin messages to console. [FIX] Now plugin correctly stops recording after changelevel. [FIX] Renamed cvar prec_noFity to prec_notify. [FIX] Changed message to chat when adding bookmark.
I'd love to have the map in the demo name. If it's not possible to pull the map info from the game, maybe have a prec_set_map or something? I'm loving the plugin though; great work!
Whenever I play demos recorded with this plugin, they go at twice(or more) the speed. The slider in the demoui doesn't work and I can't find a way around this.
Demos downloaded from gotfrag and ones I had before I installed work fine.
Just a heads up, this also triggers if you are spectating a match and the tourney mode goes live. I'm not sure if you want to keep this or not, but it doesn't seem all that useful. Happened when I was admin-ing a tourney at a LAN this weekend and both teams readied up.
Nice plugin, though I had one question. Is there any way to change the notifications from team chats to something that would spam teammates a bit less (esp in the case that multiple people are running it), say like "developer 1; wait 10; echo Recording/Bookmark/etc; wait 10; developer 0"
my point is more can he do something to that effect, not can he do that exactly. It's a plugin, I'm sure he doesn't have to implement it in precisely that way. Sounds like he mentioned would be good.
a few messages in team chat is hardly a huge issue. What would be sick is if the plugin made a little input box popup so when both teams ready up you have five seconds to type in your demoname
alias record_cevo "say_team CEVO Match; prec_next_demoname cevo-" alias record_esea "say_team ESEA Match; prec_next_demoname esea-" alias record_twl "say_team TWL Match; prec_next_demoname twl-" alias record_ugc "say_team UGC Match; prec_next_demoname ugc-" alias record_none "say_team no match; prec_next_demoname"
alias prec "echo In case you forget and dont want to spam;echo ====================;echo;echo ins....cevo-;echo del....esea-;echo home...twl-;echo end....ugc-;echo pgup...none;echo;echo prec_next_demoname;echo ====================; "
I can't get this to work :(. I put the commands in autoexec. But, the console says unrecognized command for all commands that start with 'prec'. I also copied the prec.dll and the prec.vdf file to "..steamapps\username\team fortress 2\addons"
this doesnt seem to work for me. I had it in the tf folder, and it doesnt work, i noticed you said in your original post to put it in the teamfortress2 folder, so im gonna try that. What works and what doesnt???!?!?!
Oh, and i'm not an admin on my computer, could it possibly be blocking the dll file?
PoV-Record - plugin for aut
set Ready flag) and stops recording when game ends.
Also this plugin monitors your kill streaks and saves time of them to KillStreaks.txt file if you make massive kills withour
dying.
Use console variable prec_min_streak to set minimum kill streaks to record.
Set variable prec_notify to 1 if you want to show team message when recording starts and ends or when you set bookmarks.
Bookmarks? Yes, bookmarks! You can set anytime a bookmark if you made a nice kill or some funny moment and bookmark will be
saved to KillStreaks.txt. Just bind command prec_mark to some key in your config. For example: bind j "prec_mark".
Download plugin here: http://orangad.com.ua/downloads/?did=1
To install plugin just copy archive contents to your "steamapps\%yoursteamusername%\team fortress 2" folder.
If you want to post link to this plugin on other sites please don't use direct link to plugin archive but use link to
download page.
This plugin was tested by my teammates recently but remember: this plugin is in beta version so there could be some bugs.
Feel free to post any suggestions, bugreports or feedback.
ETF2L topic http://etf2l.org/forum/community/topic-6647/
Sorry for all the questions, I'm just a huge noob with client-side plugins and would like to know more. :)
haven't tried the kill streak function yet however i imagine it has the same problem. the auto-recording of demos is still awesome however.
idk if it's needed. when playing PCW or Leage match it's better record full game.
record on a life by life is perfect for pub game.
saved to KillStreaks.txt. Just bind command prec_mark to some key in your config. For example: bind j "prec_mark"."
:s
Another thing. I was playing last night and we ended up not finishing a scrim. The map was changed and since I was still recording, it made a new demo file named 2009_09_27_02-09_2.dem, which is just adding a _2 to the former demo file. I realize this is what TF2 does when you're still recording and the map changes, but the filename becomes completely worthless when you're looking up times since it's using the last filename's time. It seems like this just continued into the night and was overriding any PREC recording going on, because I have a _3, a _4, and a _5 of that same time. If possible you might want to stop demo recording either at the beginning of a map, or at the beginning of a map change.
it's will be fixed in new release
Don't make funna him.
<b>Updated Blog</b>
also what would be nice would be if it could search through all the players name, and extract a common string if there is one which would more than likey be the clan tag, then put that in the demo name. shouldn't be too hard to implement, would result in useless names for demos of mixes but who cares about them anway
idk how to hook console output.
engine interface (what i using now) doesn't support's it.
lol :D
version 1.1 is out
[ADD] Approximate tick of spawn before kill streak logs in KillStreaks.txt.
[ADD] Custom names support. Set cvar prec_next_demoname before starting record.
[ADD] Cvar prec_mode: 0 – turn off addon;
1 – record only custom named demos;
2 – record all demos (with mp_tournament 1).
[ADD] Autosaving addon’s cvars to config. Please delete old cvars values in your autoexec.cfg.
[ADD] Plugin messages to console.
[FIX] Now plugin correctly stops recording after changelevel.
[FIX] Renamed cvar prec_noFity to prec_notify.
[FIX] Changed message to chat when adding bookmark.
http://orangad.com.ua/
Getting player information is easy:
player_info_t pinfo;
g_pEngine->GetPlayerInfo(g_pEngine-> GetLocalPlayer(), &pinfo);
pinfo.name;
Demos downloaded from gotfrag and ones I had before I installed work fine.
Any ideas?
mb we will hear some HW guy song's :)
u can set cvar prec_next_demoname 5-10 minutes before record.
I tried to download this and it says I needed to be logged in in order to download???
Looking forward to trying this out
C:\Program Files\Steam\steamapps\<username>\team fortress 2\tf\addons
Oh, and i'm not an admin on my computer, could it possibly be blocking the dll file?
More Pages
Submit Comments
Registered Users Only
In order to post comments, you must be a registered member. If you have not registered, it's free and easy!