Announcement

Collapse

Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.



In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.



All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

[Config] Useful Replay Stuff thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Config] Useful Replay Stuff thread

    Tips/etc

    How to Watch Replays Offline:
    Originally posted by Invoqwer View Post
    You already can.

    You don't even need internet; you just need to have the replay downloaded to your replays folder.

    1) open dota2, you will prob get stuck on the load screen since you have no internet
    2) open console
    3) type in the following: "playdemo replays\384174" <-- name of your replay, if you renamed it to "pudgegame" then you would do "playdemo replays\pudgegame" etc.

    GL and HF

    Also handy for booting up a replay thru console when you already have the match downloaded.



    I will be adding my demo-cfg and other useful stuff soon. More to come.
    Last edited by Invoqwer; 12-10-2012, 12:56 PM.

  • #2
    I wonder if you could do this through the command line...

    If so, then someone could make a program that launches the game and immediately has it go straight into the replay as opposed to the main menu screen/connecting to the dota 2 network.

    Comment


    • #3
      As "promised", here's a script for viewing replays. Fairly self explanatory.

      Features:
      -free camera
      -toggling HUD
      -toggling UI
      -zooming in
      -zooming out
      -etcIt

      Give it a whirl while I tweak it some more.
      Code:
      echo "replayscript v1 by invoqwer // 1) first release"
      echo " "
      echo "keys: f g hj zxc vbn"
      echo " "
      echo "f - free camera"
      echo "h - toggle UI" 
      echo "j - toggle HUD"
      echo "g - camera grip"
      echo "z - zoom in by 25"
      echo "x - zoom out by 25"
      echo "c - camera distance 1134 -- the default camera distance"
      echo "v - camera distance 400 (adjust as desired)"
      echo "b - camera distance 1600 (adjust as desired)"
      echo "n - camera distance 2500 (adjust as desired)"
      echo " "
      echo " "
      echo "--> dev.dota2.com/showthread.php?t=63225 for any questions +updates"
      
      
      unbind f
      unbind g
      unbind h
      unbind j
      unbind z
      unbind x
      unbind v
      unbind b
      unbind n
      alias freecam zxcvbnm
      alias camon zxcvbnm
      alias camoff zxcvbnm
      alias toggleui zxcvbnm
      alias fullui zxcvbnm
      alias noui zxcvbnm
      
      
      //>   F   (free camera)
      bind 	"f" 		"freecam"
      alias	"freecam"	"camon"
      alias	"camon"		"sv_cheats 1; dota_free_camera 1; alias freecam camoff"
      alias	"camoff"	"sv_cheats 1; dota_free_camera 0; alias freecam camon"
      
      
      //>   G   (camera grip)
      bind    "g"		"+cameragrip"	
      
      
      //>   H   (toggles UI) 
      bind 	"h" 		"toggleUI"
      alias	"toggleUI"	"fullui"
      alias	"fullui"	"sv_cheats 1; dota_sf_hud_actionpanel 1; dota_sf_hud_channelbar 1; dota_sf_hud_inventory 1; dota_sf_hud_top 1; dota_no_minimap 0; dota_render_crop_height 148; dota_render_y_inset 31; alias toggleUI noui" // adjust render crop height and y inset as necessary depending on your resolution
      alias	"noui"		"sv_cheats 1; dota_sf_hud_actionpanel 0; dota_sf_hud_channelbar 0; dota_sf_hud_inventory 0; dota_sf_hud_top 0; dota_no_minimap 1; dota_render_crop_height 0; dota_render_y_inset 0; alias toggleUI fullui"
      
      
      //>   J   (toggle HUD)
      bindtoggle "j" 	"cl_drawhud" 
      
      
      //>   C    (camera binds)
      bind "z" "incrementvar dota_camera_distance 0 3000 25"
      bind "x" "incrementvar dota_camera_distance 0 3000 -25"
      bind "c" "dota_camera_distance 1134"
      bind "v" "dota_camera_distance 400" // customize as desired
      bind "b" "dota_camera_distance 1600" // customize as desired
      bind "n" "dota_camera_distance 2500" // customize as desired
      
      
      // bind "#" FOGUI -- I couldn't bind this, so you'll have to type "fogui" into the console manually to adjust fog (easy enough)
      Leave comments criticism and suggestions here.
      Last edited by Invoqwer; 12-10-2012, 02:23 PM.

      Comment


      • #4
        Skip forward / backward

        I just found another awesome feature that is really nice when viewing replays:

        bind KP_4 "demo_goto -150 relative" //go 5 seconds back in time
        bind KP_6 "demo_goto 150 relative" //fast forward 5 seconds
        bind KP_5 "demo_togglepause"

        This binds skipping 5 seconds backwards to Keypad 4, skipping 5 seconds forward to Keypad 6 and pause to Keypad 5. It's really nice when you want to watch a good or confusing fight/ situation again.

        Comment


        • #5
          ^Thank you for sharing this, this is awesome! I had always been hoping that something like this was out there... shame I'm only finding it now, though
          Originally posted by FlyingFoX View Post
          I just found another awesome feature that is really nice when viewing replays:

          bind KP_4 "demo_goto -150 relative" //go 5 seconds back in time
          bind KP_6 "demo_goto 150 relative" //fast forward 5 seconds
          bind KP_5 "demo_togglepause"

          This binds skipping 5 seconds backwards to Keypad 4, skipping 5 seconds forward to Keypad 6 and pause to Keypad 5. It's really nice when you want to watch a good or confusing fight/ situation again.
          Here's my take on it, that binds (-) to rewind 8 sec, (+) to fast forward 8 sec, ( [ ) to rewind 30 sec, and ( ] ) to fast forward 30 sec.
          bind "-" "demo_goto -240 relative"
          bind "=" "demo_goto 240 relative"
          bind "[" "demo_goto -900 relative"
          bind "]" "demo_goto 900 relative"
          ================================================== ===============================================

          Updated Script (v2)
          Code:
          echo "replayscript v2 by invoqwer" // 2) added fast forward/rewind // 1) first release
          echo " "
          echo "f - free camera"
          echo "h - toggle UI" 
          echo "j - toggle HUD"
          echo "g - camera grip"
          echo "z - zoom in by 25"
          echo "x - zoom out by 25"
          echo "c - camera distance 1134 -- the default camera distance"
          echo "v - camera distance 400 (adjust as desired)"
          echo "b - camera distance 1400 (adjust as desired)"
          echo "n - camera distance 2400 (adjust as desired)"
          echo "( - ) - rewind 8 sec"
          echo "( + ) - forward 8 sec"
          echo "( [ ) - rewind 30 sec"
          echo "( ] ) - forward 30 sec"
          echo " "
          echo " "
          echo "--> dev.dota2.com/showthread.php?t=63225 for any questions +updates"
          
          
          unbind f
          unbind g
          unbind h
          unbind j
          unbind z
          unbind x
          unbind v
          unbind b
          unbind n
          alias freecam zxcvbnm
          alias camon zxcvbnm
          alias camoff zxcvbnm
          alias toggleui zxcvbnm
          alias fullui zxcvbnm
          alias noui zxcvbnm
          
          
          //>   F   (free camera)
          bind 	"f" 		"freecam"
          alias	"freecam"	"camon"
          alias	"camon"		"sv_cheats 1; dota_free_camera 1; alias freecam camoff"
          alias	"camoff"	"sv_cheats 1; dota_free_camera 0; alias freecam camon"
          
          
          //>   G   (camera grip)
          bind    "g"		"+cameragrip"	
          
          
          //>   H   (toggles UI) 
          bind 	"h" 		"toggleUI"
          alias	"toggleUI"	"fullui"
          alias	"fullui"	"sv_cheats 1; dota_sf_hud_actionpanel 1; dota_sf_hud_channelbar 1; dota_sf_hud_inventory 1; dota_sf_hud_top 1; dota_no_minimap 0; dota_render_crop_height 148; dota_render_y_inset 31; alias toggleUI noui" // adjust render crop height and y inset as necessary depending on your resolution
          alias	"noui"		"sv_cheats 1; dota_sf_hud_actionpanel 0; dota_sf_hud_channelbar 0; dota_sf_hud_inventory 0; dota_sf_hud_top 0; dota_no_minimap 1; dota_render_crop_height 0; dota_render_y_inset 0; alias toggleUI fullui"
          
          
          //>   J   (toggle HUD)
          bindtoggle "j" 	"cl_drawhud" 
          
          
          //>   C    (camera binds)
          bind "z" "incrementvar dota_camera_distance 0 3000 25"
          bind "x" "incrementvar dota_camera_distance 0 3000 -25"
          bind "c" "dota_camera_distance 1134"
          bind "v" "dota_camera_distance 400" // customize as desired
          bind "b" "dota_camera_distance 1600" // customize as desired
          bind "n" "dota_camera_distance 2500" // customize as desired
          
          //>   #   (fast forward/rewind)
          bind "-" "demo_goto -240 relative"
          bind "=" "demo_goto 240 relative"
          bind "[" "demo_goto -900 relative"
          bind "]" "demo_goto 900 relative"
          Last edited by Invoqwer; 12-10-2012, 12:54 PM.

          Comment

          Working...
          X