Rework lang to use captions

This replaces the earlier developer console system.

Also performs a small change to the way the ENGINEER_PDA setting works.
This commit is contained in:
Lyrositor
2014-02-22 22:42:53 +01:00
parent 7dbaeffc43
commit cca4bb569e
50 changed files with 58 additions and 403 deletions

View File

@@ -10,14 +10,16 @@ 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 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; bind 4 key4; alias key5 slot5; bind 5 key5"
alias pda_off "unbind 4; unbind 5;"
alias pda_on "alias key4 slot4; alias key5 slot5; buildings_6"
alias pda_off "buildings_4; alias key8 slot8; alias key9 slot9"
ENGINEER_PDA