FlyDangerous icon indicating copy to clipboard operation
FlyDangerous copied to clipboard

Local webserver for OBS overlay

Open Dthen opened this issue 3 years ago • 6 comments

It would add greatly to Fly Dangerous for there to be built-in support for stream overlays via OBS. Usually, these are added to OBS as a web source, so a local webserver would likely be the easiest thing for users.

Some desired/ ideas for info to display:

  • inputs
  • speed
  • lap/position counters
  • current map name
  • split times

What else?

Dthen avatar Oct 02 '21 12:10 Dthen

Some other ideas could be:

Leaderboard Widget? (when on steam) Minimap (sounds crazy, but surely its just one extra viewpoint above you?) Personal Best (when not already shown) G Meter (When in Puffin) Boost display (when in Puffin)

So many ideas!

nova-triio avatar Oct 02 '21 14:10 nova-triio

I have no idea whether it should be a different issue or this one, but: A similar mode/server/api/whatever for the (headless) game server. The same thing as in "Pro" competitive games - a global overhead view and a table/popups with enough info on all players and handy camera controls for streaming commentators

Tallefer avatar Oct 02 '21 14:10 Tallefer

I have no idea whether it should be a different issue or this one, but: A similar mode/server/api/whatever for the (headless) game server. The same thing as in "Pro" competitive games - a global overhead view and a table/popups with enough info on all players and handy camera controls for streaming commentators

Like a really good spectator mode?

Dthen avatar Oct 02 '21 16:10 Dthen

You can call it that, yes. It kinda blends together with the spectator mode, but the notable difference is that a "normal" client should not have all the information a dedicated server has, be it for performance reasons or/and as an anti-cheat measure.

Tallefer avatar Oct 02 '21 16:10 Tallefer

Right, got ya. The line is a bit blurred. Arguably, a good enough spectator mode shouldn't need an overlay. I picture the overlay being more useful for pilots who are broadcasting their gameplay.

Another thought. Not sure whether it makes sense for the server to be highly configurable, or for it to just have multiple widgets/pages.

Dthen avatar Oct 02 '21 18:10 Dthen

As a simPit player I'm also highly interested in such data. IPC or Websocket would be highly appreciated so custom UI elements can be programmed. A low latency is key here.

Not so much interested in inputs. There are plenty of overlay solutions for input already.

bekopharm avatar Oct 13 '21 10:10 bekopharm

JSON data available in 0.6.0, https://github.com/jukibom/FlyDangerous/blob/main/Assets/Scripts/Core/ShipModel/Feedback/socket/FlyDangerousTelemetry.cs

jukibom avatar Feb 20 '23 14:02 jukibom