Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Changing keys for Z-levels  (Read 689 times)

gurthang

  • Bay Watcher
    • View Profile
Changing keys for Z-levels
« on: November 20, 2019, 02:21:58 am »

Hi, I am a beginner player and I use a compact keyboard with no keys for < and >

I would like to know exactly what entry I must edit in keybindings--General in order to change the keys for going up and down the Z-levels.

Another issue is that my seven dwarfs seem to execute my commands with blinding speed. Is that normal or should I try to slow down the program?
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Changing keys for Z-levels
« Reply #1 on: November 20, 2019, 03:45:55 am »

You can adjust keybindings in the same menu you save, or in /data/init/interface.txt - it's CURSOR_UP_Z and CURSOR_DOWN_Z in the latter.

You can set fps cap in data/init/init.txt

gurthang

  • Bay Watcher
    • View Profile
Re: Changing keys for Z-levels
« Reply #2 on: November 20, 2019, 02:39:19 pm »

Hi Fleeting frames, I located the entries in /data/init/interface.txt.

Since I am no computer wizard, can you explain me what text I should entry there in order to switch among T-levels with <ctrl> a and <ctrl> z ?

Help appreciated  :)
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Changing keys for Z-levels
« Reply #3 on: November 20, 2019, 05:05:52 pm »

Searching the file for "CONTROL" didn't find anything, but "CTRL" does: "CUSTOM_CTRL_A" and "CUSTOM_CTRL_Z" ought to work.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Changing keys for Z-levels
« Reply #4 on: November 21, 2019, 03:01:03 am »

Also, in this case I'd use the in-game menu since that allows you press the keys you want to trigger, without needing to know what they're called.

gurthang

  • Bay Watcher
    • View Profile
Re: Changing keys for Z-levels
« Reply #5 on: November 21, 2019, 12:04:24 pm »

Also, in this case I'd use the in-game menu since that allows you press the keys you want to trigger, without needing to know what they're called.

That's why I asked what entry I must edit in order to change the keys. I fumbled half an hour in keybindings--General to no effect.
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Changing keys for Z-levels
« Reply #6 on: November 21, 2019, 12:05:36 pm »

That's why I asked what entry I must edit in order to change the keys. I fumbled half an hour in keybindings--General to no effect.
The ones bound to ">" and "<". Should be called "CURSOR_UP_Z" and "CURSOR_DOWN_Z".

Searching the file for "CONTROL" didn't find anything, but "CTRL" does: "CUSTOM_CTRL_A" and "CUSTOM_CTRL_Z" ought to work.
Usual way is: https://dwarffortresswiki.org/index.php/DF2014:Interface.txt#SYM
"[SYM:2:a]"
"[SYM:2:z]"
« Last Edit: November 21, 2019, 12:14:20 pm by Bumber »
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Changing keys for Z-levels
« Reply #7 on: November 21, 2019, 01:28:46 pm »


In keybindings, it is ESC-Key Bindings - General - Page down twice - select Move view/cursor up (z) with arrow keys - select Add binding on the right with right arrow - Press Enter - Press the key(combination) you want - press Enter - ESC - up thrice to select Save and exit - Enter.

I set mine to mousewheel up and down since it's faster than a button :)