Jump to content

Need help getting started with custom HUDs


Recommended Posts

hi

I hope, it is ok, if I ask for a little help getting started writing a custom HUD plugin for rFactor. I know, how to read values from rFactor (thanks to the default plugin). And I know, how to render custom HUD elements through DirectX. But I don't know, how to render them on top of rFactor (there's just no tutorial).

I assume, there's some kind of callback, that tells me, when the game was started, when I enter the cockpit, when I leave the cockpit, what size the screen has, and that gives me a pointer to the DirectX device.

It would be great, if someone could help me out with these points and maybe even give me a little example plugin code, that displays something minimalistic on top of rFactor.

Thanks a lot in advance.

Marvin

Link to comment
Share on other sites

 Share

×
×
  • Create New...