Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New "T-Screen" (vehicle info side-panel) #3165

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ohlidalp
Copy link
Member

@ohlidalp ohlidalp commented Jul 14, 2024

I've merged the fragmented vehicle info windows and settings into one:

  • The vehicle stats side-panel (hotkey T)
  • The vehicle description and commands window (hotkey Ctrl+T)
  • The on-mouse-hover vehicle buttons side panel
  • The diagnostic view options from TopMenubar/Tools

How it behaves now:

  • if you move the mouse to the left, and ui_show_vehicle_buttons=true (default), then the T-pane will show up translucent with the 'Basics' tab open by default but remember which tab you selected.
  • if you press T, the T-panel will show opaque and open the 'Stats' tab
  • if you press Cltr+T, the T-panel will show opaque and open the 'Commands' tab, showing the helptex texture and commands with descriptions and key combos and an unique in-scene highlight system (both the controls UI and the associated command beams on the vehicle are highlighted bright yellow).
  • The T-panel (both opaque and translucent) has an extra tab 'Diag' which contains skeletonview toggles.

The basics view (on mouse hover):
obrazek

Commands view (Hotkey Ctrl+T) - with a highlight:
obrazek

The diagnostic options:
obrazek

@ohlidalp ohlidalp force-pushed the ohlidalp_new_T-screen branch 2 times, most recently from cc620b8 to 3da215a Compare July 17, 2024 23:06
@ohlidalp ohlidalp marked this pull request as ready for review July 17, 2024 23:07
@ohlidalp
Copy link
Member Author

ohlidalp commented Aug 4, 2024

Note to self: make the panel narrower for small screens: https://discord.com/channels/136544456244461568/189904947649708032/1263347906501677078
obrazek

How it behaves now:
* if you move the mouse to the left, and `ui_show_vehicle_buttons=true` (default), then the T-pane will show up translucent with the 'Basics' tab open by default but remember which tab you selected.
* if you press T, the T-panel will show opaque and open the 'Stats' tab
* if you press Cltr+T, the T-panel will show opaque and open the 'Commands' tab, showing the `helptex` texture and commands with descriptions and key combos and an unique in-scene highlight system (both the controls UI and the associated command beams on the vehicle are highlighted bright yellow).
* The T-panel (both opaque and translucent) has an extra tab 'Diag' which contains skeletonview toggles.

How it behaved previously:
* if you move the mouse to the left, and `ui_show_vehicle_buttons=true` (default), a "Buttons UI" would appear - `GUI_VehicleButtons` by Tritonas00 - just buttons with tooltips, no text, custom light/command buttons just numbered without descriptions.
* Pressing T would show up stand-alone stats side-panel `GUI_SimActorStats`
* Pressing Ctrl+T would show up standalone window `GUI_VehicleDescription` with description text, authors, and commands with descriptions and key combos.
* Diagnostic views (skeletonview) was controlled from TopMenubar/Tools menu, `GUI_TopMenubar`, taking signifficant amout of vertical space.
@ohlidalp
Copy link
Member Author

ohlidalp commented Aug 4, 2024

To accomodate 1024x768, I've narrowed the T-panel and moved it a tad up (I had to shrink down the FPS panel, it now shows Batch count and Tri count on top).
obrazek

@woagXD
Copy link

woagXD commented Aug 18, 2024

looks pretty clean, hope it gets into the game soon!

@CuriousMike56
Copy link
Collaborator

CuriousMike56 commented Aug 19, 2024

Commands don't work at all, neither function keys or clicking the menu buttons.

FPS counter has issues at 100+ FPS:
RoR_2024-08-19_11-23-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants