-
jordancoles
- Posts: 14168
- Joined: Sun May 29, 2011 6:50 pm
- Location: British Columbia, Canada
Default client: zoom-speed slider
Could we get an option to increase our zoom speed in the default client?
Check out my pro-tips threadDuhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off.

-
Nightdawg
- Posts: 2637
- Joined: Fri Feb 28, 2020 12:31 am
Re: Default client: zoom-speed slider
Yes please.
So far the only way to not spend 2 hours scrolling out was to use a macro that did it at 5x speed
So far the only way to not spend 2 hours scrolling out was to use a macro that did it at 5x speed
"Our primary development direction is toward object-controlled-objects"jorb wrote: I do not want to over-promise or hype up stuff that could be months out.
-
vatas
- Posts: 5255
- Joined: Fri Apr 05, 2013 8:34 am
- Location: Suomi Finland Perkele
Re: Default client: zoom-speed slider
Valid request.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
-
iamahh
- Posts: 1806
- Joined: Sat Dec 12, 2015 8:23 pm
Re: Default client: zoom-speed slider
I've been playing with modding tutorial and it seems you can achieve this with 3 changes:
[change1]
in Config.java add the line
[change2]
in MapView.java change line in FreeCam.wheel()
from
to
[change3]
in OptWnd.java add
I added it before the line
Note: works for me but I can't guarantee it'll work for anyone, I may have forgotten something and code may be misplaced
[change1]
in Config.java add the line
Code: Select all
public static int badcamsensitivity = getint("haven.badcamsensitivity", 5);[change2]
in MapView.java change line in FreeCam.wheel()
from
Code: Select all
float d = dist + (amount * 5);Code: Select all
int cfg = Utils.getprefi("badcamsensitivity", 5);
float d = dist + (amount * cfg);[change3]
in OptWnd.java add
Code: Select all
composer.add(new Label("Zoom speed"));
{
Label dpy = new Label("");
final double smin = 5, smax = 25;
final int steps = (int) Math.round((smax - smin) / 1);
composer.addr(
new HSlider(UI.scale(160), 0, steps, (int) Math.round(steps * (Utils.getprefi("badcamsensitivity", 5) - smin) / (smax - smin))) {
protected void added() {
dpy();
}
void dpy() {
dpy.settext(String.format("%.2f\u00d7", smin + (((double) this.val / steps) * (smax - smin))));
}
public void changed() {
double val = smin + (((double) this.val / steps) * (smax - smin));
Utils.setprefi("badcamsensitivity", (int) val);
dpy();
}
},
dpy
);
}Code: Select all
composer.add(new Button(UI.scale(200), "Reset to defaults")Note: works for me but I can't guarantee it'll work for anyone, I may have forgotten something and code may be misplaced