Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to zoom in/out during gameplay?  (Read 442 times)

Numeroid

  • Bay Watcher
  • Back after a long hiatus.
    • View Profile
How to zoom in/out during gameplay?
« on: December 24, 2013, 11:41:08 pm »

I haven't played DF in some unspeakable amount of time and upon returning I find I can't zoom in or out. I was under the impression that it was done with the scroll wheel on a mouse, but that's not working. Has this changed?

I suppose I should mention that I got a new PC, I'm using a Windows 8 PC now, anything else you might need to know just ask I guess.

Logged

smjjames

  • Bay Watcher
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #1 on: December 24, 2013, 11:51:17 pm »

I have no idea if it has ever worked with the scroll wheel, but the keys are shift + . or , technically you'd be pressing shift + < or >
Logged

Numeroid

  • Bay Watcher
  • Back after a long hiatus.
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #2 on: December 25, 2013, 12:06:11 am »

That's not working either  :'( Is my game broken?
Logged

xcorps

  • Bay Watcher
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #3 on: December 25, 2013, 12:21:05 am »

Hm. On my laptop using the default Lazynewb binds zoom in is [ and zoom out is ]. I don't use the mousewheel because I keep my hand on my zip keyboard.
Logged

smjjames

  • Bay Watcher
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #4 on: December 25, 2013, 01:39:24 am »

Actually no wait, it's just those two buttons, not shift. You can always look at the keybindings in the init folder.
Logged

Numeroid

  • Bay Watcher
  • Back after a long hiatus.
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #5 on: December 25, 2013, 02:21:36 am »

Nothing is working :/
Logged

smjjames

  • Bay Watcher
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #6 on: December 25, 2013, 09:07:44 am »

Did you even look at the keybinding settings?
Logged

ond_magiker

  • Bay Watcher
    • View Profile
Re: How to zoom in/out during gameplay?
« Reply #7 on: December 26, 2013, 10:29:13 am »

Using LNP it's supposed to be [ and ], but it's not working for me. Changing the appropriate lines in \data\init\interface.txt to...

[BIND:ZOOM_IN:REPEAT_SLOW]
[BUTTON:0:5]
[BIND:ZOOM_OUT:REPEAT_SLOW]
[BUTTON:0:4]

...switches back to mouse wheel control.

ETA: Forgot to mention, you need to comment out or remove the [BUTTON:0:5] and [BUTTON:0:4] lines from other places in the file. Otherwise you'll switch z-levels while zooming.
« Last Edit: December 26, 2013, 11:07:25 am by ond_magiker »
Logged