32 lines
1.4 KiB
INI
32 lines
1.4 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 scroll1 "slot1; alias scroll_up scroll3; alias scroll_down scroll2"
|
|
alias scroll2 "slot2; alias scroll_up scroll1; alias scroll_down scroll3"
|
|
alias scroll3 "slot3; alias scroll_up scroll2; alias scroll_down scroll1"
|
|
alias scroll_on "alias scroll_up invprev; alias scroll_down invnext"
|
|
alias scroll_off "scroll1"
|
|
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 scroll1; alias key2 scroll2; alias key3 scroll3; buildings_4; alias key8 slot8; alias key9 slot9; scroll_off"
|
|
bind MWHEELUP scroll_up
|
|
bind MWHEELDOWN scroll_down
|
|
ENGINEER_PDA |