Advertisement
Guest User

Untitled

a guest
May 29th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. // ----------------------------------------------------------------------
  2. //
  3. // Network
  4. // -- Net Graph Toggle - toggles netgraph on and off
  5. // -- Interp settings - aliases for setting auto, low, high interp: by default bound 1, 2, and 3 on your number pad.
  6. // -- Interp Statekey Stuff - alternates functionality of the network keys to save space
  7. //
  8. // ======================================================================
  9.  
  10. // -----------------
  11. // Net Graph Toggle
  12. // -- toggles netgraph on and off
  13. // =================
  14. alias net_graph_0 "net_graph 0; alias sound sound_netg_0; play_sound"
  15. alias net_graph_1 "net_graph 1; alias sound sound_netg_1; play_sound"
  16. alias net_graph_3 "net_graph 3; alias sound sound_netg_3; play_sound"
  17.  
  18. alias toggle_netg "" // will set your net_graph to this @first click
  19. alias toggle_netg_1 "alias net_graph_selection net_graph_1; net_graph_1; alias toggle_netg toggle_netg_3; echo Net Graph 1"
  20. alias toggle_netg_3 "alias net_graph_selection net_graph_3; net_graph_3; alias toggle_netg toggle_netg_0; echo Net Graph 3"
  21. alias toggle_netg_0 "alias net_graph_selection net_graph_0; net_graph_0; alias toggle_netg toggle_netg_1; echo Net Graph Off"
  22.  
  23. alias net_graph_selection // value is manipulated by toggle_netg, Possible values: net_graph_on / net_graph_off
  24.  
  25. // ----------------
  26. // Interp settings
  27. // -- aliases for setting auto, low, high interp: by default bound 1, 2, and 3 on your number pad.
  28. // ================
  29. // sets ping based on updaterate, limited usefulness (pubs) since most comp servers limit cl_interp_ratio to 1
  30. // momentarilly turns net_graph on then returns it to user selected state
  31. alias auto_interp "cl_interp_ratio 2; cl_interp 0; echo Auto Interp on"
  32. // minimal (default) interp, best for very little loss and projectiles
  33. alias low_interp "cl_interp_ratio 1; cl_interp 0.0152; echo Low Interp"
  34. // 66 updaterate / 2. Provides 2 packet buffer for prediction
  35. alias high_interp "cl_interp_ratio 1; cl_interp 0.033; echo High Interp"
  36.  
  37. alias increment_up "incrementvar cl_interp .01 .1 .005"
  38. alias increment_down "incrementvar cl_interp .01 .1 -.005"
  39.  
  40. // ----------------------
  41. // Interp Statekey Stuff
  42. // -- enables interp increment hotkeys when statekey is pressed
  43. // ======================
  44. alias auto_interp_key auto_interp
  45. alias low_interp_key low_interp
  46. alias high_interp_key high_interp
  47.  
  48. alias +interpstuff "alias high_interp_key increment_up; alias low_interp_key increment_down"
  49. alias -interpstuff "alias high_interp_key high_interp; alias low_interp_key low_interp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement