[REL] Headlight controls

Discussion in 'Other' started by Seven Smiles, Aug 20, 2019.

  1. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    I was talking about FIA regs, I didn’t think about league rules. I’ll have a look at how hard it is to change.
     
    Goncalo Costa likes this.
  2. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    I've made the change as it was quite simple. Trying to get it into a working package is proving more of a challenge :mad:
     
    Goncalo Costa and Paulus_NL like this.
  3. Goncalo Costa

    Goncalo Costa Registered

    Joined:
    Feb 21, 2019
    Messages:
    58
    Likes Received:
    68
    Thank you for the quick response and sorry for the trouble...
     
  4. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    No problem, it was something I needed to clean up but now git has just trashed much of the work I've done today :mad::mad::mad::mad::mad:
    Do I do it again while it's fresh in my memory or do I take a hammer to my computer?
     
  5. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    New release V1.8.71
    rF2headlights-1.8.71-hlite.jpg
     
    Last edited: Feb 1, 2021
  6. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    4,007
    Likes Received:
    2,257
    With the latest version shown above, I get an error:
    Failed to execute script rf2headlights
    debug code is:
    'rf2headlightsDEBUG.exe' is not recognized as an internal or external command,
    operable program or batch file.
    Win10x64
     
  7. JuanP006

    JuanP006 Registered

    Joined:
    Apr 24, 2014
    Messages:
    84
    Likes Received:
    53
    Thank you for the great tool. It would be great if you could investigate this. I participate in endurance races, as many other people in the forum, where driver swap is required, but unfortunately the tool stops working once a swap is done so I had to stop using it. Thanks in advance for your help.

    Cheers
     
  8. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    :rolleyes: Something wrong with initialising headlightControls.ini, download https://github.com/TonyWhitley/rF2headlights/releases/download/V1.8.71/headlightControls.ini
    and overwrite the one in the same folder as the .exe
    I'll look into why.


    That version has magically disappeared ;) V1.8.72 has the fix
     
    Last edited: Feb 1, 2021
    davehenrie likes this.
  9. Goncalo Costa

    Goncalo Costa Registered

    Joined:
    Feb 21, 2019
    Messages:
    58
    Likes Received:
    68
    Amazing job @Seven Smiles . Thanks so much for the super fast implementation!
     
  10. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    4,007
    Likes Received:
    2,257
  11. atomed

    atomed Registered

    Joined:
    Jul 9, 2019
    Messages:
    509
    Likes Received:
    356
    Thanks a lot for this one @Seven Smiles, I can´t even use rF2 without it.
     
  12. mario100101

    mario100101 Registered

    Joined:
    Jan 26, 2021
    Messages:
    3
    Likes Received:
    0
    Recently I had to unistall rf2light and install it again. since i did that the flashing isn't working. The turn on lights function works fine, but no flashes. On the plugin it seems to detect that i am flasing but not pm rf2 ?!
    upload_2021-2-20_18-33-33.png
     
  13. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    This says you don't have H mapped to the Headlight control in rFactor
    upload_2021-2-20_19-35-37.png

    Does pressing H in the game toggle the headlights?
     
  14. mario100101

    mario100101 Registered

    Joined:
    Jan 26, 2021
    Messages:
    3
    Likes Received:
    0
    yeah, that was the issue ! I was gonna swear that the h was assigned :p Thanks
     
  15. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
  16. DaVeX

    DaVeX Registered

    Joined:
    Feb 7, 2015
    Messages:
    617
    Likes Received:
    693
    @Seven Smiles did you ever plan to port your tool to simhub as plugin too?
    A guy attempted something similar to your work (even if still very basic) so gave me the idea...your plugin would be very useful for AMS too or other titles and SimHub is a great tool used by many.. if you could combine the two wouldn't be great? :D
     
  17. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    No, I wish I had thought of it as it looks a lot simpler to implement!
     
  18. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    4,007
    Likes Received:
    2,257
    Are the new settings for items such as auto headlight gonna mess with your app?
     
  19. DaVeX

    DaVeX Registered

    Joined:
    Feb 7, 2015
    Messages:
    617
    Likes Received:
    693
    Well..you are still in time I suppose ;)
    (or at least I hope so :p )
     
  20. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    876
    Likes Received:
    921
    I've done 3 or 4 versions of it already, kinda lost interest now. A thought on a SimHub / AMS version is that I think rF2 is the only game that gives the headlight status (e.g. rF1 doesn't) so you could flash the headlights but there would be no guarantee whether they were on or off afterwards.
     

Share This Page