Initial feature set.
This commit is contained in:
27
README.md
27
README.md
@@ -1,4 +1,29 @@
|
||||
TF2-Scripts
|
||||
===========
|
||||
|
||||
A collection of useful scripts for Team Fortress 2.
|
||||
*A collection of scripts I have found to be useful for playing Team Fortress 2.*
|
||||
|
||||
## Features ##
|
||||
Most features are usable by all classes, but a few are class-specific. If you would like to see more features implemented send me a message and I'll do my best, if I find it interesting:
|
||||
* **Debug Output:** prints debug messages to the screen (such as current spy disguise and so on).
|
||||
* **Auto Crouch-Jump:** automatically makes you crouch-jump when playing the spacebar.
|
||||
* **Loadout Switch:** binds 4 Shift key combinations to each loadout.
|
||||
* **Netgraph:** displays the netgraph on the score screen (Tab key).
|
||||
* **Spy-Checking Lines:** sends a team message notifying players about an exposed spy (e.g. "Pyro is Spy.").
|
||||
* **Suicide Explosion:** makes you explode at the touch of a button.
|
||||
* **Engineer: Building Bindings:** binds keys 6 through 9 to the Engineer's buildings, automatically destroying any existing buildings when pressed.
|
||||
* **Spy: Disguise Bindings:** binds key 5 through 9 to some of the Spy's disguises.
|
||||
* **Spy: Auto Disguise:** automatically disguises the Spy on left-click. If this is not desirable (for example, when placing a sapper), use MOUSE3 to perform a normal left-click. Also automatically changes the disguise's current weapon when actually switching weapons. Press F at any time to disable all auto disguise functions.
|
||||
|
||||
### Settings ###
|
||||
TF2-Scripts comes with several settings used to disable certain undesired features; edit them in `cfg\scripts\settings.cfg`:
|
||||
* `AUTO_CROUCH_JUMP`
|
||||
* `AUTO_DISGUISE`
|
||||
* `CLEAR_CONSOLE_ON_START`
|
||||
* `LOADOUT_SWITCH`
|
||||
* `SHOW_NETGRAPH`
|
||||
* `SPY_LINES`
|
||||
* `SUICIDE_EXPLOSION`
|
||||
|
||||
## Installation ##
|
||||
To install, locate your Team Fortress 2 installation's `cfg` folder (usually located at `C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\cfg`), then copy-and-paste the contents of this script pack's `cfg` folder to it.
|
1
cfg/autoexec.cfg
Normal file
1
cfg/autoexec.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/main.cfg
|
1
cfg/demoman.cfg
Normal file
1
cfg/demoman.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/demoman.cfg
|
1
cfg/engineer.cfg
Normal file
1
cfg/engineer.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/engineer.cfg
|
1
cfg/heavyweapons.cfg
Normal file
1
cfg/heavyweapons.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/heavyweapons.cfg
|
1
cfg/medic.cfg
Normal file
1
cfg/medic.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/medic.cfg
|
1
cfg/pyro.cfg
Normal file
1
cfg/pyro.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/pyro.cfg
|
1
cfg/scout.cfg
Normal file
1
cfg/scout.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/scout.cfg
|
3
cfg/scripts/classes/demoman.cfg
Normal file
3
cfg/scripts/classes/demoman.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Demoman Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
11
cfg/scripts/classes/engineer.cfg
Normal file
11
cfg/scripts/classes/engineer.cfg
Normal file
@@ -0,0 +1,11 @@
|
||||
// Engineer Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Buildings
|
||||
// Key 6-9 automatically destroy the associated building if it already exists,
|
||||
// then selects the relevant building blueprint, ready to be built.
|
||||
alias key6 "destroy 2 0; build 2 0;" // Sentry Gun
|
||||
alias key7 "destroy 0 0; build 0 0;" // Dispenser
|
||||
alias key8 "destroy 1 0; build 1 0;" // Teleporter Entrance
|
||||
alias key9 "destroy 1 1; build 1 1;" // Teleporter Exit
|
3
cfg/scripts/classes/heavyweapons.cfg
Normal file
3
cfg/scripts/classes/heavyweapons.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Heavy Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
3
cfg/scripts/classes/medic.cfg
Normal file
3
cfg/scripts/classes/medic.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Medic Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
3
cfg/scripts/classes/pyro.cfg
Normal file
3
cfg/scripts/classes/pyro.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Pyro Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
3
cfg/scripts/classes/scout.cfg
Normal file
3
cfg/scripts/classes/scout.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Scout Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
3
cfg/scripts/classes/sniper.cfg
Normal file
3
cfg/scripts/classes/sniper.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Sniper Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
3
cfg/scripts/classes/soldier.cfg
Normal file
3
cfg/scripts/classes/soldier.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Soldier Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
54
cfg/scripts/classes/spy.cfg
Normal file
54
cfg/scripts/classes/spy.cfg
Normal file
@@ -0,0 +1,54 @@
|
||||
// Spy Scripting.
|
||||
|
||||
exec scripts/settings.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Disguises
|
||||
// Keys 5-9 are used to quickly disguise.
|
||||
alias key5 "disguise 4 -1; disguise_demoman_text" // Demoman
|
||||
alias key6 "disguise 7 -1; disguise_pyro_text" // Pyro
|
||||
alias key7 "disguise 2 -1; disguise_sniper_text" // Sniper
|
||||
alias key8 "disguise 9 -1; disguise_engineer_text" // Engineer
|
||||
alias key9 "disguise 8 -2; disguise_remove_text" // Un-disguise
|
||||
|
||||
|
||||
// Auto-Disguise After Attack
|
||||
// Press F to activate.
|
||||
alias disguise1 "disguise 4 -1; disguise_demoman_text; alias next_disguise disguise2" // Demoman
|
||||
alias disguise2 "disguise 7 -1; disguise_pyro_text; alias next_disguise disguise3" // Pyro
|
||||
alias disguise3 "disguise 2 -1; disguise_sniper_text; alias next_disguise disguise4" // Sniper
|
||||
alias disguise4 "disguise 9 -1; disguise_engineer_text; alias next_disguise disguise1" // Engineer
|
||||
alias next_disguise disguise1
|
||||
alias +disguise_attack +attack
|
||||
alias -disguise_attack "-attack; next_disguise"
|
||||
|
||||
|
||||
// Disguised Weapon Switching
|
||||
// When switching weapons, the disguise also switches weapons.
|
||||
// With some players, this might reduce suspicion that you're a spy.
|
||||
// Only works if spy_toggle is set to disguise_on.
|
||||
// Note: the scroll wheel will now only scroll between 1 and 3, because once
|
||||
// the disguise kit always gets skipped once the last disguise is activated.
|
||||
alias reload1 "slot1; lastdisguise"
|
||||
alias reload2 "slot2; lastdisguise"
|
||||
alias reload3 "slot3; lastdisguise"
|
||||
alias reload_m_up "invprev; lastdisguise"
|
||||
alias reload_m_down "invnext; lastdisguise"
|
||||
alias disguise_weapon_on "alias key1 reload1; alias key2 reload2; alias key3 reload3; bind MWHEELUP reload_m_up; bind MWHEELDOWN reload_m_down"
|
||||
alias disguise_weapon_off "alias key1 slot1; alias key2 slot2; alias key3 slot3; bind MWHEELUP invprev; bind MWHEELDOWN invnext"
|
||||
|
||||
|
||||
// Disguise Toggling
|
||||
// The master switch for all the automatic disguise scripting. Default: on
|
||||
alias spy_toggle disguise_off
|
||||
alias disguise_on "auto_disguise_on_text; disguise_weapon_on; bind MOUSE1 +disguise_attack; alias spy_toggle disguise_off"
|
||||
alias disguise_off "auto_disguise_off_text; disguise_weapon_off; bind MOUSE1 +attack; alias spy_toggle disguise_on"
|
||||
bind F spy_toggle
|
||||
|
||||
|
||||
// MOUSE3 Attack
|
||||
// Bind MOUSE3 to the standard attack, in case the user wants to quickly
|
||||
// attack without disguising (for example: sapping a sentry).
|
||||
bind MOUSE3 +attack
|
||||
|
||||
AUTO_DISGUISE
|
33
cfg/scripts/lang/_main.cfg
Normal file
33
cfg/scripts/lang/_main.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
// Main Language File
|
||||
// This is a workaround for a limitation of the "developer 1" output.
|
||||
// When active and filtering, it seems only the first word following the echo
|
||||
// command gets printed, unless it's surrounded in quotation marks.
|
||||
// This file ties all of the echo lines in this folder together.
|
||||
|
||||
alias show_debug_output_text "exec scripts/lang/show_debug_output_text.cfg"
|
||||
|
||||
alias con_filter_clear_text "exec scripts/lang/con_filter_clear_text.cfg"
|
||||
|
||||
alias switch_loadout_A_text "exec scripts/lang/switch_loadout_A_text.cfg"
|
||||
alias switch_loadout_B_text "exec scripts/lang/switch_loadout_B_text.cfg"
|
||||
alias switch_loadout_C_text "exec scripts/lang/switch_loadout_C_text.cfg"
|
||||
alias switch_loadout_D_text "exec scripts/lang/switch_loadout_D_text.cfg"
|
||||
|
||||
alias disguise_demoman_text "exec scripts/lang/disguise_demoman_text.cfg"
|
||||
alias disguise_pyro_text "exec scripts/lang/disguise_pyro_text.cfg"
|
||||
alias disguise_sniper_text "exec scripts/lang/disguise_sniper_text.cfg"
|
||||
alias disguise_engineer_text "exec scripts/lang/disguise_engineer_text.cfg"
|
||||
alias disguise_remove_text "exec scripts/lang/disguise_remove_text.cfg"
|
||||
|
||||
alias auto_disguise_on_text "exec scripts/lang/auto_disguise_on_text.cfg"
|
||||
alias auto_disguise_off_text "exec scripts/lang/auto_disguise_off_text.cfg"
|
||||
|
||||
alias spy_check_scout_text "exec scripts/lang/spy_check_scout_text.cfg"
|
||||
alias spy_check_soldier_text "exec scripts/lang/spy_check_soldier_text.cfg"
|
||||
alias spy_check_pyro_text "exec scripts/lang/spy_check_pyro_text.cfg"
|
||||
alias spy_check_demoman_text "exec scripts/lang/spy_check_demoman_text.cfg"
|
||||
alias spy_check_heavy_text "exec scripts/lang/spy_check_heavy_text.cfg"
|
||||
alias spy_check_engineer_text "exec scripts/lang/spy_check_engineer_text.cfg"
|
||||
alias spy_check_medic_text "exec scripts/lang/spy_check_medic_text.cfg"
|
||||
alias spy_check_sniper_text "exec scripts/lang/spy_check_sniper_text.cfg"
|
||||
alias spy_check_spy_text "exec scripts/lang/spy_check_spy_text.cfg"
|
1
cfg/scripts/lang/auto_disguise_off_text.cfg
Normal file
1
cfg/scripts/lang/auto_disguise_off_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Automatic Disguise: OFF"
|
1
cfg/scripts/lang/auto_disguise_on_text.cfg
Normal file
1
cfg/scripts/lang/auto_disguise_on_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Automatic Disguise: ON"
|
3
cfg/scripts/lang/con_filter_clear_text.cfg
Normal file
3
cfg/scripts/lang/con_filter_clear_text.cfg
Normal file
@@ -0,0 +1,3 @@
|
||||
// Console Workaround File
|
||||
// Used to work around a limitation of the console.
|
||||
con_filter_text ""
|
1
cfg/scripts/lang/disguise_demoman_text.cfg
Normal file
1
cfg/scripts/lang/disguise_demoman_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Disguising as Demoman."
|
1
cfg/scripts/lang/disguise_engineer_text.cfg
Normal file
1
cfg/scripts/lang/disguise_engineer_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Disguising as Engineer."
|
1
cfg/scripts/lang/disguise_pyro_text.cfg
Normal file
1
cfg/scripts/lang/disguise_pyro_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Disguising as Pyro."
|
1
cfg/scripts/lang/disguise_remove_text.cfg
Normal file
1
cfg/scripts/lang/disguise_remove_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Removing disguise."
|
1
cfg/scripts/lang/disguise_sniper_text.cfg
Normal file
1
cfg/scripts/lang/disguise_sniper_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Disguising as Sniper."
|
1
cfg/scripts/lang/show_debug_output_text.cfg
Normal file
1
cfg/scripts/lang/show_debug_output_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Showing debug output."
|
1
cfg/scripts/lang/spy_check_demoman_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_demoman_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Demoman is Spy."
|
1
cfg/scripts/lang/spy_check_engineer_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_engineer_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Engineer is Spy."
|
1
cfg/scripts/lang/spy_check_heavy_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_heavy_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Heavy is Spy."
|
1
cfg/scripts/lang/spy_check_medic_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_medic_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Medic is Spy."
|
1
cfg/scripts/lang/spy_check_pyro_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_pyro_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Pyro is Spy."
|
1
cfg/scripts/lang/spy_check_scout_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_scout_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Scout is Spy."
|
1
cfg/scripts/lang/spy_check_sniper_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_sniper_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Sniper is Spy."
|
1
cfg/scripts/lang/spy_check_soldier_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_soldier_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Soldier is Spy."
|
1
cfg/scripts/lang/spy_check_spy_text.cfg
Normal file
1
cfg/scripts/lang/spy_check_spy_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
say_team "Spy is enemy Spy."
|
1
cfg/scripts/lang/switch_loadout_A_text.cfg
Normal file
1
cfg/scripts/lang/switch_loadout_A_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Switching to loadout A."
|
1
cfg/scripts/lang/switch_loadout_B_text.cfg
Normal file
1
cfg/scripts/lang/switch_loadout_B_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Switching to loadout B."
|
1
cfg/scripts/lang/switch_loadout_C_text.cfg
Normal file
1
cfg/scripts/lang/switch_loadout_C_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Switching to loadout C."
|
1
cfg/scripts/lang/switch_loadout_D_text.cfg
Normal file
1
cfg/scripts/lang/switch_loadout_D_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Switching to loadout D."
|
85
cfg/scripts/main.cfg
Normal file
85
cfg/scripts/main.cfg
Normal file
@@ -0,0 +1,85 @@
|
||||
// Script Pack v1.0
|
||||
// Provides utility scripts for all TF2 classes.
|
||||
|
||||
exec scripts/settings.cfg
|
||||
exec scripts/lang/_main.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
|
||||
// Debug Output
|
||||
// Bind the debug output to a key.
|
||||
con_notifytime 2 // If you want the debug text to last longer, change this setting.
|
||||
alias cft_clear con_filter_clear_text
|
||||
alias cft_script "con_filter_text |"
|
||||
alias hide_output "developer 0; cft_clear; con_filter_enable 0; alias toggle_output show_output"
|
||||
alias show_output "clear; developer 1; cft_script; con_filter_enable 1; show_debug_output_text; alias toggle_output hide_output"
|
||||
alias toggle_output show_output
|
||||
bind P toggle_output
|
||||
|
||||
|
||||
// Auto Crouch-Jump
|
||||
// Makes the player automatically crouch-jump when holding down the spacebar.
|
||||
alias +crouch_jump "+jump; +duck"
|
||||
alias -crouch_jump "-duck; -jump"
|
||||
alias crouch_on "bind SPACE +crouch_jump"
|
||||
alias crouch_off "bind SPACE +jump"
|
||||
AUTO_CROUCH_JUMP
|
||||
|
||||
|
||||
// Clears the console, we don't care about anything that was displayed before.
|
||||
alias clear_on "clear"
|
||||
alias clear_off ""
|
||||
CLEAR_CONSOLE_ON_START
|
||||
|
||||
|
||||
// Loadout Switch
|
||||
// Alt+1 switches to loadout A, Alt+2 switches to loadout B and so on.
|
||||
alias +switching_loadout "+loadout_A; +loadout_B; +loadout_C; +loadout_D"
|
||||
alias -switching_loadout "-loadout_A; -loadout_B; -loadout_C; -loadout_D"
|
||||
alias switch_loadout_A "load_itempreset 0; switch_loadout_A_text"
|
||||
alias switch_loadout_B "load_itempreset 1; switch_loadout_B_text"
|
||||
alias switch_loadout_C "load_itempreset 2; switch_loadout_C_text"
|
||||
alias switch_loadout_D "load_itempreset 3; switch_loadout_D_text"
|
||||
alias +loadout_A "bind 1 switch_loadout_A"; alias -loadout_A "bind 1 key1"
|
||||
alias +loadout_B "bind 2 switch_loadout_B"; alias -loadout_B "bind 2 key2"
|
||||
alias +loadout_C "bind 3 switch_loadout_C"; alias -loadout_C "bind 3 key3"
|
||||
alias +loadout_D "bind 4 switch_loadout_D"; alias -loadout_D "bind 4 key4"
|
||||
alias loadout_on "bind ALT +switching_loadout"
|
||||
alias loadout_off "bind ALT +strafe"
|
||||
LOADOUT_SWITCH
|
||||
|
||||
|
||||
// Netgraph
|
||||
// Shows the netgraph when the user press Tab.
|
||||
net_graphpos 2
|
||||
alias +showscores_netgraph "+showscores; net_graph 4"
|
||||
alias -showscores_netgraph "-showscores; net_graph 0"
|
||||
alias netgraph_on "bind TAB +showscores_netgraph"
|
||||
alias netgraph_off "bind TAB +showscores"
|
||||
SHOW_NETGRAPH
|
||||
|
||||
|
||||
// Spy-Checking Lines
|
||||
// Automatically says a spy-checking team chat line.
|
||||
alias +spy_mode "+spy1; +spy2; +spy3; +spy4; +spy5; +spy6; +spy7; +spy8; +spy9"
|
||||
alias -spy_mode "-spy1; -spy2; -spy3; -spy4; -spy5; -spy6; -spy7; -spy8; -spy9"
|
||||
alias +spy1 "bind 1 spy_check_scout_text"; alias -spy1 "bind 1 key1"
|
||||
alias +spy2 "bind 2 spy_check_soldier_text"; alias -spy2 "bind 2 key2"
|
||||
alias +spy3 "bind 3 spy_check_pyro_text"; alias -spy3 "bind 3 key3"
|
||||
alias +spy4 "bind 4 spy_check_demoman_text"; alias -spy4 "bind 4 key4"
|
||||
alias +spy5 "bind 5 spy_check_heavy_text"; alias -spy5 "bind 5 key5"
|
||||
alias +spy6 "bind 6 spy_check_engineer_text"; alias -spy6 "bind 6 key6"
|
||||
alias +spy7 "bind 7 spy_check_medic_text"; alias -spy7 "bind 7 key7"
|
||||
alias +spy8 "bind 8 spy_check_sniper_text"; alias -spy8 "bind 8 key8"
|
||||
alias +spy9 "bind 9 spy_check_spy_text"; alias -spy9 "bind 9 key9"
|
||||
alias spy_lines_on "bind SHIFT +spy_mode"
|
||||
alias spy_lines_off "unbind SHIFT"
|
||||
SPY_LINES
|
||||
|
||||
|
||||
// Suicide Explosion
|
||||
// To be used when the player is cornered and with no chance of escape.
|
||||
// Go out with a bang!
|
||||
alias suicide_on "bind F1 explode
|
||||
alias suicide_off "unbind F1"
|
||||
SUICIDE_EXPLOSION
|
26
cfg/scripts/reset.cfg
Normal file
26
cfg/scripts/reset.cfg
Normal file
@@ -0,0 +1,26 @@
|
||||
// Reset
|
||||
// Resets key bindings to their default state on class-switch.
|
||||
// Since class-specific files can change the key bindings, it's important to
|
||||
// return them to a neutral state each time the class changes.
|
||||
|
||||
// Reset the mouse controls.
|
||||
bind MOUSE1 +attack
|
||||
bind MOUSE2 +attack2
|
||||
bind MOUSE3 +attack3
|
||||
bind MWHEELUP invprev
|
||||
bind MWHEELDOWN invnext
|
||||
|
||||
// Reset all numbers.
|
||||
alias key0 slot10; bind 0 key0
|
||||
alias key1 slot1; bind 1 key1
|
||||
alias key2 slot2; bind 2 key2
|
||||
alias key3 slot3; bind 3 key3
|
||||
alias key4 slot4; bind 4 key4
|
||||
alias key5 slot5; bind 5 key5
|
||||
alias key6 slot6; bind 6 key6
|
||||
alias key7 slot7; bind 7 key7
|
||||
alias key8 slot8; bind 8 key8
|
||||
alias key9 slot9; bind 9 key9
|
||||
|
||||
// Reset any other affected keys.
|
||||
bind F inspect
|
44
cfg/scripts/settings.cfg
Normal file
44
cfg/scripts/settings.cfg
Normal file
@@ -0,0 +1,44 @@
|
||||
// Settings
|
||||
// User-configurable settings for the script pack.
|
||||
|
||||
// AUTO_CROUCH_JUMP
|
||||
// Values: crouch_on | crouch_off
|
||||
// When set to crouch_on, automatically crouches when holding the jump button.
|
||||
alias AUTO_CROUCH_JUMP "crouch_on"
|
||||
|
||||
// AUTO_DISGUISE
|
||||
// Values: disguise_on | disguise_off
|
||||
// Set to disguise_on to activate automatic disguise functions on Spy.
|
||||
// Set to disguise_off to de-activate them.
|
||||
// Note: be careful when placing sappers or otherwise using MOUSE1 without
|
||||
// meaning to attack, as this will automatically change the disguise. Use
|
||||
// MOUSE3 to perform a normal attack.
|
||||
alias AUTO_DISGUISE "disguise_on"
|
||||
|
||||
// CLEAR_CONSOLE_ON_START
|
||||
// Values: clear_on | clear_off
|
||||
// Set to disguise_on if you want the developer console to be cleared once
|
||||
// main.cfg is run (when the game starts). Otherwise, leave empty.
|
||||
alias CLEAR_CONSOLE_ON_START "clear_on"
|
||||
|
||||
// LOADOUT_SWITCH
|
||||
// Values: loadout_on | loadout_off
|
||||
// If set to loadout_on, the Alt+Num combination will switch to one of four
|
||||
// loadouts.
|
||||
alias LOADOUT_SWITCH "loadout_on"
|
||||
|
||||
// SHOW_NETGRAPH
|
||||
// Values: netgraph_on | netgraph_off
|
||||
// Shows the netgraph when the user press Tab.
|
||||
alias SHOW_NETGRAPH "netgraph_on"
|
||||
|
||||
// SPY_LINES
|
||||
// Values: spy_lines_on | spy_lines_off
|
||||
// If set to spy_lines_on, the Shift+Num combination will say a line
|
||||
// naming the class which has been spotted.
|
||||
alias SPY_LINES "spy_lines_on"
|
||||
|
||||
// SUICIDE_EXPLOSION
|
||||
// Values: suicide_on | suicide_off
|
||||
// If set to suicide_on, pressing F1 will make the player explode.
|
||||
alias SUICIDE_EXPLOSION "suicide_on"
|
1
cfg/sniper.cfg
Normal file
1
cfg/sniper.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/sniper.cfg
|
1
cfg/soldier.cfg
Normal file
1
cfg/soldier.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/soldier.cfg
|
1
cfg/spy.cfg
Normal file
1
cfg/spy.cfg
Normal file
@@ -0,0 +1 @@
|
||||
exec scripts/classes/spy.cfg
|
Reference in New Issue
Block a user