Addon Details

Watch - Add Favorite


8
w00ts
w00t!2

CS:Source Demo Record - v.1.03 - by Chun

posted on 2006-09-20 14:40:47
by Chun


Tags: admin css menu

Description

[b][size=18]CS:Source Demo Record - v.1.03 - by Chun[/size][/b] Demo Record is an extremely powerful server demo recorder and manager, that lets the user achieve a multitude of things quickly and easily, including logging demos, easily naming and inserting variables such as the time, the playercount and the map into the demo name, and recording demos for a specified amount of time. [b]You can: - Easily enable SourceTV - Only allow certain admins to record demos - Record demos quickly and easily, for an exact time, in minutes - Include variables in the demo name such as player count, time and map - Do all of the above via pre defined config, or on the fly - Log recorded demos, and be warned if a demo is going to be overwritten - View details of recorded demos in game Features: - Dynamic Menus - Easy Menu Control - Constantly available demo status window[/b] Requires: [url=http://forums.mattie.info/cs/forums/viewtopic.php?t=8322]ES: 1.21[/url] [url=http://www.bluesuncorp.co.uk/es/demo_record_1.03.zip][size=15][b][color=red]>DOWNLOAD .ZIP[/color][/b][/size][/url] [url=http://www.bluesuncorp.co.uk/es/demo_record_1.03.rar][size=15][b][color=red]>DOWNLOAD .RAR[/color][/b][/size][/url] The admin types "!rec Chun" into chat[/b] [b]Except they are not an admin, and they are met with this:[/b] [img]http://www.bluesuncorp.co.uk/es/1.jpg[/img] [b]Alternately, SourceTV is inactive:[/b] [img]http://www.bluesuncorp.co.uk/es/2.jpg[/img] [b]Or another admin could already be using the menu:[/b] [img]http://www.bluesuncorp.co.uk/es/3.jpg[/img] [b]Or they may have forgotten to define any demo formats, or included a name after the !rec command:[/b] Note that there are example formats included by default, so this should rarely be a problem. [img]http://www.bluesuncorp.co.uk/es/4.jpg[/img] [b]If they have set the demo to auto record, but want a countdown before the demo starts:[/b] Note that this counter does count down in real time, and selecting any of the options stops the timer: [img]http://www.bluesuncorp.co.uk/es/5.jpg[/img] [b]The name choice window:[/b] Note the '9' option. This will always be the commandstring (the bit typed after the "!rec" command). If you didn't type anything afterwards, the option won't be there. What does the config file look like for these options? [code]rec_format_1 "Clanwar $MAP" rec_format_2 "Demo: $XDAY $HOUR:$MIN" rec_format_3 "Annual tourney $YEAR" rec_format_4 "$INFO - hacker demo" rec_format_5 "$XMAP - $PLAYERS players"[/code] Note that $INFO is whatever you typed after !rec. You can even include the documented variables in what you type! Say you were to type: !rec Chun owns $PLAYERS players You would get "Chun owns 7 players.dem" as one of the options. [img]http://www.bluesuncorp.co.uk/es/6.jpg[/img] [b]The time choice window:[/b] Again, this can be turned on and off, but is always accessible through the timer window - if the timer window is enabled. There's a config option for a set record time, too - but if the time menu is enabled it will still appear. [img]http://www.bluesuncorp.co.uk/es/7.jpg[/img] [b]Got logging enabled? You never need worry about overwriting a demo accidentally again:[/b] [img]http://www.bluesuncorp.co.uk/es/8.jpg[/img] [b]The output from the log file (accessible via the 'show details' option in the previous image):[/b] Note that the log file is also saved in cstrike/addons/eventscripts/rec. There's an example below. [img]http://www.bluesuncorp.co.uk/es/9.jpg[/img] [b]When the demo starts recording:[/b] [img]http://www.bluesuncorp.co.uk/es/10.jpg[/img] [b]The status window you see when you type !rec when a demo is recording:[/b] [img]http://www.bluesuncorp.co.uk/es/11.jpg[/img] [b]And when you stop the demo:[/b] [img]http://www.bluesuncorp.co.uk/es/12.jpg[/img] If logging is enabled, you get a file like this in cstrike/addons/eventscripts/rec: [code]"Chun.dem" { "demo started by" { "name" "Chun" "steamid" "STEAM_0:1:4973132" } "Demo Stopped By" { "name" "Chun" "steamid" "STEAM_0:1:4973132" } "Demo Details" { "name" "Chun.dem" "started" "20.09.2006 - 17:40:00" "stopped" "20.09.2006 - 17:56:49" "duration" "16 minutes" } }[/code] Here's a snippet from the config file, with all of the possible variables you can include in the demo name and some examples of each. These can either be placed in predefined name 'formats', or even inserted into what you type after !rec: [code]// $VARIABLE - DESCRIPTION - EXAMPLE // // $INFO - User defined !rec command string - hello-world // $MAP - Named map on server - de_dust2 // $XMAP - Named map on server without prefix - office // $PLAYERS - Numerical player count of server - 8 // $YEAR - Numerical year - 2007 // $XYEAR - Numerical year in two digit form - 07 // $MONTH - Numerical month - 08 // $XMONTH - Named month - August // $DAY - Numerical day - 14 // $NDAY - Numerical day with suffix - 17th // $XDAY - Named day - Tuesday // $HOUR - Numerical hour - 13 // $MIN - Numerical minute - 47 // $SEC - Numerical second - 21 // // //** Some examples of demo name formats: // // rec_format_1 "Clanwar - $HOUR:$MIN:$SEC - $MAP" // // "Clanwar - 18:53:23 - de_dust2.dem" // // rec_format_2 "$XMAP-war: $NDAY-$DAY-$XMONTH" // // "office-war: Thursday-3rd-September.dem"[/code] If you delete a demo file from the cstrike folder, don't forget to delete the log file from cstrike/addons/eventscripts/rec too! There's a load of stuff I haven't mentioned, but this post is becoming very long. It's all mentioned in the config file - so please try this and have fun! Enjoy! [b]::Changelog::[/b] 20.09.06 - v.1.00 - Released 21.09.06 - v.1.01 - Timer function improved - now much more accurate in recording time and stopping demo on time. 26.09.06 - v.1.02 - Numerous small bug fixes 21.11.06 - v.1.03 - Fixed timed recordings - these should now work flawlessly.