A few more changes

class_based_refactor
Nicholas Hope 2022-10-02 12:13:04 -04:00
parent f483beb0bd
commit a7552fad96
1 changed files with 17 additions and 16 deletions

View File

@ -26,11 +26,11 @@ default:
# hold doubles # hold doubles
double r: double r:
condition: mouse4
cancel: both
type: hold type: hold
primary: +class_action primary: +class_action
secondary: +reload secondary: +reload
condition: mouse4
cancel: both
# other # other
impulse =: kill impulse =: kill
@ -60,26 +60,26 @@ default:
press: press:
- "-moveright" - "-moveright"
- "+moveleft" - "+moveleft"
- "alias maybeMoveLeft +moveleft" - "alias maybe_move_left +moveleft"
release: release:
- "-moveleft" - "-moveleft"
- "maybeMoveRight" - "maybe_move_right"
- "alias maybeMoveLeft " - "unalias maybe_move_left"
hold d: hold d:
press: press:
- "-moveleft" - "-moveleft"
- "+moveright" - "+moveright"
- "alias maybeMoveRight +moveright" - "alias maybe_move_right +moveright"
release: release:
- "-moveright" - "-moveright"
- "maybeMoveLeft" - "maybe_move_left"
- "alias maybeMoveRight " - "unalias maybe_move_right"
# This just stops an error message the first time you release # This just stops an error message the first time you release
# either of 'a' or 'd' # either of 'a' or 'd'
impulse maybeMoveLeft: impulse maybe_move_left:
alias: yes alias: yes
command: "" command: ""
impulse maybeMoveRight: impulse maybe_move_right:
alias: yes alias: yes
command: "" command: ""
# class action is something useful for each class, # class action is something useful for each class,
@ -97,16 +97,16 @@ default:
impulse load0: impulse load0:
alias: yes alias: yes
command: "load_itempreset a" command: "loadout a"
impulse load1: impulse load1:
alias: yes alias: yes
command: "load_itempreset b" command: "loadout b"
impulse load2: impulse load2:
alias: yes alias: yes
command: "load_itempreset c" command: "loadout c"
impulse load3: impulse load3:
alias: yes alias: yes
command: "load_itempreset d" command: "loadout d"
impulse INS: impulse INS:
- "load0" - "load0"
@ -120,8 +120,10 @@ default:
impulse END: impulse END:
- "load3" - "load3"
- "alias reload_presets load3" - "alias reload_presets load3"
literal set_default_loadout:
alias reload_presets load0
impulse backspace: impulse backspace:
"reload_presets" reload_presets
engi: engi:
hold class_action: hold class_action:
@ -129,7 +131,6 @@ engi:
press: press:
- destroy sentry - destroy sentry
- build sentry - build sentry
release: ""
medic: medic:
# "Radar" feature: causes all teammates to autocall for medic, allowing # "Radar" feature: causes all teammates to autocall for medic, allowing