MP Spectator Web Overlay

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

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

    mape KW Studios Developer Beta tester

    Joined:
    Jan 14, 2015
    Ratings:
    +132 / 0 / -0
    EDIT :

    Find the latest version of our example overlays attached to this post.
    Please note those are tailored to RaceRoom needs and that we encourage you all to customize them to your liking!


    With the 7th July patch, we have added the ability to spectate ANY multiplayer server regardless of what content you own or don't own (you will still need the password if there is one set).

    We are exposing an API for you to use inside a web view (web page) on top of the gameplay.

    What does that mean?
    It allows anyone with web development experience to create their own custom TV-style overlays.
    Using things like websockets can allow you to control everything remotely from any browser enabled device.

    The data you decide to show, the style it is presented in can all be unique to your broadcast and matching your league/community style.

    We hope you will find this useful.

    API documentation and files can be found at:
    https://github.com/sector3studios/r3e-spectator-overlay

    Some examples we have done so far


    Remote manager:


    Local manager:
     

    Attached Files:

    • Love it! Love it! x 15
    • Winner Winner x 10
    • Wonderful Wonderful x 5
    • Like Like x 3
    Last edited by a moderator: May 9, 2017
  2. ajokay

    ajokay Member

    Joined:
    Jan 29, 2015
    Ratings:
    +21 / 0 / -0
    Ok. That is nothing short of epic.

    Add custom livery support and you can have all of my money. Ok, maybe not all, but most. I still need to be able to afford pizza and rum.
     
    • Like Like x 3
    • Funny Funny x 3
  3. Flavourlicious

    Flavourlicious Well-Known Member

    Joined:
    Mar 31, 2015
    Ratings:
    +148 / 0 / -0
    Awesome! Do we have to create stuff from scratch or can we also download the stuff seen in above videos and modify?
     
    • Like Like x 2
  4. mape

    mape KW Studios Developer Beta tester

    Joined:
    Jan 14, 2015
    Ratings:
    +132 / 0 / -0
    Right now to test it out you will have to start out from scratch (or take a look at example-overlay.html). But we do plan on creating a example application that is more fleshed out.
     
    • Like Like x 4
  5. ::SKRO::

    ::SKRO:: Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +972 / 0 / -0
    I just exploded to bits.
    Again.


    ... jeez I should put a number on these bones ...
     
    • Funny Funny x 5
    • Like Like x 2
  6. Rich32G

    Rich32G Member

    Joined:
    Jul 7, 2015
    Ratings:
    +5 / 0 / -0
    Made an account simply just to say that you guys are doing awesome work. This is very impressive indeed.
     
    • Like Like x 4
    • Agree Agree x 3
  7. Kjell Eilertsen

    Kjell Eilertsen Active Member

    Joined:
    Jan 30, 2015
    Ratings:
    +44 / 0 / -0
    I see the weather app in the upper right corner... Rain and wet track confirmed! :D;)
    Also, the game took 2,9 seconds to load, so Half Life 3 confirmed as well! :rolleyes:
     
    • Funny Funny x 3
    • Like Like x 2
    • Winner Winner x 2
  8. Flavourlicious

    Flavourlicious Well-Known Member

    Joined:
    Mar 31, 2015
    Ratings:
    +148 / 0 / -0
    Aah cool cool. I'm an artist not a programmer but it will still be fun to mess around with it. :)
     
    • Like Like x 1
  9. J-F Chardon

    J-F Chardon KW Studios Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +5,041 / 0 / -0
    Something we forgot to write though:

    Once you started the game with the -broadcastUrl argument, don't forget to remove the argument if you want to play because as long as spectator mode is enabled, you won't be able to drive, even in single player.

    You will need to close the game, restart it without the argument.

    Sorry 'bout that.
     
    • Like Like x 2
    • Informative Informative x 1
  10. Flavourlicious

    Flavourlicious Well-Known Member

    Joined:
    Mar 31, 2015
    Ratings:
    +148 / 0 / -0
    So when you are doing leagues and want to do live coverage and you also want to drive you'll need a separate PC and account? Won't be a big problem because who can spectate and drive at the same time? :p Are you guys planning an in-game boolean to switch between driving and spectating?

    Ooh and will spectating also take a spot off the grid or is spectating independent of the amount of driving server clients?
     
    • Like Like x 1
  11. J-F Chardon

    J-F Chardon KW Studios Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +5,041 / 0 / -0
    @Flavourlicious : Good question, thank you for asking it!

    Using the broadcast argument to spectate a server does NOT use up a slot on the server. It only creates a node for it.

    And yes you pretty much need another PC if you want to spectate at the same time as you drive.

    That means you need to code (or find someone who can code it for you) an automated camera switcher since you won't be able to control the cameras / overlays while you drive.
     
    • Like Like x 4
    • Informative Informative x 2
  12. Flavourlicious

    Flavourlicious Well-Known Member

    Joined:
    Mar 31, 2015
    Ratings:
    +148 / 0 / -0
    I think the function will mostly be used in leagues so in that case you will have a dedicated crew choosing the shots etc anyways. Really great feature guys! :)
     
    • Like Like x 2
  13. GooseCreature

    GooseCreature Well-Known Member

    Joined:
    May 30, 2015
    Ratings:
    +670 / 0 / -0
    Pucker mucker! :cool:
     
    • Like Like x 1
    • Agree Agree x 1
  14. CirKan

    CirKan Member

    Joined:
    Jan 29, 2015
    Ratings:
    +17 / 0 / -0
    New features are always welcome, good job guys.
     
    • Agree Agree x 1
  15. ajokay

    ajokay Member

    Joined:
    Jan 29, 2015
    Ratings:
    +21 / 0 / -0
    Will this feature be able to be used in replays then? meaning if you're capturing video and controlling the cameras yourself, you'll still have access to all the custom graphics and the timing, etc. Because if so that would be nothing short of perfection.
     
  16. J-F Chardon

    J-F Chardon KW Studios Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +5,041 / 0 / -0
    @ajokay Actually I am not sure how much shows up in replays at all. Something we should ask @Mikael Hermansson about. Maybe there's some data available in memory during replay playbacks. I have doubts though. Big ones.
     
  17. Ryan Callan

    Ryan Callan Well-Known Member

    Joined:
    May 29, 2015
    Ratings:
    +284 / 0 / -0
    Will/are the demonstrations presented above provided as part of the base download?
     
  18. J-F Chardon

    J-F Chardon KW Studios Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +5,041 / 0 / -0
    @Ryan Callan There was no useable demo that could be shared but the very basic stuff used while developing. But we're working on a little in-house pack for the DTM Virtual Championship, we hope to be able to share that soon.
     
    • Like Like x 2
  19. Ryan Callan

    Ryan Callan Well-Known Member

    Joined:
    May 29, 2015
    Ratings:
    +284 / 0 / -0
    That would be very much appreciated for those without immediate development experience. Can I bribe @mape to give me his remote build? :D
     
  20. Mikael Hermansson

    Mikael Hermansson Well-Known Member

    Joined:
    May 3, 2015
    Ratings:
    +48 / 0 / -0
    Probably better to check with @Robert Holm. Don't want to make promises that he'll have to deliver on. :)
     
Thread Status:
Not open for further replies.