MP Spectator Web Overlay

Discussion in 'Community Workshop' started by mape, Jul 7, 2015.

Thread Status:
Not open for further replies.
  1. KurtV

    KurtV Member

    Joined:
    Jul 12, 2015
    Ratings:
    +12 / 0 / -0
    I allready modified some "generic" widgets and looked into data i can get from the API, but i didn't know if it's enough to make new .less files. Thank you for helping.
     
  2. Georg Ortner

    Georg Ortner KW Studios Developer

    Joined:
    Jan 13, 2015
    Ratings:
    +3,508 / 0 / -0
    A few races from yesterday evening, completely auto directed.





     
    • Like Like x 4
  3. Gerson Malty

    Gerson Malty Active Member

    Joined:
    Jul 13, 2015
    Ratings:
    +28 / 0 / -0
    Hello @Georg Ortner, I love the panoramic view in first video, at Zolder, 2m11s! Theres a way to choose this camera any time we want? I tested the tool 4 days ago, without the auto director, and dont't find this camera...
    Love the videos!
     
  4. Georg Ortner

    Georg Ortner KW Studios Developer

    Joined:
    Jan 13, 2015
    Ratings:
    +3,508 / 0 / -0
    That is just the way the new Zandvoort track camera was made. I´m sure we will update more tracks to have cameras like this in the future.
     
    • Like Like x 2
  5. rad

    rad Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +458 / 0 / -0
    It would be cool if TV cameras could focus more than one driver, eg. two cars fighting for position or whole grid at the start. But i don't know if this is possible on your engine.
     
  6. majuh

    majuh Well-Known Member

    Joined:
    May 1, 2015
    Ratings:
    +257 / 0 / -0
    The new auto director looks nice, but is it related to the already existing director mode in replays? The general idea seems to be the same.
     
  7. KurtV

    KurtV Member

    Joined:
    Jul 12, 2015
    Ratings:
    +12 / 0 / -0
    [​IMG]
    First look of my GP2 like Design,because i don't like the original GP2 TV Overlay, it's just a first shot and maybe i go in a other route, because the edited .jsx file changes, which would happened to all designs. I'm not a Java Dev, so i need some time to learn.
     
    • Like Like x 4
    Last edited: Jul 19, 2015
  8. Sascha Brandenburg

    Sascha Brandenburg Well-Known Member

    Joined:
    Feb 17, 2015
    Ratings:
    +56 / 0 / -0
    Looks good :)

    But with which editing u have trouble ? I use the .less files to edit the style of the boxes and so on .
     
  9. KurtV

    KurtV Member

    Joined:
    Jul 12, 2015
    Ratings:
    +12 / 0 / -0
    Yes the .less files for Positioning the differnt elements... but i edited the .jsx file to have more letters on the names:
    Code:
    fixName: function(name) {
            var parts = name.split(' ');
            return parts[parts.length-1].substr(0, 9).toUpperCase();
        }
    Did you fix your Problem with your Design Menu choose?
    [​IMG]
     
    Last edited: Jul 19, 2015
  10. Sascha Brandenburg

    Sascha Brandenburg Well-Known Member

    Joined:
    Feb 17, 2015
    Ratings:
    +56 / 0 / -0
    I fixed that problem . I only created a new folder with the name "Theme" (for example) in each folder who has folders for the graphics. then i copied the WidgetName.generic.less files and renamed them to WidgetName.theme.less .

    I done this for every folder. Inside the .less files u got the prefix .generic . I renamed that to theme. But its better to use the Search&Replace function from for example Dreamweaver. Because u have some more prefixes inside some .less files for the folder direction or something else. Then u can be sure that every prefix with generic will be replaced with theme.

    After u done these steps u be able to choose another Theme with the name u gave them.

    If u are fast u only need 10 minutes for that. But after that u have for every widget an own folder for the graphics and an own .less file so u dont need to edit the jsx files .
     
    Last edited: Jul 19, 2015
  11. Sascha Brandenburg

    Sascha Brandenburg Well-Known Member

    Joined:
    Feb 17, 2015
    Ratings:
    +56 / 0 / -0
    Ahhhhh now i know what u mean. U mean the driver names inside the standings:D

    Hmmm maybe there is a css function to show only 3 letters and this code u put inside the DTM and generic Standings .less ?
     
  12. Ryan Callan

    Ryan Callan Well-Known Member

    Joined:
    May 29, 2015
    Ratings:
    +284 / 0 / -0
    @mape the tool is simply wonderful. I doff my cap to you, sir. (English for: you're a genius). :D
     
  13. Gil Ritter

    Gil Ritter Well-Known Member

    Joined:
    Feb 26, 2015
    Ratings:
    +91 / 0 / -0
    This feature is so cool. Here is our stream from yesterday. GTR2 @ Mid-Ohio

     
    • Like Like x 3
  14. Ernie

    Ernie Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +304 / 0 / -0
    @mape: I don't know if you're the right person to ask this, but is it possible to implement a function to have an instant replay of a few seconds? So if something is happening on the track you can press a replay button to watch a specific scene again. (like in rF1 or rF2)
    Would be great to make a quick replay analyse during broadcasting.
     
    • Like Like x 1
    Last edited: Jul 21, 2015
  15. mape

    mape KW Studios Developer Beta tester

    Joined:
    Jan 14, 2015
    Ratings:
    +132 / 0 / -0
    That is out of my reach I'm afraid.
     
  16. Ernie

    Ernie Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +304 / 0 / -0
    Nonetheless thanks for answering, mape.

    I'll repeat my request somewhere else. :)
     
    • Like Like x 1
  17. mape

    mape KW Studios Developer Beta tester

    Joined:
    Jan 14, 2015
    Ratings:
    +132 / 0 / -0
    Next release will include a track map for the controller as well as broadcast overlay. Hopefully it will make it a bit easier to get an overview for the one controlling the cameras as well as the viewers.
    It will contain vector files for all layouts (named by layoutId) which might be handy for other projects as well.

    track-map.jpg
     
    • Like Like x 5
    • Winner Winner x 2
    • Love it! Love it! x 2
    • Wonderful Wonderful x 1
  18. KurtV

    KurtV Member

    Joined:
    Jul 12, 2015
    Ratings:
    +12 / 0 / -0
    Nice update, i can't wait to test it.

    Is there a way to get more pedal information?
    I maybe need them in the future:
    [​IMG]
     
    • Like Like x 2
    • Winner Winner x 1
  19. Robert Holm

    Robert Holm KW Studios Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +162 / 0 / -0
    Instant replay should be possible to impl, but it'd have to be in a future game update.
     
    • Like Like x 6
    • Wonderful Wonderful x 1
    Last edited: Jul 21, 2015
  20. mape

    mape KW Studios Developer Beta tester

    Joined:
    Jan 14, 2015
    Ratings:
    +132 / 0 / -0
    New release attached, this one contains:
    • Track map showing positions on map as well as a speed trap showing the best top speed for the duration the window has been active.
    • Added the ability to get the information autoDirector was using to make decisions without having it switch the camera for you. Called it "Director suggestions". Hopefully this gives extra info to broadcasters during qualifications.

    Note: I haven't tested all the different track maps so some might be going the wrong direction, please let me know if you see that. There might also be some "jerk" issues with the track map on tablets.

    track-map-speed-trap.png director-suggestions.png
     

    Attached Files:

    • Like Like x 14
    • Winner Winner x 1
    • Wonderful Wonderful x 1
Thread Status:
Not open for further replies.