Files
TF2-Scripts/cfg/engineer.cfg
Lyrositor 6320e83b09 Change ENGINEER_PDA's effect.
When set to off, now completely hides the PDAs.
2014-02-23 10:06:16 +01:00

35 lines
1.5 KiB
INI

// Engineer Scripting
exec _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 sentry "destroy 2 0; build 2 0;" // Sentry Gun
alias dispenser "destroy 0 0; build 0 0;" // Dispenser
alias t_entrance "destroy 1 0; build 1 0;" // Teleporter Entrance
alias t_exit "destroy 1 1; build 1 1;" // Teleporter Exit
alias buildings_4 "alias key4 sentry; alias key5 dispenser; alias key6 t_entrance; alias key7 t_exit"
alias buildings_6 "alias key6 sentry; alias key7 dispenser; alias key8 t_entrance; alias key9 t_exit"
// PDA
// Enables or disables the Engineer's PDA.
alias scroll_1 "slot1; alias scroll_up scroll_3; alias scroll_down scroll_2"
alias scroll_2 "slot2; alias scroll_up scroll_1; alias scroll_down scroll_3"
alias scroll_3 "slot3; alias scroll_up scroll_2; alias scroll_down scroll_1"
alias scroll_on "alias scroll_up invprev; alias scroll_down invnext"
alias scroll_off "scroll_1"
alias key1_off "slot1; scroll_1"
alias key2_off "slot2; scroll_2"
alias key3_off "slot3; scroll_3"
alias pda_on "alias key1 slot1; alias key2 slot2; alias key3 slot3; alias key4 slot4; alias key5 slot5; buildings_6; scroll_on"
alias pda_off "alias key1 key1_off; alias key2 key2_off; alias key3 key3_off; buildings_4; alias key8 slot8; alias key9 slot9; scroll_off"
bind MWHEELUP scroll_up
bind MWHEELDOWN scroll_down
ENGINEER_PDA