This replaces the earlier developer console system. Also performs a small change to the way the ENGINEER_PDA setting works.
25 lines
907 B
INI
25 lines
907 B
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 pda_on "alias key4 slot4; alias key5 slot5; buildings_6"
|
|
alias pda_off "buildings_4; alias key8 slot8; alias key9 slot9"
|
|
ENGINEER_PDA |