Petruss

autoexec

Feb 12th, 2015
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.54 KB | None | 0 0
  1.  
  2. //reset everything
  3. //exec other configs needed
  4. exec clear
  5. clear
  6. /////////////////////////////////////////////////////////////////////////////////////////////////////
  7. // Null-cancelling movement script //
  8. // (prevents you from pressing two opposing directions, which causes you to stop moving) //
  9. /////////////////////////////////////////////////////////////////////////////////////////////////////
  10. bind "w" "+mfwd"
  11. bind "s" "+mback"
  12. bind "a" "+mleft"
  13. bind "d" "+mright"
  14.  
  15. alias "+mfwd" "-back;+forward;alias checkfwd +forward"
  16. alias "+mback" "-forward;+back;alias checkback +back"
  17. alias "+mleft" "-moveright;+moveleft;alias checkleft +moveleft"
  18. alias "+mright" "-moveleft;+moveright;alias checkright +moveright"
  19. alias "-mfwd" "-forward;checkback;alias checkfwd none"
  20. alias "-mback" "-back;checkfwd;alias checkback none"
  21. alias "-mleft "-moveleft;checkright;alias checkleft none"
  22. alias "-mright" "-moveright;checkleft;alias checkright none"
  23. alias "checkfwd" none
  24. alias "checkback" none
  25. alias "checkleft" none
  26. alias "checkright" none
  27. alias none ""
  28.  
  29.  
  30.  
  31. alias "i15" "cl_interp 0.015215;cl_smoothtime 0.020"
  32.  
  33. alias "i30" "cl_interp 0.030;cl_smoothtime 0.030"
  34.  
  35. alias "i45" "cl_interp 0.045;cl_smoothtime 0.045"
  36.  
  37. alias "i60" "cl_interp 0.060;cl_smoothtime 0.060"
  38.  
  39.  
  40. /////////////////////////////////////////////////////////////////////////////////////////////////////
  41. // Weapon Scripts //
  42. // General Scripts //
  43. /////////////////////////////////////////////////////////////////////////////////////////////////////
  44.  
  45.  
  46. alias weapon_admin_1 "; weap_sens_1; cross_1; alias current_weapon_sens weap_sens_1; alias current_zoom_sens weap_zoom_sens_1; weapon_slot_spec_admin_1; alias prev_inv_weapon weapon3; alias next_inv_weapon weapon2; alias current_vis_strafeswitch current_vis_strafeswitch_1; alias current_vis_shootswitch current_vis_shootswitch_1; show_weapon; current_vis_immediatelyswitch_1"
  47. alias weapon_slot_spec_admin_1 "alias primsecswap weapon2; alias othermeleeswap weapon3; set_previous_weapon_1; alias set_previous_weapon_1 ""; alias set_previous_weapon_2 "alias previous_weapon weapon1"; alias set_previous_weapon_3 "alias previous_weapon weapon1""
  48. alias weapon1 "slot1; weapon_admin_1"
  49. alias weapon_admin_2 " weap_sens_2; cross_2; alias current_weapon_sens weap_sens_2; alias current_zoom_sens weap_zoom_sens_2; weapon_slot_spec_admin_2; alias prev_inv_weapon weapon1; alias next_inv_weapon weapon3; alias current_vis_strafeswitch current_vis_strafeswitch_2; alias current_vis_shootswitch current_vis_shootswitch_2; show_weapon; current_vis_immediatelyswitch_2"
  50. alias weapon_slot_spec_admin_2 "alias primsecswap weapon1; alias othermeleeswap weapon3; set_previous_weapon_2; alias set_previous_weapon_1 "alias previous_weapon weapon2"; alias set_previous_weapon_2 ""; alias set_previous_weapon_3 "alias previous_weapon weapon2""
  51. alias weapon2 "slot2; weapon_admin_2"
  52. alias weapon_admin_3 "weap_sens_3; cross_3; alias current_weapon_sens weap_sens_3; alias current_zoom_sens weap_zoom_sens_3; weapon_slot_spec_admin_3; alias prev_inv_weapon weapon2; alias next_inv_weapon weapon1; alias current_vis_strafeswitch current_vis_strafeswitch_3; alias current_vis_shootswitch current_vis_shootswitch_3; show_weapon; current_vis_immediatelyswitch_3"
  53. alias weapon_slot_spec_admin_3 "alias primsecswap previous_weapon; alias othermeleeswap previous_weapon; set_previous_weapon_3; alias set_previous_weapon_1 "alias previous_weapon weapon3"; alias set_previous_weapon_2 "alias previous_weapon weapon3"; alias set_previous_weapon_3 "" "
  54. alias weapon3 "slot3; weapon_admin_3"
  55.  
  56.  
  57.  
  58. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  59. //scoreboard with netgraph
  60. alias +sb "+score; net_graph 3"
  61. alias -sb "-score; net_graph 0"
  62.  
  63.  
  64.  
  65. //reset spawn switch
  66. alias finish_spawn_switch ""
  67.  
  68.  
  69.  
  70.  
  71. ////////////////////////////////////////////////////////////////////////////////////////////////////////
  72. // Options //
  73. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  74.  
  75.  
  76.  
  77. tf_remember_activeweapon 1 //this is needed for the weapon switching script, otherwise it gets out of sync on death/respawn
  78. cl_autoreload 0
  79. hud_fastswitch 1
  80. hud_combattext 0
  81. cl_use_tournament_specgui 1
  82. cl_hud_minmode 1
  83. //graphics options, I define them here so people will not have to edit stuff in the graphicsconfigs, they're outcommented in chris' graphics configs themselves
  84. // Enable sprays
  85. cl_playerspraydisable 0
  86. r_spray_lifetime 2
  87. // Enable gibs
  88. cl_phys_props_enable 1
  89. cl_phys_props_max 128
  90. props_break_max_pieces -1
  91. r_propsmaxdist 1000
  92. violence_agibs 1
  93. violence_hgibs 1
  94. // Enable ragdolls
  95. cl_ragdoll_fade_time 15
  96. cl_ragdoll_forcefade 0
  97. cl_ragdoll_physics_enable 1
  98. g_ragdoll_fadespeed 600
  99. g_ragdoll_lvfadespeed 100
  100. ragdoll_sleepaftertime "5.0f"
  101. cl_disablehtmlmotd 1
  102. sv_cheats 1
  103. cl_first_person_uses_world_model 0
  104. mp_timelimit 0
  105. mp_waitingforplayers_cancel 1
  106. //Credit to CasualX for this stuff
  107. alias play
  108. alias sndplaydelay
  109. alias playgamesound
  110. alias soundfade
  111. alias cl_spec_mode
  112. alias rpt_connect
  113. alias r_screenoverlay
  114. alias closed_htmlpage
  115. alias
  116.  
  117.  
  118. clear
Advertisement
Add Comment
Please, Sign In to add comment