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:
@@ -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"
|
Reference in New Issue
Block a user