[REL] rF2 Pedal Overlay Plugin

Discussion in 'Other' started by TechAde, Sep 7, 2012.

  1. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    forgive my ignorance but is there a way to Hide the Plug-in once in game?
     
  2. GauchoRS

    GauchoRS Registered

    Joined:
    Nov 23, 2011
    Messages:
    471
    Likes Received:
    9
    CTRL-G enables/disables plugins ingame
     
  3. mtbboy

    mtbboy Registered

    Joined:
    Jul 11, 2013
    Messages:
    80
    Likes Received:
    0
    build 660:
    i driven isi karts.
    the pedal plug in flashed very fast.
     
  4. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    That's no good as I use other plug-ins, was wondering if there's a specific key bind to lose this one, if not add it to the "ideas" list TechAde ;) thanks
     
  5. FL!P

    FL!P Registered

    Joined:
    Oct 5, 2010
    Messages:
    9
    Likes Received:
    0
    Same here. I use TracIR and disabling hardware plugins disables it too, obviously. I'd be great if it was possible to disable the rF2PedalOverlay on its own without uninstalling it, even if you had to manually edit the ini file to do it.
     
  6. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    Version 10 is released, attached to first post.

    Version 10 adds:

    * Steering bar (rendered horizontally below pedal/FFB bars)
    * Ini file option to disable overlay (OverlayEnabled=True|False, defaults to True)
    * Ini file option to diplay filtered inputs (FilteredInputs=True|False, defaults to False)
    * Rebuilt against latest InternalsPlugin.hpp (version 6). Presumably this means it will require rF2 build 660 or above.
     
  7. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    Thanks for the update Ade but I'm not getting an INI file to edit :confused: started RF2, loaded a track and the plug-in works fine, but alas no INI to alter.
     
  8. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    The ini now resides in UserData, rather than alongside the plugin. Made this change a couple of versions ago thanks to the evils of UAC!
     
  9. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    aahh ok thanks must've missed that one :)
     
  10. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    aahh I thought the OverlayEnabled= would allow in game turning off but alas it does'nt, any plans to add this?
     
  11. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    Quoting this from another thread but replying in this one...
    That's a good idea, thanks. Next time I dive into the code I'll do that, make it horizontal like the steering bar.
    How about some sort of 'high water mark' that stays behind for a little while, indicating the highest value reached over the last few seconds? That shouldn't be too tricky (he says not so confidently!).
     
  12. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    No, sorry, at least not unless I can find some key detection code that isn't as heavy on the CPU as GetKeyState(). With rF1 it wasn't so bad as the physics thread wasn't hitting the CPU so hard, but with rF2 any extra CPU load is a problem, especially on slower systems.

    Edited to add:

    You can back out to the monitor, edit the ini (alt-tab or windowed), then hit the track again and it will re-load the ini, if that helps?
     
  13. Comante

    Comante Registered

    Joined:
    Nov 20, 2013
    Messages:
    1,694
    Likes Received:
    1,219
    TechAde, maybe it would be more clear some sort of diagram, with time in the horizontal axis, just like the ram or the cpu usage in the resource manager of the PC. You would really need to display just less of 1 second history, but this amount should be customizable. So, I figure you have a rectangle, and the right side show the realtime data, and streaming to the left the history is constantly updated. But what would be important is to show most data possible, but unless you use a 400 pixel bar, you cannot show 1 second history, maybe 0.25 sec. will be enough. And if due to this you have to cut data out of the display, they must not be the 100% values.
    I hope this is clear, today english is still sleeping in my mind.
     
  14. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    Nice idea but rather beyond the scope of this simple little plugin I'm afraid.

    However, what I do plan to work on at some point is a full telemetry overlay plugin with which it'll be possible to overlay a graph of any of the telemetry data available in the UpdateTelemetry() call. Don't hold your breath though, real life keeps me _very_ busy these days, what with work, a toddler and now another baby due soon!
     
  15. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Yeah :) Congratulations man. Good job done :D
     
  16. MarcG

    MarcG Registered

    Joined:
    Oct 4, 2010
    Messages:
    6,854
    Likes Received:
    2,234
    Ooh good thinking I'll try that when I next use your plug in, cheers mate
     
  17. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    Thanks! :D
     
  18. mlaw

    mlaw Registered

    Joined:
    Apr 9, 2014
    Messages:
    17
    Likes Received:
    2
    Do I just unzip this file into the plugin folder to get it to work?
     
  19. TechAde

    TechAde Registered

    Joined:
    Oct 13, 2010
    Messages:
    606
    Likes Received:
    38
    Into the Plugins folder, yes.
     
  20. rixracer

    rixracer Registered

    Joined:
    Nov 5, 2011
    Messages:
    51
    Likes Received:
    8
    Brake Wear Plugin available?

    Hi, Techade! Grats on the baby.
    I haven't seen it anywhere, and after having brake failure twice this season, I'm wondering if there is a brake-wear overlay available for RF2. There may be a preexisting one I just don't know about. Help!
    :confused:
     

Share This Page