Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //reset everything
- //exec other configs needed
- exec clear
- clear
- /////////////////////////////////////////////////////////////////////////////////////////////////////
- // Null-cancelling movement script //
- // (prevents you from pressing two opposing directions, which causes you to stop moving) //
- /////////////////////////////////////////////////////////////////////////////////////////////////////
- bind "w" "+mfwd"
- bind "s" "+mback"
- bind "a" "+mleft"
- bind "d" "+mright"
- alias "+mfwd" "-back;+forward;alias checkfwd +forward"
- alias "+mback" "-forward;+back;alias checkback +back"
- alias "+mleft" "-moveright;+moveleft;alias checkleft +moveleft"
- alias "+mright" "-moveleft;+moveright;alias checkright +moveright"
- alias "-mfwd" "-forward;checkback;alias checkfwd none"
- alias "-mback" "-back;checkfwd;alias checkback none"
- alias "-mleft "-moveleft;checkright;alias checkleft none"
- alias "-mright" "-moveright;checkleft;alias checkright none"
- alias "checkfwd" none
- alias "checkback" none
- alias "checkleft" none
- alias "checkright" none
- alias none ""
- alias "i15" "cl_interp 0.015215;cl_smoothtime 0.020"
- alias "i30" "cl_interp 0.030;cl_smoothtime 0.030"
- alias "i45" "cl_interp 0.045;cl_smoothtime 0.045"
- alias "i60" "cl_interp 0.060;cl_smoothtime 0.060"
- /////////////////////////////////////////////////////////////////////////////////////////////////////
- // Weapon Scripts //
- // General Scripts //
- /////////////////////////////////////////////////////////////////////////////////////////////////////
- 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"
- 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""
- alias weapon1 "slot1; weapon_admin_1"
- 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"
- 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""
- alias weapon2 "slot2; weapon_admin_2"
- 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"
- 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 "" "
- alias weapon3 "slot3; weapon_admin_3"
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- //scoreboard with netgraph
- alias +sb "+score; net_graph 3"
- alias -sb "-score; net_graph 0"
- //reset spawn switch
- alias finish_spawn_switch ""
- ////////////////////////////////////////////////////////////////////////////////////////////////////////
- // Options //
- ///////////////////////////////////////////////////////////////////////////////////////////////////////
- tf_remember_activeweapon 1 //this is needed for the weapon switching script, otherwise it gets out of sync on death/respawn
- cl_autoreload 0
- hud_fastswitch 1
- hud_combattext 0
- cl_use_tournament_specgui 1
- cl_hud_minmode 1
- //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
- // Enable sprays
- cl_playerspraydisable 0
- r_spray_lifetime 2
- // Enable gibs
- cl_phys_props_enable 1
- cl_phys_props_max 128
- props_break_max_pieces -1
- r_propsmaxdist 1000
- violence_agibs 1
- violence_hgibs 1
- // Enable ragdolls
- cl_ragdoll_fade_time 15
- cl_ragdoll_forcefade 0
- cl_ragdoll_physics_enable 1
- g_ragdoll_fadespeed 600
- g_ragdoll_lvfadespeed 100
- ragdoll_sleepaftertime "5.0f"
- cl_disablehtmlmotd 1
- sv_cheats 1
- cl_first_person_uses_world_model 0
- mp_timelimit 0
- mp_waitingforplayers_cancel 1
- //Credit to CasualX for this stuff
- alias play
- alias sndplaydelay
- alias playgamesound
- alias soundfade
- alias cl_spec_mode
- alias rpt_connect
- alias r_screenoverlay
- alias closed_htmlpage
- alias
- clear
Advertisement
Add Comment
Please, Sign In to add comment