R3E Reality - Multiplayer Broadcast Overlay

Discussion in 'Community Workshop' started by Scout, Nov 27, 2018.

  1. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    Great, thank you.
     
  2. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    @Robert Holm Are there any reasons or scenarios for why yellow flags would not be triggered? I have tried in both visual/full flag rules servers, but I am yet to see a yellow flag occur, despite where they should be.

    I have been lazy logging the yellow flag return value to the left of the position in the standings to monitor yellow flag zones and the return value for each driver always seems to be 0.

    This happens with both the getDriverInfo and getDriversInfo functions.

    upload_2018-12-15_11-50-5.png
    upload_2018-12-15_11-53-17.png
     
    Last edited: Dec 15, 2018
  3. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    I noticed there is no longer a `r3e.on.results` function in the new API version which seems to cause qualifying results to not trigger anymore. I tested with the spectator tool with the new API and I see the same issue. Does the `r3e.on.resultsUpdate` now work/designed for qualifying results too?
     
  4. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    I made a workaround which doesn't make this an issue anymore. I just manually show the quali results if the quali session time left is less than 20 seconds instead of relying on a listener.

    I also spent time today reworking the manufacturer themes, and added styling for the newer widgets and UI elements.
    Some of the theme previews:

    Mercedes Benz
    upload_2018-12-18_18-17-18.png

    Porsche 70 years Anniversary
    upload_2018-12-18_18-17-59.png

    It looks like there is enough features to release an initial version, so I can do so tomorrow or the day after as there may be new tracks/manufacturers/classes which will require some ID's to be added to make small UI elements work. Just a couple more days so. ;)
     
  5. rad

    rad Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +416 / 0 / -0
    Personally, I'd get rid of flag on session status. It pushes timer to the right and it doesn't look that good. Other than that, it's brilliant. I'd also change the way it's displayed if it's under 1min to 00:xx instead of xx, of course if it's possible.
     
  6. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    Hello, happy to share with you the first version of this. I think there is enough new additions added over the past 2 and a bit weeks to share an early and stable (hopefully) version of the tool.

    To those familiar with the existing spectator tool, this is run and used the same way given it is a fork of the existing tool.



    Below is the changelog for the initial version.

    Version 1.0 Changelog

    • [Feature] Added global LESS variable definitions for themes.
    • [Feature] Added base theme.
    • [Feature] Added mercedes theme.
    • [Feature] Added audi theme.
    • [Feature] Added KTM theme.
    • [Feature] Added porsche theme.
    • [Removed] Removed PNG based themes.
    • [Bug Fix] Fixed a UI glitching issue when switching between the driver info and compare race widget.
    • [Feature] Added event info widget.
    • [Feature] Added race control alerts widget.
    • [Feature] Added safety car on track widget.
    • [Feature] Added safety car in this lap widget.
    • [Feature] Restyled driver info widget.
    • [Feature] Added tyre compound display to driver info widget for GT2, IndyCar, F1 classes.
    • [Feature] Added personal best time display to driver info widget.
    • [Feature] Added new DRS UI display to driver info widget.
    • [Feature] Added new PTP UI display to driver info widget.
    • [Feature] Added class position to driver info widget.
    • [Feature] Added car livery preview to driver info widget.
    • [Feature] Added vehicle team name to driver info widget.
    • [Feature] Restyled flag, split time UI elements in the driver info widget.
    • [Feature] Restyled race/quali results widgets.
    • [Feature] Added class position to results widget.
    • [Feature] Added penalties display to race results widget.
    • [Removed] Removed flag display from standings widget.
    • [Feature] Restyled standings widget.
    • [Feature] Added First initial to the drivers in the standings widget.
    • [Feature] Added multiclass colours to standings widget.
    • [Feature] Restyled mandatory pit indicator.
    • [Feature] Added lap count to lead driver in the race in the standings widget.
    • [Feature] Added new UI to the compare info widget.
    • [Feature] Added mini DRS/PTP indicators to the compare info widget.
    • [Feature] Added personal best times to the compare info widget.
    • [Feature] Added car preview images to the compare info widget.
    • [Feature] Added car team name to the compare info widget.
    • [Feature] Added a new UI for the session info widget.
    • [Feature] Added chequered flag to the session info widget.
    • [Feature] Added country flag to the session info widget.
    • [Feature] Added new styling to the track map overlay widget.
    • [Feature] Added class positions to the track map overlay widget.
    • [Feature] Added class leader indicators to the track map overlay widget.
    • [Feature] Added class indicators to the driver name in track map overlay widget.
    • [Feature] Added class indicators to the dot indicators in track map overlay widget.
    • [Feature] Added manufacturer logo to the track map overlay widget.
    • [Feature] Added animations for various elements.
    • [Feature] Added consistent font across UI components.
    • [Removed] Removed unused widgets.
    • [Tooling] Added version numbers to widgets.
    • [Feature] Added auto director weightings to focus on yellow flag offenders.
    • [Feature] Added yellow flag indicator to session info timer.
    • [Feature] Modified qualifying results widget to be an on/off trigger instead of always showing.
    • [Feature] Added group 4 class multiclass coloring.
    Special thanks to @OtterNas3 & @AlexBlob for the testing.

    Please post any issues you come across in the thread and I'll look at them as soon as I can, but expect it to be at least a few days before any new work will be done.

    Note: UI is set to 1920x1080 resolution screens.

    There was issue attaching the .zip to this post, so I uploaded it to Mega instead - Download. (MD5 - b167569310cf126d86e7d4cb3b0aad05)

    Hopefully some will find this useful. (I don't even broadcast :eek:)
     
    • Like Like x 9
    • Love it! Love it! x 4
    • Winner Winner x 1
    • Wonderful Wonderful x 1
    Last edited: Dec 20, 2018
  7. El_Aero

    El_Aero New Member

    Joined:
    Dec 1, 2017
    Ratings:
    +1 / 0 / -0
    Hi! First of all, thank you for such a brilliant job!
    Issues found: on Suchsenring (don't know if on other tracks it's ok) map is shown incorrectly, drivers are going wrong way, so their position on track is not what it should be.
     
  8. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    Got it, could re-produce the bug and added it to my issue tracker. Thank you.
     
  9. Rends

    Rends Member

    Joined:
    Nov 11, 2018
    Ratings:
    +8 / 0 / -0
    Just watching RRVGT DTM92 live on YouTube with the new layout and it looks great!
    One small thing i noticed was that even it’s singleclass there is the „Px in Class „ left from the car image above the player name.
    Guess it’s useful for multiclass but in singleclass there is already the big position number left from the flag.
     
  10. ravey1981

    ravey1981 Well-Known Member Beta tester

    Joined:
    Apr 15, 2018
    Ratings:
    +291 / 0 / -0
    I've never seen safety car before! Is it only for multiplayer or does it come out in single player too?

    What are the chances of something like this as an overlay for replays? I often like to watch back my races (single player) but the standard overlay is poor.
     
  11. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    @Rends Just joined the stream :) Yes, I see what you mean. I already have an issue in the backlog to allow someone to turn on/off multiclass elements for non multiclass races.

    @ravey1981 The safety car is just something that people run manually in one or two leagues by someone joining the server in a car/livery that looks like a safety car. Whether the broadcast mode will work in replays is up to the game really.
     
    • Informative Informative x 1
  12. Heath

    Heath Well-Known Member

    Joined:
    Nov 5, 2016
    Ratings:
    +120 / 0 / -0
    @Scout cheers bloke great job , curious you from NZ ?
     
  13. fireballr18

    fireballr18 Active Member

    Joined:
    Apr 16, 2018
    Ratings:
    +33 / 0 / -0
    How does one get this running? I downloaded the link
     
  14. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    @fireballr18 Instructions are in the readme.md file in the main folder.
     
    • Like Like x 1
    • Informative Informative x 1
  15. Gianni Nicosia

    Gianni Nicosia New Member

    Joined:
    Nov 20, 2016
    Ratings:
    +3 / 0 / -0
    @Scout THANK YOU!!! This Broadcast Overlay is really awesome.

    #safetycarforthewin ;) 01h12min




    We love it ;)
     
    • Like Like x 1
    Last edited: Dec 22, 2018
  16. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    That was amazing to see and the formation lap was performed perfectly too. Glad you liked it. :smile:
     
  17. NL-Jos

    NL-Jos Well-Known Member

    Joined:
    Jun 5, 2015
    Ratings:
    +162 / 0 / -0
    The safetycar situation is something that someone decides in the race and can also click through the spectator mode, because this is not in raceroom itself?
     
  18. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    @NL-Jos Yes, its just someone manually joining the server in a different car. There are some UI widgets I added for the safety car indicators to show on screen and these are turned on and off manually by the broadcaster. You can see how RRVGT performed this in their stream last night. For leagues who already ran safety cars, it's just helpful for viewers to know what is happening.
     
    • Informative Informative x 1
  19. Scout

    Scout Well-Known Member Beta tester

    Joined:
    Sep 3, 2018
    Ratings:
    +322 / 0 / -0
    Hello, after watching a few streams running the tool over the last day or two, I noticed some areas of improvement so I have updated one or two things today in a new version. I also added some small features to the control panel for the broadcaster. This version also includes an update checker, so when a new version is published in the forum, you will see an alert when starting the tool to notify you so you that a new version is available, so you don't need to follow the thread as closely now for version updates :)

    Version 1.1.0 Changelog
    • [Feature] Increase race control alerts display time from 10 to 15 seconds.
    • [Feature] Increase trigger time to scroll race results from 10 seconds to 25 seconds.
    • [Bug Fix] Prevent the Driver Info widget overlapping the qualifying results at session end.
    • [Tooling] Render Manufacturer logos from the portal instead of locally.
    • [Feature] Updated some UI in the control panel.
    • [Feature] Added hover-over tooltips to buttons in the widget list describing the widget functionality.
    • [Feature] Added multiclass positioning and class colouring to the control panel.
    • [Feature] Added tool update checker to notify you if a new version is available in the forum.
    The original post has been updated with the download link here.

    Merry Christmas!
     
    • Like Like x 4
    • Wonderful Wonderful x 1
  20. Heath

    Heath Well-Known Member

    Joined:
    Nov 5, 2016
    Ratings:
    +120 / 0 / -0
    @Scout Cheers bloke :D merry Xmas
     
    • Like Like x 1