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

Auto record demo script

A Forum Thread for Counter-Strike 1.6

No ads for members. Membership is 100% free. Sign up!
Eyo guys,
So few minutes ago i was playing on some random server, then i made 1v10 with a scout, nice right? And quess what, SERVER DIDN'T RECORD DEMO! So i just wanted to ask you if is it possible to make something like a script that records demo when i join server?

Thanks :)
Sign up to access this!
  • Harris avatar
    Harris Joined 11y ago
    Offline
    20,804 points Ranked 255th
    37 medals 2 legendary 6 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twenty-One Winner! Medal icon
    • Returned 1000 times Medal icon
    access_time 3y
    You can type record ' demoname ' in console and it will start recording a demo.
    aaabdurazak! avatar
    Mantra
    aaabdurazak!
    URL to post:
  • tunalad avatar
    tunalad Joined 5y ago
    Offline
    3,566 points Ranked 2292nd
    14 medals 3 legendary 2 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2017 Christmas Eve Winner! Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • GameBanana’s Christmas Giveaway 2016 Day Twenty-Two Winner! Medal icon
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    access_time 3y
    Posted by Harris

    You can type record ' demoname ' in console and it will start recording a demo.

    I know, but i need demo to record automatically when i join server. I'm lazy to type that in console x)
    URL to post:
  • Harris avatar
    Harris Joined 11y ago
    Offline
    20,804 points Ranked 255th
    37 medals 2 legendary 6 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • GameBanana’s Christmas Giveaway 2015 Day Twenty-One Winner! Medal icon
    • Returned 1000 times Medal icon
    access_time 3y
    Posted by SlenderSWAT

    Posted by Harris

    You can type record ' demoname ' in console and it will start recording a demo.

    I know, but i need demo to record automatically when i join server. I'm lazy to type that in console x)
    Then you can bind the command to a key. Like

    bind "mouse3" "record demo"

    When you join a server you press the middle mouse button ( or your desired key ) and the game will start record. However typing the command by yourself takes literally one second but whatever. This is the quickest method I can think of. If you want it automatic you should be able to do it by using the autoexec.cfg file.
    aaabdurazak! avatar
    Mantra
    aaabdurazak!
    URL to post:
  • tunalad avatar
    tunalad Joined 5y ago
    Offline
    3,566 points Ranked 2292nd
    14 medals 3 legendary 2 rare
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • GameBanana’s Christmas Giveaway 2017 Christmas Eve Winner! Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • GameBanana’s Christmas Giveaway 2016 Day Twenty-Two Winner! Medal icon
    • Returned 1000 times Medal icon
    • One month a member Medal icon
    access_time 3y
    Posted by Harris

    Posted by SlenderSWAT

    Posted by Harris

    You can type record ' demoname ' in console and it will start recording a demo.

    I know, but i need demo to record automatically when i join server. I'm lazy to type that in console x)
    Then you can bind the command to a key. Like

    bind "mouse3" "record demo"

    When you join a server you press the middle mouse button ( or your desired key ) and the game will start record. However typing the command by yourself takes literally one second but whatever. This is the quickest method I can think of. If you want it automatic you should be able to do it by using the autoexec.cfg file.

    I know that too xD
    But chances that i will forget to press is 9/10
    I already binded mouse4 and i still forget to press that button...
    Ik, i'm an lazy idiot...
    • Funny x 1
    • Agree x 1
    • Dumb x 1
    • Fail x 1
    URL to post:
  • S. Tibbze avatar
    S. Tibbze Joined 7y ago
    Offline
    access_time 3y
    Well you tried all the possibilities I guess.
    The autoexec way wont work aswell.

    There's a way tho that I just tested. 

    If you use the VGUI menus instead of the classic ones.

    find these 2 files :

    resource/ui/classmenu_ct.res and classmenu_ter.res

    open the ct one for example.
    and search for the class names like "gsg9,urban,sas,gign"

    you will see a lot of codes there.
    find the one called "command"

    urban - "joinclass 1;record ctdemo1"
    gsg9 - "joinclass 2;record ctdemo2"
    sas - "joinclass 3;record ctdemo3"
    gign -  "joinclass 4;record ctdemo4"

    same way you can edit the classmenu_ter file.

    terror - "joinclass 1;record tdemo1"
    leet- "joinclass 2;record tdemo2"
    arctic - "joinclass 3;record tdemo3"
    guerilla-  "joinclass 4;record tdemo4"

    in this way when you select your character it will starts recording a demo automatically.
     avatar
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Author

tunalad avatar
tunalad Joined 5y ago
Offline
3,566 points Ranked 2292nd
14 medals 3 legendary 2 rare
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • GameBanana’s Christmas Giveaway 2017 Christmas Eve Winner! Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
  • GameBanana’s Christmas Giveaway 2016 Day Twenty-Two Winner! Medal icon
  • Returned 1000 times Medal icon
  • One month a member Medal icon
tunalad
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 0
  • 3.1k
  • 5
  • 3y

More Help Threads