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:
Lyrositor
2014-02-21 23:05:08 +01:00
parent 0ed094eac3
commit 7f5acc2c46
33 changed files with 519 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,7 @@
// Medic Scripting
exec scripts/reset.cfg
exec scripts/reset.cfg
// Medic Music
// Plays "MEDIC!" on first class load.
medic_music

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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