Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Camera zoom

Joined
Feb 12, 2018
Messages
48
Quick question - is it possible to change camera zoom?

I can't find any related methods in the Camera class.
 
Joined
Aug 23, 2015
Messages
1,961
Yes it is, you can do it just like a player would, but there is no method in the Runemate API to do it. There is no hook to get the camera zoom, so you have to do it based on the position of the zoom slider, which isn't very precise.
 
Joined
Feb 12, 2018
Messages
48
Yes it is, you can do it just like a player would, but there is no method in the Runemate API to do it. There is no hook to get the camera zoom, so you have to do it based on the position of the zoom slider, which isn't very precise.

Alright, thanks!
Seems quite strange, since most of the bots could use this functionality.
 
Joined
Aug 23, 2015
Messages
1,961
Alright, thanks!
Seems quite strange, since most of the bots could use this functionality.
From my understanding, there is literally no way to get the Camera zoom without using the zoom slider with how Runemate gets information from the game client.
 
Java Warlord
Joined
Nov 17, 2014
Messages
4,906
From my understanding, there is literally no way to get the Camera zoom without using the zoom slider with how Runemate gets information from the game client.
there must be something though, else the zoom wouldnt work in the first place. like there has to be lets say a variable in the client, which both the slider and the camera read from to represent the current zoom
 
Joined
Jan 25, 2015
Messages
121
Depending of the amount of zoom you want you can use a poor approach which is use the Keyboard class to make it press Page up/Page down keys, once this keybind is enabled in rs client configs (rs3 only, I guess).
 
Top