From cd71677b2e3dc73b5f626b7d87e5011723854ef1 Mon Sep 17 00:00:00 2001 From: Bukz Date: Tue, 19 Feb 2013 14:53:37 +0000 Subject: [PATCH] moved more editing functions to editbinds git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7235 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/resetbinds.cfg | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/config/resetbinds.cfg b/config/resetbinds.cfg index c98cfa2f..34880ccb 100644 --- a/config/resetbinds.cfg +++ b/config/resetbinds.cfg @@ -27,10 +27,13 @@ bind LEFTPAREN [] bind RIGHTPAREN [] bind ASTERISK [] bind PLUS [] +bind COMMA [] // Directional equalizing - look up to level the ceiling selection, look down to level the floor selection -bind COMMA [ if $old_editbinds [ equalize 0 ] [ if $editing [ if (= $flrceil 0) [ equalize 0 ] [ if (= $flrceil 2) [ equalize 2 ] ] ] ] ] -bind MINUS [ if $editing copyent ] -bind PERIOD [ if $old_editbinds [ equalize 2 ] ] +editbind COMMA [ if $old_editbinds [ equalize 0 ] [ if (= $flrceil 0) [ equalize 0 ] [ if (= $flrceil 2) [ equalize 2 ] ] ] ] +bind MINUS [] +editbind MINUS copyent +bind PERIOD [] +editbind PERIOD [ if $old_editbinds [ equalize 2 ] ] bind SLASH [ saycommand "/" ] bind 0 [] bind 1 primary @@ -68,14 +71,18 @@ bind C [] editbind C copy bind D right bind E edittoggle -bind F [ if $old_editbinds [ solid 1 ] [ if $editing [ if (countwalls 0) [ solid 0 ] [ solid 1 ] ] ] ] // Toggle solid/non-solid +bind F [] +editbind F [ if $old_editbinds [ solid 1 ] [ if (countwalls 0) [ solid 0 ] [ solid 1 ] ] ] // Toggle solid/non-solid bind G quicknadethrow editbind G [ solid 0 ] +bind H [ ] // Directional heightfielding - look up for toggle CHF/non-solid, look down for toggle FHF/non-solid -bind H [ if $old_editbinds [ heightfield 0 ] [ if $editing [ if (= $flrceil 0) [ if (countwalls 2) [ solid 0 ] [ heightfield 0 ] ] [ if (= $flrceil 2) [ if (countwalls 3) [ solid 0 ] [ heightfield 2 ] ] ] ] ] ] -bind I [ if $old_editbinds [ heightfield 2 ] ] +editbind H [ if $old_editbinds [ heightfield 0 ] [ if (= $flrceil 0) [ if (countwalls 2) [ solid 0 ] [ heightfield 0 ] ] [ if (= $flrceil 2) [ if (countwalls 3) [ solid 0 ] [ heightfield 2 ] ] ] ] ] +bind I [] +editbind I [ if $old_editbinds [ heightfield 2 ] ] bind J [] -bind K [ if $old_editbinds [ corner ] [ if $editing [ if (countwalls 1) [ solid 0 ] [ corner ] ] ] ] // Toggle corner/non-solid +bind K [] +editbind K [ if $old_editbinds [ corner ] [ if (countwalls 1) [ solid 0 ] [ corner ] ] ] // Toggle corner/non-solid bind L [] editbind L [ showmenu Lightning ] bind M []