Raised This Month: $202 Target: $400
 50% 

tv_record custom demoname


Post New Thread Reply   
 
Thread Tools Display Modes
Author
otstrel
SourceMod Donor
Join Date: Aug 2004
Plugin ID:
929
Plugin Version:
0.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows to customize tv_record demo name with current date/time and map name
    Old 06-15-2009 , 03:30   tv_record custom demoname
    Reply With Quote #1

    This simple plugin allows server admin to customize tv_record demo name with the current date/time and map name.

    Demo name format is configured with the sm_tvrecord_format which is formatting string for FormatTime function (look here for date/time formatting options) enhanced with %map and %name placeholders which are expanded with current map name and demo name supplied by user.

    Default formatting string is "%Y%m%d-%H%M-%map-%name". With the "tv_record test" command it starts demo recording with the name similar to "20090615-1048-de_dust-test.dem".

    TODO
    - overwrite protection
    Attached Files
    File Type: sp Get Plugin or Get Source (tvrecord.sp - 2142 views - 1.2 KB)
    __________________
    don't shoot the lamer, he's doing the best he can

    Last edited by otstrel; 08-03-2009 at 02:02.
    otstrel is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-31-2009 , 20:26   Re: tv_record custom demoname
    Reply With Quote #2

    Fill out description fields please.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 08-02-2009 , 15:19   Re: tv_record custom demoname
    Reply With Quote #3

    This plugin looks good. Please edit your post and fill out the appropriate fields as Antithasys said, and we'll approve the plugin for you.
    bl4nk is offline
    otstrel
    SourceMod Donor
    Join Date: Aug 2004
    Old 08-03-2009 , 02:03   Re: tv_record custom demoname
    Reply With Quote #4

    Done, thanks for reminder, guys!
    __________________
    don't shoot the lamer, he's doing the best he can
    otstrel is offline
    saulstari
    Member
    Join Date: Jan 2006
    Old 06-09-2010 , 09:24   Re: tv_record custom demoname
    Reply With Quote #5

    can this record to a "demos" folder?
    saulstari is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 06-09-2010 , 10:18   Re: tv_record custom demoname
    Reply With Quote #6

    Quote:
    Originally Posted by saulstari View Post
    can this record to a "demos" folder?
    Yes if you start record manually using tv_record command

    First create empty folder demo in game root (example counter strike ...cstrike/demo)
    Then using rcon
    rcon tv_record demo\demoname

    I think if you are using tv_autorecord 1 on server what start record demos all the time after map changes.
    It doesn't work, it will automatically record demos in game root.
    Bacardi is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:13.


    Powered by vBulletin®
    Copyright ©2000 - 2021, vBulletin Solutions, Inc.
    Theme made by Freecode