# 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 default: # voice-based doubles double e: type: impulse primary: voice medic secondary: voice activate uber condition: mouse4 double t: type: impulse primary: voice thanks secondary: voice nice shot condition: mouse4 double v: type: impulse primary: voice spy secondary: voice help condition: mouse4 # hold doubles double r: condition: mouse4 cancel: both type: hold 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" # other impulse =: kill impulse -: explode double q: type: impulse primary: lastinv secondary: - "slot2" - "wait 10" - "slot1" condition: mouse4 double ctrl: # I use shift to crouch type: impulse primary: voice yes secondary: voice no condition: mouse4 # toggle toggle capslock: +voicerecord hold space: - "+duck" - "+jump" # 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" - "alias maybe_move_left +moveleft" release: - "-moveleft" - "maybe_move_right" - "unalias maybe_move_left" hold d: press: - "-moveleft" - "+moveright" - "alias maybe_move_right +moveright" release: - "-moveright" - "maybe_move_left" - "unalias maybe_move_right" # both do something different for engi bind mouse5: +jump bind 4: slot4 # This just stops an error message the first time you release # either of 'a' or 'd' impulse maybe_move_left: alias: yes command: "" impulse maybe_move_right: alias: yes command: "" impulse load0: alias: yes command: "loadout a" impulse load1: alias: yes command: "loadout b" impulse load2: alias: yes command: "loadout c" impulse load3: alias: yes command: "loadout d" 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" literal set_default_loadout: alias reload_presets load0 impulse alt: reload_presets 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 soldier: # I want control over how high I jump bind space: +jump 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" double e: type: impulse condition: mouse4 primary: voice medic secondary: voice uber ready