PDA

View Full Version : Thumper's Dromed Magic #2 - Safer keyboard keys



Komag
29th Jun 2002, 06:59
Dromed Magic #2 - Safer keys
Dromed Magic #2. I found that fairly frequently I would start typing a dromed command only to find my view rotating and who knows what else happening because I had forgotten the initial ":" or hadn't clicked in the command window first. After a number of sessions of trying to figure out what exactly I had typed and whether or not my errant fingers had screwed something up, I decided to fix things so such problems wouldn't occur again. All that was necessary was moving a few key bindings in DEFAULT.BND. I still forget to type the ":" periodically and my views still rotate but now I don't have to worry about unnoticed accidental changes.

Here are the changes to DEFAULT.BND (I'd post the whole thing but we seem to have a limit of 10000 chars per post ). Note that the often used t and shift-t to cycle textures have been moved to ctrl-t and ctrl-shift-t. Almost as easy to type and a lot safer.

Change these lines:

edit bind h "set_medium 0" ; make brush solid
edit bind j "set_medium 1" ; make brush air
edit bind k "set_medium 2" ; make brush water
edit bind l "set_medium 3" ; make brush flood (air->water,solid->solid)
edit bind m "cycle_media 1" ; cycle media forward
edit bind t "cycle_tex 1" ; cycle texture forward

edit bind m+shift "cycle_media -1" ; cycle media backward
edit bind t+shift "cycle_tex -1" ; cycle texture backward

to these by adding "+ctrl" as shown:

edit bind h+ctrl "set_medium 0" ; make brush solid
edit bind j+ctrl "set_medium 1" ; make brush air
edit bind k+ctrl "set_medium 2" ; make brush water
edit bind l+ctrl "set_medium 3" ; make brush flood (air->water,solid->solid)
edit bind m+ctrl "cycle_media 1" ; cycle media forward
edit bind t+ctrl "cycle_tex 1" ; cycle texture forward

edit bind m+ctrl+shift "cycle_media -1" ; cycle media backward
edit bind t+ctrl+shift "cycle_tex -1" ; cycle texture backward

-Thumper