Jump to content
This site uses cookies! Learn More

Questo sito utilizza cookie di terze parti per inviarti pubblicità in linea con le tue preferenze. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie, clicca qui. Chiudendo questo banner, scorrendo questa pagina, cliccando su un link o proseguendo la navigazione in altra maniera, acconsenti all'uso dei cookie. :)

Sign in to follow this  
Marvin

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

×