#Instant Tab Overview

1 messages · Page 1 of 1 (latest)

barren lantern
#

Download: https://raw.githubusercontent.com/zxbc/BAR_widgets/main/gui_instant_overview.lua

This is a widget that simulates tab overview but does not use the in-game overview camera. The modifications are:

  • Pressing and holding "tab" key will instantly enter a simulated top-down overview cam over the map. The map size is detected and cam height calculated to provide the best viewing experience (with a slight margin at top and bottom).
  • Releasing "tab" key will instantly revert back to the previous camera state.
  • A green pulsing circle will indicate where the camera was previously on the map during the overview cam.
  • Unit icons are forced on in the overview cam.
  • Minimap, chat and console and advplayerslist are disabled during overview. You can disable all UI in the overview cam by changing a param inside the file.

WARNING: this widget will block the default tab keybind for all other functionality. If you wish to see this changed please let me know. The widget can be modified to allow for custom keybinds but the current state of widget keybinds is in flux and I will work on it in the future.

Please let me know if you desire additional features or encounter any bugs. Cheers!

midnight pecan
#

Is there autorotation since some maps longer on vertical axis than horizontal axis?

barren lantern
#

I'm not sure if I should include camera rotation, I suppose I could but it might mess with the current calculation in height and width to fit battlefield in view

#

I'll see what I can do with rotations

rose blaze
#

Alt+Scroll or Ctrl+T does something similar I think, although I can't remember the exact controls. I don't know how much calculation your doing to lay out everything, but I think the proper keybind scripting could probably tie into this existing functionality. Just mentioning in case you didn't know this.

coarse breach
#

can you also give it a (quick) transition move?

barren lantern
#

for the functionality of tab hold viewing, I don't think people like transition because they want to get the instant view, and transition just delays it

#

personally I hated the overview transition, because it was 1) too slow and even with fastest camera movement speed it's still jarring, and 2) the way it transitions is very unnatural, it does this weird tilt move that isn't the same as straight zoom out, creating a disorientating effect especially at fast camera speed

#

there's just one problem with the current instant tab view (and it exists with the default overview too) which is that the sound sometimes gets very suddenly loud because of the distance fade thing with volume, high frequencies are cut out on zoom out so going into the overview distance will suddenly mute the high frequencies, which is fine but when you release tab and back into action you get a sudden boom of high frequencies back, creating a crackling/snapping sound

#

I will look into it and possibly do a volume adjustment to ease that in and see how it works

coarse breach
#

very quick transition with a different setup to make it less disorientating?
zoom out could be really fast...
zoom back in you could make a tad longer... It's a natural way of keeping that orientation, which I tend to really loose with the current instant mode. That ping you made feels like a bandaid for this, and it's not non-stop visible as well. Just a fast/smooth zoom in can solve this all (incl. the sounds problems).

But maybe the FOV is very different in TAB view?
Maybe keep it unchanged?

barren lantern
#

but I want to indicate where the player's previous view is, not to ease the transition

#

the reason I want instant back and forth is some players (if they're like me) prefer to do very quick tab and back

#

if I introduce any delay/transition at all the whole point of the instant tab is lost

#

right now with this widget I can do a <1s check on the global view and instantly back to managing units

#

I know you will say "Just look at minimap instead", but sometimes it's still better to look at things enlarged

#

I wonder if I can do a "dissolve" effect lol

#

something to mess around with maybe

coarse breach