Forums » Bugs

Broken Zoom

Aug 06, 2006 terribleCabbage link
Hello,

If you hold down the zoom button while in flight, it zooms in (with the spangly new animation), but then it snaps back to being completely zoomed out, then zooms in again really quickly, then out, then in, then... You get the picture.

Apparently it's a Linux (and maybe Mac) issue.

My system:
Athlon 64 3000+
NVidia 6600GT
Ubuntu Dapper
A really small screen.
Aug 06, 2006 roguelazer link
Happens here, too. However, it works as it's suppsed to if I just type /+zoom at the console.

Athlonx 64 X2 3800+
nVidia 7800 GT
Gentoo Linux ~amd64
X.org 7.1
Aug 06, 2006 mr_spuck link
somebody told me it only happens in the linux version ...
Aug 06, 2006 raybondo link
It only happens in the Linux version because X doesn't do key-repeats the logical way. It sends a key-up for every key-down. So when you hold the key down this is what VO sees:
down up down up down up down up down...

instead of this for windows and mac:
down down down down down down down...

and when VO sees an up, it resets the zoom.

I didn't know about this fact until after the release went out and andy tried to zoom in.
Aug 12, 2006 Antz link
Zoom is not completely fixed in the new release. It will occasionally still zoom out and back in again on Linux.
Aug 12, 2006 raybondo link
that's because X is stupid.
Aug 13, 2006 Antz link
incidentally, implementing a zoom out animation should fix that, since it will zoom in, and will sometimes jitterr between the most zoomed in state and almost the most zoomed in state, which are ~= to each other, and so not as noticable.

Alternatively provide zoom toggle for Linux users and let them figure out the keybinds ;-)
Aug 14, 2006 Grzywacz link
How come SDL guys don't have problems with that and I get only one KEY_DOWN when someone presses a key? ;-)
Oct 08, 2006 terribleCabbage link
A request, if you please:

Remove the zoom animation (or make it optional) for the Linux client until the zoom-jitter bug is fixed. It may be confusing to just suddenly zoom in with no animation, but it's far better than zoooooom in... zoomout-zoomin-zoomout-zoomin-zoomout ... zoooooom in.... zoomout-zoomin...

You get the picture.
Oct 08, 2006 roguelazer link
It works okay for me... No jitterbug...
Oct 09, 2006 Antz link
A long ago I asked ray (I think it was ray!) for a solution ingame, and he gave me this magical bind.

alias +zoomin "set fov 75"
alias -zoomin "set fov 10"
bind "i" +zoomin

YMMV, this is a grep of wgaf.conf for "zoomin", and the client re-arranged the file, so I can not easily tell what bits were added by me. Also I needed to log in, out and back in after adding the above to the file for the bind to work properly.

EDIT: Can wgaf.conf be made to source another file, so the official guild-provided file can be kept untouched, whilst user-added stuff can be read at the end and override it, and the contents of which will not be changed by the client? Something like wgaf.conf.local? This would allow parts rellevant to different functionalities to be seperated and commented in a controlled and structured way.
Oct 09, 2006 MSKanaka link
Antz: http://www.vendetta-online.com/x/msgboard/1/3229?page=13#187621

This is a more complex version of the current zoom. It allows you to stay zoomed in without holding the key down, and you can zoom back out with the same animation you zoomed in with.
Oct 09, 2006 Antz link
Mmm, looks useful! Thanks!