Viewdemo Hotkeys

CarNagE1CarNagE1 Poland Join Date: 2003-05-14 Member: 16298Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter, Subnautica Playtester
Is there any way to bind viewdemo hotkeys so i can watch demos and make slowdowns etc. without useing of the interface? i need that info for my movie.
I can always record demos and make it in affter effects but it would be much more faster. Any ideas?

Comments

  • skiflyskifly Join Date: 2003-05-16 Member: 16379Members
    You're asking about scripts, and those are illegal. HACKER!
  • SkyrageSkyrage Join Date: 2003-08-27 Member: 20249Members
    And that was a very helpful response, skifly...

    As for the question at hand: I don't know jack about recording or anything like that but...try google or something like that? Would bet that there are tons of sites which has info etc...
    At least check until someone who knows a decent answer replies here <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • skiflyskifly Join Date: 2003-05-16 Member: 16379Members
    <!--QuoteBegin-Skyrage+Jul 19 2004, 09:13 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Skyrage @ Jul 19 2004, 09:13 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> And that was a very helpful response, skifly...

    <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Doing all I can to undermine the arguments of the anti-scripters.
  • camO_ocamO_o Join Date: 2004-04-19 Member: 28028Members
    edited July 2004
    by making yourself look stupid in the process?

    p.s. oh ya, my script that i stole from someone, thanks hobo.
    p.s.s. playdemo [demo] 0.5 will play the demo at half speed, and it won't lag like that script does.
  • NovisNovis Join Date: 2003-08-09 Member: 19193Members
    edited July 2004
    <!--QuoteBegin-H|CarNagE^8th+Jul 19 2004, 06:15 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (H|CarNagE^8th @ Jul 19 2004, 06:15 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Is there any way to bind viewdemo hotkeys so i can watch demos and make slowdowns etc. without useing of the interface? i need that info for my movie.
    I can always record demos and make it in affter effects but it would be much more faster. Any ideas?<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    First, make sure you bind all demo commands to the function keys F1-f12, also, KP_INS and KP_DEL seem to work without interrupting the demo.

    Here's a simple script I made for rebinding fkeys for demo viewing:
    Some notes:
    - dem_jump can also be used with absolute : dem_jump 2 will jump to 00:02 in the demo, while dem_jump +2 will jump <i>forward</i> 2 seconds.
    - demo_speed seems to crash on values which are not multiples of 2, only use the values 0.25 (for 1/4 speed), 0.5, 1, 2 or 4 (4x Speed).
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    echo "Demo keys:"
    echo " [<< F1][< F2] [F3 >][F4 >>]  [<<< F5][F6 >>>]  [-- F7][F8 ++]"
    echo " [F9 Restart] - [INS Pause][DEL Cont.]"
    bind KP_INS "dem_pause 1"
    bind KP_DEL "dem_pause 0"

    bind f5 "dem_jump -1"
    bind f6 "dem_jump +1"

    bind f1 "dem_jump -0.1"
    bind f4 "dem_jump +0.1"

    bind f2 "dem_jump -0.01"
    bind f3 "dem_jump +0.01"


    bind f7 "dspd_dec"
    bind f8 "dspd_inc"

    bind f9 "dem_start" // restart demo

    alias dspd_dec "dspd05"
    alias dspd_inc "dspd2"

    alias dspd025 "dem_speed 0.25;alias dspd_dec dspd025;alias dspd_inc dspd05"
    alias dspd05 "dem_speed 0.5;alias dspd_dec dspd025;alias dspd_inc dspd1"

    alias dspd1 "dem_speed 1;alias dspd_dec dspd05;alias dspd_inc dspd2"
    alias dspd2 "dem_speed 2;alias dspd_dec dspd1;alias dspd_inc dspd4"
    alias dspd4 "dem_speed 4;alias dspd_dec dspd2;alias dspd_inc dspd4"

    dspd1 // Reset to 1

    // - Demo commands:
    // dem_start  
    // dem_speed 0.25|0.5|1|2|4
    // dem_pause 0|1
    // dem_jump  [+|-]<pos./offset>      

    // dem_forcehltv  0|1          
    dem_forcehltv 1   // viewdemo will load demo in hltv mode

    // dem_save <file.dem>      // save demo to file
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

    Hope this helps <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /><!--endemo-->

    [edit]dem_forcehltv 1 will load viewdemo demos in hltv mode [/edit]
  • CarNagE1CarNagE1 Poland Join Date: 2003-05-14 Member: 16298Members, NS2 Playtester, Reinforced - Shadow, WC 2013 - Supporter, Subnautica Playtester
    im greatfull for help thx <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • NovisNovis Join Date: 2003-08-09 Member: 19193Members
    I just edited the dem_hltv description - with that, you can view the demo in hltv-mode which is possibly better suited for movie making.
    As a side effect, you can bind dem_ commands to all keys in hltv mode, without a keypress popping up the gui...
Sign In or Register to comment.