*AuthorTopic: How to Record a Demo  (Read 1152 times)

Active members:
Dave(1) Cirno(1)

0 Members and 1 Guest are viewing this topic.

Dave

  • Co-Admin
  • *****
  • Posts: 1028
  • Activity:
    0%
  • Country: us
  • Karma: +17/-1
  • Gender: Male
  • There can only be (1)Dave
    • View Profile
How to Record a Demo
« on: September 29, 2011, 03:04:40 PM »
In the console, type:

record <filename>

When you're done recording a demo, in the console type:

stop

The file will be saved as a .dem file in your game folder (..\Steam\SteamApps\common\team fortress 2\tf\).

See Help:Recording demos on the tf2wiki for more information.
« Last Edit: May 01, 2013, 11:29:57 PM by Plasma »
-Dave
Co-Admin

Cirno

  • Ex-Server Admin
  • Verified Member
  • ***
  • Posts: 400
  • Activity:
    0%
  • Country: us
  • Karma: +5/-0
  • Gender: Female
  • I shot the Cirno but I did not shoot the Daiyousei
    • View Profile
Re: How to Record a Demo
« Reply #1 on: November 02, 2011, 01:20:25 AM »
Updated for SteamPipe:

There's a much easier way to record demos that doesn't require using the console at all. Paste the code below into:
Code: [Select]
C:\path-to\Steam\steamapps\common\team fortress 2\tf\cfg\autoexec.cfg

Whenever you press F6, it'll record a .dem (demo file) into the team fortress 2\tf folder. Pressing F6 again stops recording.

Code: [Select]
////////// Cyclic Demo Recording Script; by \\ Alex //

echo "";
echo "Cyclic Demo Recording Script is running...";

///// Aliases Required for Loop /////
alias overWrite "echo ""; echo "WARNING!: There are no more recording slots in the rotation. Further recording will erase previous files."; echo ""; repeatLoop";
alias repeatLoop "alias demo_recording demo_01";

///// The Main Recording Section /////
alias demo_recording "demo_01";

// Demo File #01 //////////
alias    demo_01 "echo ""; echo "Demo File #01"; echo "-------------"; beginRecord_01";
alias beginRecord_01 "record "demo_01"; alias demo_recording endRecord_01";
alias   endRecord_01 "stop; alias demo_recording    demo_02";

// Demo File #02 //////////
alias    demo_02 "echo ""; echo "Demo File #02"; echo "-------------"; beginRecord_02";
alias beginRecord_02 "record "demo_02"; alias demo_recording endRecord_02";
alias   endRecord_02 "stop; alias demo_recording    demo_03";

// Demo File #03 //////////
alias    demo_03 "echo ""; echo "Demo File #03"; echo "-------------"; beginRecord_03";
alias beginRecord_03 "record "demo_03"; alias demo_recording endRecord_03";
alias   endRecord_03 "stop; alias demo_recording    demo_04";

// Demo File #04 //////////
alias    demo_04 "echo ""; echo "Demo File #04"; echo "-------------"; beginRecord_04";
alias beginRecord_04 "record "demo_04"; alias demo_recording endRecord_04";
alias   endRecord_04 "stop; alias demo_recording    demo_05";

// Demo File #05 //////////
alias    demo_05 "echo ""; echo "Demo File #05"; echo "-------------"; beginRecord_05";
alias beginRecord_05 "record "demo_05"; alias demo_recording endRecord_05";
alias   endRecord_05 "stop; alias demo_recording    demo_06";

// Demo File #06 //////////
alias    demo_06 "echo ""; echo "Demo File #06"; echo "-------------"; beginRecord_06";
alias beginRecord_06 "record "demo_06"; alias demo_recording endRecord_06";
alias   endRecord_06 "stop; alias demo_recording    demo_07";

// Demo File #07 //////////
alias    demo_07 "echo ""; echo "Demo File #07"; echo "-------------"; beginRecord_07";
alias beginRecord_07 "record "demo_07"; alias demo_recording endRecord_07";
alias   endRecord_07 "stop; alias demo_recording    demo_08";

// Demo File #08 //////////
alias    demo_08 "echo ""; echo "Demo File #08"; echo "-------------"; beginRecord_08";
alias beginRecord_08 "record "demo_08"; alias demo_recording endRecord_08";
alias   endRecord_08 "stop; alias demo_recording    demo_09";

// Demo File #09 //////////
alias    demo_09 "echo ""; echo "Demo File #09"; echo "-------------"; beginRecord_09";
alias beginRecord_09 "record "demo_09"; alias demo_recording endRecord_09";
alias   endRecord_09 "stop; alias demo_recording    demo_10";

// Demo File #10 //////////
alias    demo_10 "echo ""; echo "Demo File #10"; echo "-------------"; beginRecord_10";
alias beginRecord_10 "record "demo_10"; alias demo_recording endRecord_10";
alias   endRecord_10 "stop; overWrite";

///// Key Bind /////
bind "F6" "demo_recording";

From this page
« Last Edit: May 01, 2013, 11:28:59 PM by Plasma »