Files
assaultcube-/config/opt/alternateeditbinds.cfg
T
aurhat 1d1c9e6f96 Improve key binds
Changes:
1. added single aliases bounded to the keys, in order to maintain easier
the binds;
2. cleaned up binds;
3. updated Keyboard menu and fixed searching binds.
Remark: aliases bounded to the keys shouldn't have leading and trailing
white spaces, if they are present in Keyboard menu, otherwise they won't
be found. So construction like, for example: bind SLASH [ key_commandline ]
is inadmissible.
4. Alternate edit binds (default disabled) moved to
config/opt/alternateeditbinds.cfg and removed old_editbinds variable.

DOCREF old_editbinds
2015-04-03 23:44:22 +02:00

11 lines
756 B
INI

// Alternate edit binds
echo (red) "Bound COMMA, F, H and K to the alternate edit functions. Reset keybinds to return to default binds"
// Directional equalizing - look up to level the ceiling selection, look down to level the floor selection
editbind COMMA [ if (= $flrceil 0) [ equalize 0 ] [ if (= $flrceil 2) [ equalize 2 ] ] ]
editbind F [ if (countwalls 0) [ solid 0 ] [ solid 1 ] ] // Toggle solid/non-solid
// Directional heightfielding - look up for toggle CHF/non-solid, look down for toggle FHF/non-solid
editbind H [ if (= $flrceil 0) [ if (countwalls 2) [ solid 0 ] [ heightfield 0 ] ] [ if (= $flrceil 2) [ if (countwalls 3) [ solid 0 ] [ heightfield 2 ] ] ] ]
editbind K [ if (countwalls 1) [ solid 0 ] corner ] // Toggle corner/non-solid