Lots of new features.
Includes a rocket jump script for the Soldier, a music player, a new font for the developer console and more.
This commit is contained in:
25
README.md
25
README.md
@@ -3,15 +3,20 @@ TF2-Scripts
|
||||
|
||||
*A collection of scripts I have found to be useful for playing Team Fortress 2.*
|
||||
|
||||
**Note:** this collection makes no use of `wait` commands, ensuring maximum compatibility on all servers.
|
||||
|
||||
## 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).
|
||||
* **Debug Output:** prints debug messages to the screen (such as current spy disguise and so on). A custom resource file changes the font to use TF2's custom font.
|
||||
* **Auto Crouch-Jump:** automatically makes you crouch-jump when playing the spacebar.
|
||||
* **Loadout Switch:** binds 4 Shift key combinations to each loadout.
|
||||
* **Music Player:** cycles through Team Fortress 2's music files when pressing the `;` key. Can also automatically play a song on class select.
|
||||
* **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.
|
||||
* **Engineer: Building Bindings:** binds keys 6 through 9 to the Engineer's buildings, automatically destroying any existing buildings when pressed. You can also disable the PDA numeric keys.
|
||||
* **Soldier: Rocket Jump:** a simple rocket jump script bound to MOUSE3. Does not provide optimal jump, but is a reliable way to rocket jump. Aim the rocket launcher at the ground before clicking.
|
||||
* **Spy: Taunt:** automatically un-disguises the Spy before performing a taunt. If pressing G once doesn't work for you, always quickly press G twice.
|
||||
* **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.
|
||||
|
||||
@@ -20,10 +25,26 @@ TF2-Scripts comes with several settings used to disable certain undesired featur
|
||||
* `AUTO_CROUCH_JUMP`
|
||||
* `AUTO_DISGUISE`
|
||||
* `CLEAR_CONSOLE_ON_START`
|
||||
* `DEBUG_OUTPUT_ON_START`
|
||||
* `ENGINEER_PDA`
|
||||
* `MUSIC_PLAYER`
|
||||
* `MUSIC_PLAYER_CLASSES`
|
||||
* `LOADOUT_SWITCH`
|
||||
* `SHOW_NETGRAPH`
|
||||
* `SOLDIER_ROCKET_JUMP`
|
||||
* `SPY_LINES`
|
||||
* `SPY_TAUNT`
|
||||
* `SUICIDE_EXPLOSION`
|
||||
|
||||
## Installation ##
|
||||
To install, locate your Team Fortress 2 installation's `custom` folder (usually located at `C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom` on Windows), then copy-and-paste the `TF2-Scripts` there.
|
||||
|
||||
## Credits ##
|
||||
The scripts bundled together would not have been possibly were it not for the scripts and tutorials provided by the following people:
|
||||
* The [Team Fortress 2 Wiki](http://wiki.teamfortress.com) contributors for their scripting tutorials,
|
||||
* [Zoolooman](http://wiki.teamfortress.com/wiki/User:Zoolooman) for his `echo` [tutorial](http://wiki.teamfortress.com/wiki/User:Zoolooman/Scripting),
|
||||
* Dr.Device's [Toggle Auto Disguise on attack V1.2](http://tf2wiki.net/wiki/spy_scripts#Toggle_Auto_Disguise_on_attack) script for Spy, upon which the auto disguise functionality is based,
|
||||
* [TheFifthWheel](http://gamebanana.com/members/1350351)'s [TF2 Jukebox Script](http://tf2.gamebanana.com/scripts/8268), used as inspiration for the music player (special thanks for providing the names of the music files),
|
||||
* INsane for his [developer console font file information](http://www.dodbits.com/dods/index.php/source-graphics/source-gui-hud-tutorials/33-console-font-color-and-size),
|
||||
* josh33901 for his rocket jump suggestion.
|
||||
As best as I can recall, all other scripts are written by me, using various tutorials and my own discoveries. If you feel your script was not credited, or you want me to cease distributing your script, send me a message and I will either add credit where it is due or remove your script.
|
@@ -1,3 +1,7 @@
|
||||
// Demoman Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Demoman Music
|
||||
// Plays "Drunken Pipe Bomb" on first class load.
|
||||
demoman_music
|
@@ -2,10 +2,22 @@
|
||||
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Engineer Music
|
||||
// Plays "More Gun" on first class load.
|
||||
engineer_music
|
||||
|
||||
|
||||
// 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
|
||||
alias key9 "destroy 1 1; build 1 1;" // Teleporter Exit
|
||||
|
||||
|
||||
// PDA
|
||||
// Enables or disables the Engineer's PDA.
|
||||
alias pda_on "alias key4 slot4; bind 4 key4; alias key5 slot5; bind 5 key5"
|
||||
alias pda_off "unbind 4; unbind 5;"
|
||||
ENGINEER_PDA
|
@@ -1,3 +1,7 @@
|
||||
// Heavy Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Heavy Music
|
||||
// Plays "Playing With Danger" on first class load.
|
||||
heavyweapons_music
|
@@ -1,3 +1,7 @@
|
||||
// Medic Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Medic Music
|
||||
// Plays "MEDIC!" on first class load.
|
||||
medic_music
|
@@ -1,3 +1,7 @@
|
||||
// Pyro Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Pyro Music
|
||||
// Plays "Dreams of Cruelty" on first class load.
|
||||
pyro_music
|
@@ -1,3 +1,7 @@
|
||||
// Scout Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Scout Music
|
||||
// Plays "Faster Than a Speeding Bullet" on first class load.
|
||||
scout_music
|
@@ -1,3 +1,7 @@
|
||||
// Sniper Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Sniper Music
|
||||
// Plays "Intruder Alert" on first class load.
|
||||
sniper_music
|
@@ -1,3 +1,17 @@
|
||||
// Soldier Scripting
|
||||
|
||||
exec scripts/reset.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Soldier Music
|
||||
// Plays "The Art of War" on first class load.
|
||||
soldier_music
|
||||
|
||||
|
||||
// Rocket Jump
|
||||
// A simple rocket jump script. Doesn't achieve the best height, since it
|
||||
// doesn't use any wait commands, but it still provides a decent jump.
|
||||
alias +rocket_jump "+jump; +duck; +attack"
|
||||
alias -rocket_jump "-jump; -duck; -attack"
|
||||
alias rocket_on "bind MOUSE3 +rocket_jump"
|
||||
alias rocket_off "bind MOUSE3 +attack3"
|
||||
SOLDIER_ROCKET_JUMP
|
@@ -3,6 +3,22 @@
|
||||
exec scripts/settings.cfg
|
||||
exec scripts/reset.cfg
|
||||
|
||||
// Spy Music
|
||||
// Plays "Right Behind You" on first class load.
|
||||
spy_music
|
||||
|
||||
|
||||
// Taunt
|
||||
// Automatically undisguises the spy before performing a taunt.
|
||||
// Note: most of the time, removing the disguise will not happen quickly
|
||||
// enough. If that is the case, you will be undisguised, but you will not
|
||||
// taunt. Therefore, always press G twice in a row to taunt.
|
||||
alias +spy_taunt "disguise 8 -2; disguise_remove_text; +taunt"
|
||||
alias -spy_taunt "-taunt"
|
||||
alias spy_taunt_on "bind G +spy_taunt"
|
||||
alias spy_taunt_off "bind G +taunt"
|
||||
SPY_TAUNT
|
||||
|
||||
// Disguises
|
||||
// Keys 5-9 are used to quickly disguise.
|
||||
alias key5 "disguise 4 -1; disguise_demoman_text" // Demoman
|
||||
|
@@ -8,6 +8,26 @@ 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 music_1_text "exec scripts/lang/music_1_text.cfg"
|
||||
alias music_2_text "exec scripts/lang/music_2_text.cfg"
|
||||
alias music_3_text "exec scripts/lang/music_3_text.cfg"
|
||||
alias music_4_text "exec scripts/lang/music_4_text.cfg"
|
||||
alias music_5_text "exec scripts/lang/music_5_text.cfg"
|
||||
alias music_6_text "exec scripts/lang/music_6_text.cfg"
|
||||
alias music_7_text "exec scripts/lang/music_7_text.cfg"
|
||||
alias music_8_text "exec scripts/lang/music_8_text.cfg"
|
||||
alias music_9_text "exec scripts/lang/music_9_text.cfg"
|
||||
alias music_10_text "exec scripts/lang/music_10_text.cfg"
|
||||
alias music_11_text "exec scripts/lang/music_11_text.cfg"
|
||||
alias music_12_text "exec scripts/lang/music_12_text.cfg"
|
||||
alias music_13_text "exec scripts/lang/music_13_text.cfg"
|
||||
alias music_14_text "exec scripts/lang/music_14_text.cfg"
|
||||
alias music_15_text "exec scripts/lang/music_15_text.cfg"
|
||||
alias music_16_text "exec scripts/lang/music_16_text.cfg"
|
||||
alias music_17_text "exec scripts/lang/music_17_text.cfg"
|
||||
alias music_18_text "exec scripts/lang/music_18_text.cfg"
|
||||
alias music_19_text "exec scripts/lang/music_19_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"
|
||||
|
1
cfg/scripts/lang/music_10_text.cfg
Normal file
1
cfg/scripts/lang/music_10_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: More Gun"
|
1
cfg/scripts/lang/music_11_text.cfg
Normal file
1
cfg/scripts/lang/music_11_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: A Little Heart to Heart"
|
1
cfg/scripts/lang/music_12_text.cfg
Normal file
1
cfg/scripts/lang/music_12_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: MEDIC!"
|
1
cfg/scripts/lang/music_13_text.cfg
Normal file
1
cfg/scripts/lang/music_13_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Archimedes"
|
1
cfg/scripts/lang/music_14_text.cfg
Normal file
1
cfg/scripts/lang/music_14_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Dreams of Cruelty"
|
1
cfg/scripts/lang/music_15_text.cfg
Normal file
1
cfg/scripts/lang/music_15_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: The Calm"
|
1
cfg/scripts/lang/music_16_text.cfg
Normal file
1
cfg/scripts/lang/music_16_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: ROBOTS!"
|
1
cfg/scripts/lang/music_17_text.cfg
Normal file
1
cfg/scripts/lang/music_17_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: TF2 Saxxy 2011 Theme"
|
1
cfg/scripts/lang/music_18_text.cfg
Normal file
1
cfg/scripts/lang/music_18_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Haunted Fortress 2"
|
1
cfg/scripts/lang/music_19_text.cfg
Normal file
1
cfg/scripts/lang/music_19_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Mann vs. Machine Upgrade Station Music (Unused)"
|
1
cfg/scripts/lang/music_1_text.cfg
Normal file
1
cfg/scripts/lang/music_1_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Team Fortress 2 (Main Theme)"
|
1
cfg/scripts/lang/music_2_text.cfg
Normal file
1
cfg/scripts/lang/music_2_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Playing With Danger"
|
1
cfg/scripts/lang/music_3_text.cfg
Normal file
1
cfg/scripts/lang/music_3_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Rocket Jump Waltz"
|
1
cfg/scripts/lang/music_4_text.cfg
Normal file
1
cfg/scripts/lang/music_4_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: The Art of War"
|
1
cfg/scripts/lang/music_5_text.cfg
Normal file
1
cfg/scripts/lang/music_5_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Faster Than a Speeding Bullet"
|
1
cfg/scripts/lang/music_6_text.cfg
Normal file
1
cfg/scripts/lang/music_6_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Petite Chou-Fleur"
|
1
cfg/scripts/lang/music_7_text.cfg
Normal file
1
cfg/scripts/lang/music_7_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Right Behind You"
|
1
cfg/scripts/lang/music_8_text.cfg
Normal file
1
cfg/scripts/lang/music_8_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Intruder Alert"
|
1
cfg/scripts/lang/music_9_text.cfg
Normal file
1
cfg/scripts/lang/music_9_text.cfg
Normal file
@@ -0,0 +1 @@
|
||||
echo "| Currently Playing: Drunken Pipe Bomb"
|
@@ -1,6 +1,9 @@
|
||||
// TF2 Scripts v1.0
|
||||
// Provides utility scripts for all TF2 classes.
|
||||
|
||||
// Create an empty alias, to "unbind" aliases.
|
||||
alias empty ""
|
||||
|
||||
exec scripts/settings.cfg
|
||||
exec scripts/lang/_main.cfg
|
||||
exec scripts/reset.cfg
|
||||
@@ -8,13 +11,14 @@ 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.
|
||||
con_notifytime 4 // 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
|
||||
DEBUG_OUTPUT_ON_START
|
||||
|
||||
|
||||
// Auto Crouch-Jump
|
||||
@@ -49,6 +53,49 @@ alias loadout_off "bind ALT +strafe"
|
||||
LOADOUT_SWITCH
|
||||
|
||||
|
||||
// Music Player
|
||||
// Lets the user play music from his music folder.
|
||||
alias music_1 "play /ui/gamestartup1.mp3; music_1_text; alias next_music music_2"
|
||||
alias music_2 "play /ui/gamestartup2.mp3; music_2_text; alias next_music music_3"
|
||||
alias music_3 "play /ui/gamestartup3.mp3; music_3_text; alias next_music music_4"
|
||||
alias music_4 "play /ui/gamestartup4.mp3; music_4_text; alias next_music music_5"
|
||||
alias music_5 "play /ui/gamestartup5.mp3; music_5_text; alias next_music music_6"
|
||||
alias music_6 "play /ui/gamestartup6.mp3; music_6_text; alias next_music music_7"
|
||||
alias music_7 "play /ui/gamestartup7.mp3; music_7_text; alias next_music music_8"
|
||||
alias music_8 "play /ui/gamestartup8.mp3; music_8_text; alias next_music music_9"
|
||||
alias music_9 "play /ui/gamestartup9.mp3; music_9_text; alias next_music music_10"
|
||||
alias music_10 "play /ui/gamestartup10.mp3; music_10_text; alias next_music music_11"
|
||||
alias music_11 "play /ui/gamestartup11.mp3; music_11_text; alias next_music music_12"
|
||||
alias music_12 "play /ui/gamestartup12.mp3; music_12_text; alias next_music music_13"
|
||||
alias music_13 "play /ui/gamestartup13.mp3; music_13_text; alias next_music music_14"
|
||||
alias music_14 "play /ui/gamestartup14.mp3; music_14_text; alias next_music music_15"
|
||||
alias music_15 "play /ui/gamestartup15.mp3; music_15_text; alias next_music music_16"
|
||||
alias music_16 "play /ui/gamestartup16.mp3; music_16_text; alias next_music music_17"
|
||||
alias music_17 "play /ui/holiday/gamestartup_saxxy.mp3; music_17_text; alias next_music music_18"
|
||||
alias music_18 "play /ui/holiday/gamestartup_halloween.mp3; music_18_text; alias next_music music_19"
|
||||
alias music_19 "play /items/tf_music_upgrade_machine.wav; music_19_text; alias next_music music_1"
|
||||
alias next_music "music_1"
|
||||
alias music_on "bind SEMICOLON next_music"
|
||||
alias music_off "unbind SEMICOLON"
|
||||
MUSIC_PLAYER
|
||||
|
||||
|
||||
// Music Player - Classes
|
||||
// Plays the classes' music once.
|
||||
alias demoman_music_on "music_9; alias demoman_music empty"
|
||||
alias engineer_music_on "music_10; alias engineer_music empty"
|
||||
alias heavyweapons_music_on "music_2; alias heavyweapons_music empty"
|
||||
alias medic_music_on "music_12; alias medic_music empty"
|
||||
alias pyro_music_on "music_14; alias pyro_music empty"
|
||||
alias scout_music_on "music_5; alias scout_music empty"
|
||||
alias sniper_music_on "music_8; alias sniper_music empty"
|
||||
alias soldier_music_on "music_4; alias soldier_music empty"
|
||||
alias spy_music_on "music_7; alias spy_music empty"
|
||||
alias music_classes_on "alias demoman_music demoman_music_on; alias engineer_music engineer_music_on; alias heavyweapons_music heavyweapons_music_on; alias medic_music medic_music_on; alias pyro_music pyro_music_on; alias scout_music scout_music_on; alias sniper_music sniper_music_on; alias soldier_music soldier_music_on; alias spy_music spy_music_on"
|
||||
alias music_classes_off "alias demoman_music empty; alias engineer_music empty; alias heavyweapons_music empty; alias medic_music empty; alias pyro_music empty; alias scout_music empty; alias sniper_music empty; alias soldier_music empty; alias spy_music empty;"
|
||||
MUSIC_PLAYER_CLASSES
|
||||
|
||||
|
||||
// Netgraph
|
||||
// Shows the netgraph when the user press Tab.
|
||||
net_graphpos 2
|
||||
@@ -82,4 +129,4 @@ SPY_LINES
|
||||
// Go out with a bang!
|
||||
alias suicide_on "bind F1 explode
|
||||
alias suicide_off "unbind F1"
|
||||
SUICIDE_EXPLOSION
|
||||
SUICIDE_EXPLOSION
|
@@ -21,24 +21,60 @@ alias AUTO_DISGUISE "disguise_on"
|
||||
// main.cfg is run (when the game starts). Otherwise, leave empty.
|
||||
alias CLEAR_CONSOLE_ON_START "clear_on"
|
||||
|
||||
// DEBUG_OUTPUT_ON_START
|
||||
// Values: show_output | hide_output
|
||||
// Set to show_output to display the debug output by default on start.
|
||||
alias DEBUG_OUTPUT_ON_START "show_output"
|
||||
|
||||
// ENGINEER_PDA
|
||||
// Values: pda_on | pda_off
|
||||
// Enables or disables the Engineer's construction and destruction PDA (not
|
||||
// essential with the additional key bindings).
|
||||
// You can still bring it up with mouse scroll.
|
||||
alias ENGINEER_PDA "pda_off"
|
||||
|
||||
// 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"
|
||||
|
||||
// MUSIC_PLAYER
|
||||
// Values: music_on | music_off
|
||||
// If set to music_on, pressing ";" will cycle through Team Fortress 2's OST.
|
||||
alias MUSIC_PLAYER "music_on"
|
||||
|
||||
// MUSIC_PLAYER_CLASSES
|
||||
// Values: music_classes_on | music_classes_off
|
||||
// If set to music_class_on, selecting a class for the first time during a game
|
||||
// session will play that class' associated music, usually taken from the Meet
|
||||
// the Team videos.
|
||||
alias MUSIC_PLAYER_CLASSES "music_classes_off"
|
||||
|
||||
// SHOW_NETGRAPH
|
||||
// Values: netgraph_on | netgraph_off
|
||||
// Shows the netgraph when the user press Tab.
|
||||
alias SHOW_NETGRAPH "netgraph_off"
|
||||
|
||||
// SOLDIER_ROCKET_JUMP
|
||||
// Values: rocket_on | rocket_off
|
||||
// If set to rocket_on, pressing MOUSE3 as a Soldier will make the player
|
||||
// rocket jump.
|
||||
alias SOLDIER_ROCKET_JUMP "rocket_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"
|
||||
|
||||
// SPY_TAUNT
|
||||
// Values: spy_taunt_on | spy_taunt_off
|
||||
// If set to spy_taunt_on, pressing G will un-disguise the Spy and make him
|
||||
// perform a taunt. Press G twice to ensure that the taunt is always performed.
|
||||
alias SPY_TAUNT "spy_taunt_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"
|
||||
alias SUICIDE_EXPLOSION "suicide_on"
|
297
resource/sourcescheme.res
Normal file
297
resource/sourcescheme.res
Normal file
@@ -0,0 +1,297 @@
|
||||
#base "SourceSchemeBase.res"
|
||||
|
||||
Scheme
|
||||
{
|
||||
//////////////////////// COLORS ///////////////////////////
|
||||
// color details
|
||||
// this is a list of all the colors used by the scheme
|
||||
Colors
|
||||
{
|
||||
"TFDarkBrown" "60 56 53 255"
|
||||
"TFDarkBrownTransparent" "60 56 53 190"
|
||||
"TFTanBright" "236 227 203 150"
|
||||
"TFTanLight" "201 188 162 150"
|
||||
"TFTanMedium" "131 121 104 150"
|
||||
|
||||
"TFTanLightBright" "229 223 211 90"
|
||||
"TFTanLightDark" "96 90 78 90"
|
||||
|
||||
"TFOrangeBright" "156 82 33 255"
|
||||
|
||||
"TFTextBright" "251 236 203 150"
|
||||
"TFTextLight" "201 188 162 255"
|
||||
"TFTextMedium" "131 121 104 255"
|
||||
"TFTextMediumDark" "104 96 83 255"
|
||||
"TFTextBlack" "42 39 37 255"
|
||||
"TFTextDull" "131 121 104 255"
|
||||
|
||||
"TFMediumBrown" "69 64 58 255"
|
||||
|
||||
"QuickListBGDeselected" "69 64 58 255"
|
||||
"QuickListBGSelected" "131 121 104 150"
|
||||
|
||||
"Blank" "0 0 0 0"
|
||||
|
||||
// background colors
|
||||
"ControlBG" "76 88 68 255" // background color of controls
|
||||
"ControlDarkBG" "90 106 80 255" // darker background color; used for background of scrollbars
|
||||
"WindowBG" "62 70 55 255" // background color of text edit panes (chat, text entries, etc.)
|
||||
"SelectionBG" "90 84 75 255" // background color of any selected text or menu item
|
||||
"SelectionBG2" "69 64 57 255" // selection background in window w/o focus
|
||||
"ListBG" "39 36 34 255" // background of server browser, buddy list, etc.
|
||||
}
|
||||
BaseSettings
|
||||
{
|
||||
// scheme-specific colors
|
||||
Border.Bright "TFTanLightDark" // the lit side of a control
|
||||
Border.Dark "TFTanLightDark" // the dark/unlit side of a control
|
||||
Border.Selection "BorderSelection" // the additional border color for displaying the default/selected button
|
||||
|
||||
Button.TextColor "TFDarkBrown"
|
||||
Button.BgColor "TFTanLight"
|
||||
Button.ArmedTextColor "TFDarkBrown"
|
||||
Button.ArmedBgColor "TFTanBright"
|
||||
Button.DepressedTextColor "TFDarkBrown"
|
||||
Button.DepressedBgColor "TFTanLight"
|
||||
Button.FocusBorderColor "TransparentBlack"
|
||||
|
||||
CheckButton.TextColor "TFTextBright"
|
||||
CheckButton.SelectedTextColor "TFTextBright"
|
||||
CheckButton.BgColor "ListBG"
|
||||
CheckButton.HighlightFgColor "TFTextMedium"
|
||||
CheckButton.ArmedBgColor "Blank"
|
||||
CheckButton.DepressedBgColor "Blank"
|
||||
CheckButton.Border1 "Border.Dark" // the left checkbutton border
|
||||
CheckButton.Border2 "Border.Bright" // the right checkbutton border
|
||||
CheckButton.Check "TFTanBright" // color of the check itself
|
||||
CheckButton.DisabledBgColor "ListBG"
|
||||
|
||||
ToggleButton.SelectedTextColor "TFTextBright"
|
||||
|
||||
ComboBoxButton.ArrowColor "TFTanLight"
|
||||
ComboBoxButton.ArmedArrowColor "TFTanBright"
|
||||
ComboBoxButton.BgColor "Blank"
|
||||
ComboBoxButton.DisabledBgColor "Blank"
|
||||
|
||||
RadioButton.TextColor "TFTextBright"
|
||||
RadioButton.SelectedTextColor "TFTextBright"
|
||||
RadioButton.ArmedTextColor "TFTextMedium"
|
||||
|
||||
Frame.BgColor "TFDarkBrown"
|
||||
Frame.OutOfFocusBgColor "TFDarkBrownTransparent"
|
||||
FrameGrip.Color1 "TFTanMedium"
|
||||
FrameGrip.Color2 "TFDarkBrown"
|
||||
FrameTitleButton.FgColor "TFTanBright"
|
||||
FrameTitleBar.Font "DefaultLarge" [$WIN32]
|
||||
FrameTitleBar.TextColor "TFTanBright"
|
||||
FrameTitleBar.DisabledTextColor "TFTanLight"
|
||||
|
||||
Label.TextDullColor "TFTextDull"
|
||||
Label.TextColor "TFTextBright"
|
||||
Label.TextBrightColor "TFTextBright"
|
||||
Label.SelectedTextColor "TFTextBright"
|
||||
Label.BgColor "Blank"
|
||||
Label.DisabledFgColor1 "TFTextDull"
|
||||
Label.DisabledFgColor2 "Blank"
|
||||
|
||||
ListPanel.TextColor "TFTextBright"
|
||||
ListPanel.BgColor "ListBG"
|
||||
ListPanel.SelectedBgColor "SelectionBG"
|
||||
ListPanel.SelectedOutOfFocusBgColor "SelectionBG2"
|
||||
|
||||
MainMenu.TextColor "TanLight" [$WIN32]
|
||||
MainMenu.ArmedTextColor "117 107 94 255" [$WIN32]
|
||||
MainMenu.Inset "32"
|
||||
|
||||
Menu.TextInset "6"
|
||||
Menu.FgColor "TFTextLight"
|
||||
Menu.BgColor "ListBG"
|
||||
Menu.ArmedFgColor "TFTextBright"
|
||||
Menu.ArmedBgColor "TFOrangeBright"
|
||||
Menu.DividerColor "BorderDark"
|
||||
|
||||
ScrollBarButton.FgColor "TFDarkBrown"
|
||||
ScrollBarButton.BgColor "TFTanLight"
|
||||
ScrollBarButton.ArmedFgColor "TFDarkBrown"
|
||||
ScrollBarButton.ArmedBgColor "TFTanBright"
|
||||
ScrollBarButton.DepressedFgColor "TFDarkBrown"
|
||||
ScrollBarButton.DepressedBgColor "TFTanLight"
|
||||
|
||||
ScrollBarSlider.BgColor "TFTanMedium" // this isn't really used
|
||||
ScrollBarSlider.FgColor "TFTanLight" // handle with which the slider is grabbed
|
||||
|
||||
Slider.NobColor "TFTanLight"
|
||||
Slider.TextColor "TFTextBright"
|
||||
Slider.TrackColor "ListBG"
|
||||
Slider.DisabledTextColor1 "TFTextMediumDark"
|
||||
Slider.DisabledTextColor2 "Blank"
|
||||
|
||||
TextEntry.TextColor "TFTextBright"
|
||||
TextEntry.DisabledTextColor "TFTextMedium"
|
||||
TextEntry.SelectedBgColor "TFOrangeBright"
|
||||
}
|
||||
|
||||
Fonts
|
||||
{
|
||||
"DefaultFixedDropShadow"
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "TF2 Build"
|
||||
"tall" "15"
|
||||
"weight" "500"
|
||||
"dropshadow" "1"
|
||||
"additive" "0"
|
||||
"antialias" "1"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
"MainMenuFont"
|
||||
{
|
||||
"1" [$WIN32]
|
||||
{
|
||||
"name" "TF2 Build"
|
||||
"tall" "18"
|
||||
"weight" "500"
|
||||
"additive" "0"
|
||||
"antialias" "1"
|
||||
}
|
||||
}
|
||||
"MenuLarge"
|
||||
{
|
||||
"1" [$X360]
|
||||
{
|
||||
"tall_hidef" "24"
|
||||
}
|
||||
}
|
||||
|
||||
"ServerBrowserTitle"
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "TF2 Build"
|
||||
"tall" "35"
|
||||
"tall_lodef" "40"
|
||||
"weight" "500"
|
||||
"additive" "0"
|
||||
"antialias" "1"
|
||||
}
|
||||
}
|
||||
|
||||
"Default" [$OSX]
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "Verdana"
|
||||
"tall" "14"
|
||||
"weight" "500"
|
||||
}
|
||||
}
|
||||
|
||||
"ServerBrowserSmall"
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "Tahoma"
|
||||
"tall" "16"
|
||||
"weight" "0"
|
||||
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
|
||||
"yres" "480 599"
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "Tahoma"
|
||||
"tall" "16"
|
||||
"weight" "0"
|
||||
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
|
||||
"yres" "600 767"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Tahoma"
|
||||
"tall" "16"
|
||||
"weight" "0"
|
||||
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
|
||||
"yres" "768 1023"
|
||||
"antialias" "1"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Tahoma"
|
||||
"tall" "19"
|
||||
"weight" "0"
|
||||
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
|
||||
"yres" "1024 1199"
|
||||
"antialias" "1"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Tahoma"
|
||||
"tall" "19"
|
||||
"weight" "0"
|
||||
"range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A
|
||||
"yres" "1200 6000"
|
||||
"antialias" "1"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
AchievementItemTitle [$WIN32]
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "Arial" [!$OSX]
|
||||
"name" "Verdana Bold" [$OSX]
|
||||
"weight" "1500"
|
||||
"tall" "16" [!$OSX]
|
||||
"tall" "18" [$OSX]
|
||||
"antialias" "1"
|
||||
}
|
||||
}
|
||||
|
||||
AchievementItemTitleLarge [$WIN32]
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "Arial" [!$OSX]
|
||||
"name" "Verdana Bold" [$OSX]
|
||||
"weight" "1500"
|
||||
"tall" "18" [!$OSX]
|
||||
"tall" "19" [$OSX]
|
||||
"antialias" "1"
|
||||
}
|
||||
}
|
||||
|
||||
AchievementItemDescription [$WIN32]
|
||||
{
|
||||
"1"
|
||||
{
|
||||
"name" "Arial" [!$OSX]
|
||||
"name" "Verdana" [$OSX]
|
||||
"weight" "1000"
|
||||
"tall" "14" [!$OSX]
|
||||
"tall" "12" [$OSX]
|
||||
"antialias" "1" [!$OSX]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
CustomFontFiles
|
||||
{
|
||||
"9"
|
||||
{
|
||||
"font" "resource/TF2Build.ttf"
|
||||
"name" "TF2 Build"
|
||||
"russian"
|
||||
{
|
||||
"range" "0x0000 0xFFFF"
|
||||
}
|
||||
"polish"
|
||||
{
|
||||
"range" "0x0000 0xFFFF"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user