tfscript/examples/nicks_config.yaml

181 lines
3.9 KiB
YAML
Raw Normal View History

2022-08-19 21:34:32 -04:00
# These are my configs! Feel free to download and use,
# modify, or w/e, but no pull requests will be accepted if they change this.
# You can always do a pull request to make a new file
# It uses a ton of doubles, and certain keys like
# wasd, mouse 1-3, and some others aren't listed because
# those keys are basically static and don't change
2022-08-14 15:48:29 -04:00
default:
# voice-based doubles
2022-08-19 21:34:32 -04:00
double e:
2022-09-17 22:17:42 -04:00
type: impulse
primary: voice medic
secondary: voice activate uber
2022-08-19 21:34:32 -04:00
condition: mouse4
double t:
2022-09-17 22:17:42 -04:00
type: impulse
primary: voice thanks
secondary: voice nice shot
2022-08-19 21:34:32 -04:00
condition: mouse4
double v:
2022-09-17 22:17:42 -04:00
type: impulse
primary: voice spy
secondary: voice help
2022-08-19 21:34:32 -04:00
condition: mouse4
2022-08-14 15:48:29 -04:00
# hold doubles
2022-08-19 21:34:32 -04:00
double r:
2022-10-02 12:13:04 -04:00
condition: mouse4
cancel: both
2022-09-17 22:17:42 -04:00
type: hold
2022-10-02 14:28:18 -04:00
primary: +reload
secondary: +class_action
# class action is something useful for each class,
# like destroying and rebuilding a sentry for the engineer
# this is just the default. I do a lot of hybridknight and
# mantread soldier so having a melee/main weapon switch bind
# is useful
hold class_action:
alias: yes
press:
- "slot3"
- "wait 10"
- "slot1"
2022-08-14 15:48:29 -04:00
# other
2022-09-17 22:17:42 -04:00
impulse =: kill
impulse -: explode
2022-08-19 21:34:32 -04:00
double q:
2022-09-17 22:17:42 -04:00
type: impulse
primary: lastinv
secondary:
2022-08-19 21:34:32 -04:00
- "slot2"
- "wait 10"
- "slot1"
condition: mouse4
double ctrl:
# I use shift to crouch
2022-09-17 22:17:42 -04:00
type: impulse
primary: voice yes
secondary: voice no
2022-08-19 21:34:32 -04:00
condition: mouse4
2022-08-14 15:48:29 -04:00
# toggle
2022-09-17 22:17:42 -04:00
toggle capslock: +voicerecord
2022-08-14 15:48:29 -04:00
2022-10-31 16:29:08 -04:00
hold space:
- "+duck"
- "+jump"
2022-08-19 21:34:32 -04:00
# hold: null-cancelled movement, so hitting a while holding d causes
# me to go left instead of stopping, or vice-versa.
hold a:
press:
- "-moveright"
- "+moveleft"
2022-10-02 12:13:04 -04:00
- "alias maybe_move_left +moveleft"
2022-08-19 21:34:32 -04:00
release:
- "-moveleft"
2022-10-02 12:13:04 -04:00
- "maybe_move_right"
- "unalias maybe_move_left"
2022-08-19 21:34:32 -04:00
hold d:
press:
- "-moveleft"
- "+moveright"
2022-10-02 12:13:04 -04:00
- "alias maybe_move_right +moveright"
2022-08-19 21:34:32 -04:00
release:
- "-moveright"
2022-10-02 12:13:04 -04:00
- "maybe_move_left"
- "unalias maybe_move_right"
# both do something different for engi
bind mouse5: +jump
bind 4: slot4
2022-08-19 21:34:32 -04:00
# This just stops an error message the first time you release
# either of 'a' or 'd'
2022-10-02 12:13:04 -04:00
impulse maybe_move_left:
2022-08-19 21:34:32 -04:00
alias: yes
command: ""
2022-10-02 12:13:04 -04:00
impulse maybe_move_right:
2022-08-19 21:34:32 -04:00
alias: yes
command: ""
2022-08-14 15:48:29 -04:00
2022-08-19 21:34:32 -04:00
impulse load0:
2022-08-14 15:48:29 -04:00
alias: yes
2022-10-02 12:13:04 -04:00
command: "loadout a"
2022-08-19 21:34:32 -04:00
impulse load1:
2022-08-14 15:48:29 -04:00
alias: yes
2022-10-02 12:13:04 -04:00
command: "loadout b"
2022-08-19 21:34:32 -04:00
impulse load2:
2022-08-14 15:48:29 -04:00
alias: yes
2022-10-02 12:13:04 -04:00
command: "loadout c"
2022-08-19 21:34:32 -04:00
impulse load3:
2022-08-14 15:48:29 -04:00
alias: yes
2022-10-02 12:13:04 -04:00
command: "loadout d"
2022-08-14 15:48:29 -04:00
2022-08-19 21:34:32 -04:00
impulse INS:
- "load0"
- "alias reload_presets load0"
impulse HOME:
- "load1"
- "alias reload_presets load1"
impulse DEL:
- "load2"
- "alias reload_presets load2"
impulse END:
- "load3"
- "alias reload_presets load3"
2022-10-02 12:13:04 -04:00
literal set_default_loadout:
alias reload_presets load0
2022-10-31 16:29:08 -04:00
impulse alt:
2022-10-02 12:13:04 -04:00
reload_presets
2022-08-19 21:34:32 -04:00
engi:
hold class_action:
alias: yes
press:
- destroy sentry
- build sentry
double 4:
type: double
condition: mouse4
primary:
type: impulse
condition: mouse5
primary:
- destroy dispenser
- build dispenser
secondary:
- destroy exit
- build exit
secondary:
type: impulse
condition: mouse5
primary:
- destroy entrance
- build entrance
secondary:
- destroy entrance
- build entrance
2022-08-19 21:34:32 -04:00
2022-12-16 16:11:21 -05:00
soldier:
# I want control over how high I jump
bind space: +jump
2022-08-19 21:34:32 -04:00
medic:
# "Radar" feature: causes all teammates to autocall for medic, allowing
# me to see where they are
hold class_action:
alias: yes
press: "hud_medicautocallersthreshold 150"
release: "hud_medicautocallersthreshold 75"
2022-09-17 22:17:42 -04:00
double e:
type: impulse
condition: mouse4
primary: voice medic
secondary: voice uber ready