[REL] Headlight controls

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

  1. Moriz Mehl

    Moriz Mehl Registered

    Joined:
    Jul 16, 2016
    Messages:
    29
    Likes Received:
    28
    Hi thanks for this nice tool. I'd love to use it but unfortunately it only works partially for me. Generally on straights the flash works, but every time I hit the brake, it doesn't recognize the flash. Then sometimes when I hit the button again, still braking, it works, sometimes it takes multiple button presses to get it to work. When I hit H whilst braking it accepts the input, so I believe that something is amiss with the communication of the plugin with the simulator. Also in corners the flash soetimes doesn't work.
     
  2. Rob Moore

    Rob Moore Registered

    Joined:
    Nov 27, 2018
    Messages:
    22
    Likes Received:
    7
    Hi, I've been enjoying using this. It was working fine earlier in the year, but its been a mixed bag recently. I've been using it for some online league endurance racing events in LMP2, it works when practicing on the race servers leading upto the event, but for whatever reason its failed to work on race day when i really could do with it. Can't think why this would be? Problem is on race day you can't really experiment or test as you are only allowed in the server when your driving.
     
  3. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I don’t have an answer for either of those two problems or even any idea where to start looking. There will be a new version soon-ish but I don’t expect it to affect fundamental issues like those.
     
    Moriz Mehl likes this.
  4. Dudo

    Dudo Registered

    Joined:
    Apr 22, 2017
    Messages:
    38
    Likes Received:
    25
    ........
    [Flash headlights]
    controller = Thrustmaster TX Racing Wheel
    control = 8
    .... but still not working. Any idea?
    [​IMG]
     
    Last edited: Aug 23, 2020
  5. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,332
    Likes Received:
    1,342
    Have you asigned the H key on rfactor ingame controls?
     
  6. Dudo

    Dudo Registered

    Joined:
    Apr 22, 2017
    Messages:
    38
    Likes Received:
    25
    of course, that was the first thing I set up
    This can be seen in the image of rFactor Toggle
     
  7. atomed

    atomed Member

    Joined:
    Jul 9, 2019
    Messages:
    1,332
    Likes Received:
    1,342
    Yes, I see that, I mean the ingame config, in settings/controls/driving.
     
  8. Ciaoarturo

    Ciaoarturo Registered

    Joined:
    Nov 6, 2020
    Messages:
    7
    Likes Received:
    2
    hey. This looks like a great app. But I am getting an error that I think is due to my RF2 files being on a drive that isn't C. Is there a way to tell the app to look where I have the game installed? Thanks! Art IMG-6306.jpg
     
  9. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Yes, see rF2headlights\headlightControls.ini, there's a line in there
    Code:
    controller_file = %ProgramFiles(x86)%/Steam/steamapps/common/rFactor 2/Userdata/player/controller.json
     
  10. Ciaoarturo

    Ciaoarturo Registered

    Joined:
    Nov 6, 2020
    Messages:
    7
    Likes Received:
    2
    OK. I tried putting my full game directory in there but no joy. Is there a ine I need to add to the Controller.json file? Sorry for the Newbie questions. Outside of SimRacings, I work on Macs all day.
    My edit to headlightContols.ini: controller_file = f:/ProgramFiles(x86)/Steam/steamapps/common/rFactor 2/Userdata/player/controller.json
     
    Last edited: Nov 6, 2020
  11. ChalkyWIS

    ChalkyWIS Registered

    Joined:
    Sep 14, 2016
    Messages:
    32
    Likes Received:
    6
    Where are you running it from.
    I've dropped the rF2Headlights.exe file straight into my Bin64 folder (same one where the rFactor2.exe is)
     
  12. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    (It shouldn't matter where the exe file is)
    I think that should be
    Code:
    controller_file = f:/Program Files (x86)/Steam/steamapps/common/rFactor 2/Userdata/player/controller.json
    with spaces.
     
    ChalkyWIS likes this.
  13. Ciaoarturo

    Ciaoarturo Registered

    Joined:
    Nov 6, 2020
    Messages:
    7
    Likes Received:
    2
    That worked! darn spaces. Reminds me as a kid looking for the missing semi colon in SAS.
     
    davehenrie and Seven Smiles like this.
  14. Dave Dewhurst

    Dave Dewhurst Registered

    Joined:
    Nov 15, 2020
    Messages:
    7
    Likes Received:
    5
    Firstly, thanks for this, the sim should have it as default but this is the next best thing

    I encountered an odd issue when I was part of a team sharing 1 car
    The first person to drive the car (me included if I do the first stint) would have no issue and the lights would flash correctly.

    In rfactor 2, to swap drivers the next person joins the server as a spectator and then joins the driver in the car, control then swaps to the non driving spectator during a pit stop and the driver becomes the spectator
    The new driver isn't able to flash headlights, the checkboxes on the program don't show him as being on track

    Any ideas?

    Dave
     
  15. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Dave Dewhurst likes this.
  16. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    1,031
    Likes Received:
    317
    Maybe @Lazza could help as he got it working in his DAMPlugin
     
  17. Tonnie Jansen

    Tonnie Jansen Registered

    Joined:
    Jun 17, 2019
    Messages:
    13
    Likes Received:
    10
  18. mario100101

    mario100101 Registered

    Joined:
    Jan 26, 2021
    Messages:
    3
    Likes Received:
    0
    @Seven Smiles Thank you for this ! it's working great !! Is there any option to control the flashing time ? Not the on time but the times it flashes..
     
  19. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    No, I found the number of times specified in the rules so left it fixed. You can press it twice... or edit the program to do what you want :D
     
  20. Goncalo Costa

    Goncalo Costa Registered

    Joined:
    Feb 21, 2019
    Messages:
    62
    Likes Received:
    82

Share This Page