Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Cyclic Demo Recording - A Config Script for Team Fortress 2.

A cyclic demo recording script with ten 'slots' and a warning system.

This script, put very basically, is a demo recorder script. Pressing F6 will begin recording, and pressing it a second time will end it. When I originally created this, it only had one file to record and save to. The difficulty with the way this was setup was that, if during a match I had more than one "amazing moment" (yeah, go on... Have a laugh at my expense) I would only be able to record it by erasing the previous one. Which was a shame. So what I added was another nine 'slots' to the script. Everything at the core still operates in the same way, the difference is that you will create a '.dem' file call "demo_01", then the next time it will be called "demo_02"; thus saving multiple recordings that can be edited later. As a matter of neatness (is that a word?) I've added to the script a sort of "header" to each part of the recording". What you will see in the console is a message that tells you what 'slot' you are in, followed by a line and then the automated messages that inform you of the recording process. The final part I should probably add is the 'warning system'. No unless you're using developer mode and console filtering you're not going to be able to casually see this, but I think it's a good system in case you decide to add more/remove rotations. When the script reaches the final section, it will automatically pop a message in the console informing you that you will be overwriting previous files if you continue.
History

9th June 2009:
  • First version, created a single slot that was on a rotation.
10th June 2009:
  • Finished the basic script (now removed from the site).
  • Added the other 9 slots.
11th June 2009:
  • Added the warning system.

  • Shakerocket avatar
    Shakerocket Joined 11y ago
    Offline
    255 points Ranked 76,835th
    11y
    Wait, What about voice_loopback 1?
    Sound Modder.
    URL to post:
  • Alex(); avatar
    Alex(); Joined 13y ago
    Offline
    135 points Ranked 100,459th
    13y
    Posted by DARK.# Great Script, been using it for awhile now and love how easy it is to use.
    Thanks :). Glad someone enjoys it (y). Haven't been able to come up with a solution for what noser wanted, but I'm still thinking :P. If you notice anything wrong with it, or you have any suggestions, feel free to shout them at me :).
    So... Much... Sarcasm... avatar
    Mantra
    So... Much... Sarcasm...
    URL to post:
  • DARK.# avatar
    DARK.# Joined 13y ago
    Offline
    411 points Ranked 63,459th
    6 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    13y
    Great Script, been using it for awhile now and love how easy it is to use.
    Bananite
    URL to post:
  • Alex(); avatar
    Alex(); Joined 13y ago
    Offline
    135 points Ranked 100,459th
    13y
    Posted by noser Is it possible to make a script, or edit the config, so everytime I join a server, it will automatically record a demo, with the file-name being either "map""#".dem, eg badwater004.dem, or "date".dem, eg. 12-06-09.dem?
    I am currently unaware on how to do that. I've already had the thought about having it auto-name it to the date, but your's is a better idea. I'm still working on it and if I can do as you've suggest, you'll be the first to know :P.
    So... Much... Sarcasm... avatar
    Mantra
    So... Much... Sarcasm...
    URL to post:
  • noser avatar
    noser Joined 14y ago
    Offline
    304 points Ranked 71,510th
    13y
    Oh okay, I was hoping this is what it was! I previously thought i was being clever in binding "i" to "record 1", thinking it would continue recoridng 1,1-001,1-002, or something. But it doesn't. Is it possible to make a script, or edit the config, so everytime I join a server, it will automatically record a demo, with the file-name being either "map""#".dem, eg badwater004.dem, or "date".dem, eg. 12-06-09.dem?
    The scout's mum has got it goi
    URL to post: