MegaGlest Forum

Archives (read only) => Vanilla Glest => General discussion => Topic started by: lee on 28 July 2011, 18:39:38

Title: suggestion to improve scrolling
Post by: lee on 28 July 2011, 18:39:38
Hi,

I've a suggestion about making it easier to scroll the display to show your units: When there are units grouped with Ctrl-[0-9], pressing a number selects the corresponding group of units. It would be nice if pressing the same number again would automatically scroll the display so that the selected units are in the center. If the selected units aren't close enough together to fit on the display, center the display to the largest subgroup; if there are no subgroups because all the units are far apart from each other, then display the unit that is the furthest away from what is currently displayed.

It would also be nice if there was a key to generally center the display on selected unit(s).  For example, I can have units or a unit on the top left corner of the map selected and scroll the display to the bottom right corner while the unit(s) are/is selected. When I press that key, the display centers on the selected unit(s). The same key could work the same for buildings.

These two keys would make playing a lot easier and speed things up.
Title: Re: suggestion to improve scrolling
Post by: Coldfusionstorm on 28 July 2011, 19:35:30
This is allready in MegaGlest SVN, and there is alpha out for it somwhere
Title: Re: suggestion to improve scrolling
Post by: lee on 28 July 2011, 19:50:33
Cool --- how do you download from svn? I thought I did and found I downloaded archives ...
Title: Re: suggestion to improve scrolling
Post by: Omega on 29 July 2011, 03:19:15
I haven't a clue about MegaGlest, but GAE (http://sourceforge.net/projects/glestae/) (Glest Advanced Engine) can center on units with the spacebar button, numbered or not. If you have just one unit selected, you can press space to go to it. If you have a group, it will try and center in that group. One cool thing about this is if you press and hold the spacebar, the camera will smoothly follow the unit.

As for downloading GAE, you can download either the compiled versions (a bit outdated, since the current version is still in progress, and is a major version): http://sourceforge.net/projects/glestae/

If you want the most recent, though, you'll have to compile GAE yourself (it's not as hard as it sounds, just a lot of stuff to download; how exactly this is done depends on the operating system): http://sourceforge.net/apps/trac/glestae/wiki/CompileGuide
Title: Re: suggestion to improve scrolling
Post by: lee on 30 July 2011, 11:32:34
Hm, it works in GAE. Unfortunately, GAE crashed after a few minutes, and the dialog boxes don't adjust to the font size.
Title: Re: suggestion to improve scrolling
Post by: Omega on 31 July 2011, 05:28:26
Hm, it works in GAE. Unfortunately, GAE crashed after a few minutes, and the dialog boxes don't adjust to the font size.
Uh oh, could you please file a bug report on the GAE board, including the GAE version, your operating system, RAM, graphics card, and the error text? As well, worth making sure that your drivers are all up to date (particularly the graphics driver), as they are a large culprit in crashes.

As for the dialog boxes not adjusting, can you provide a screenshot/example (on the GAE board)?

Thanks.
Title: Re: suggestion to improve scrolling
Post by: lee on 31 July 2011, 12:25:06
You mean the GAE section in this forum? I can do that.
Title: Re: suggestion to improve scrolling
Post by: tomreyn on 3 September 2011, 01:45:57
Just for completeness, in MegaGlest the default key binding to move the camera to a selected unit is G. Like all key bindings, this one can be customised, if so desired, in the options menu.