Flashing lights

Discussion in 'General Discussion' started by Rui Santos, Aug 5, 2019.

  1. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Glad you like it. One answer to your problem is to map a button to Headlights on. The shared memory doesn’t have an entry for "headlights required" that I could use to turn them on automatically, the only thing I think I could do is check if other drivers have their headlights on. Or add a choice to have the headlights always on (whether it’s dark or not), the driver would have to choose to switch them off.
     
  2. sherpa25

    sherpa25 Registered

    Joined:
    May 14, 2015
    Messages:
    234
    Likes Received:
    27
    Care to share where that is set up? So far been using only basic CC and just started looking at further options.->[found where it is].
     
    Last edited: Aug 20, 2019
  3. Vanisch

    Vanisch Registered

    Joined:
    Oct 21, 2018
    Messages:
    130
    Likes Received:
    80
    hey Sven,

    first a great idea with the tool.
    Unfortunately I get the following message when starting the headlights.exe.
    "pygame 1.9.6
    Hello from the pygame community. https://www.pygame.org/contribute.html
    rFactor 2 Shared Memory not present. "

    what could be the mistake here?
    thank you for your help
    Micha
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,386
    Likes Received:
    6,602
  5. Paulfield

    Paulfield Registered

    Joined:
    Feb 18, 2012
    Messages:
    235
    Likes Received:
    242
    I had the same problem but fixed it by starting rfactor first then headlight exe. Great addition to the sim
     
    Vanisch likes this.
  6. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,484
    Likes Received:
    4,397
    yeah, I saw that error message, I just assumed it was waiting for me to start rF2.
     
    Vanisch likes this.
  7. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I've fixed that and added options to turn on the headlights automatically when
    • Driver turns them on (i.e. not automatic)
    • At least one other driver has them on
    • More than one other driver has them on
    • At least half of the other drivers have them on
    • All the other drivers have them on
    as well as the option to have the headlights on when you get in the car (driver can turn them off). Right, can anyone think of any more headlight-related functions? :D

    It needs some tidying before I can release it :eek:
     
    Vanisch, davehenrie and Rui Santos like this.
  8. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
  9. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I've had some ideas (with a nod to people who might say "This is a sim, I don't want automatic headlights!")
    • A "smart" single button that turns the lights on if they're off but flashes them if they're already on. Maybe a long press to turn them off?
    • Voice commands "Headlights on" "Headlights off" (for VR users particularly who don't have buttons to spare). I don't think there's much point in "Headlights flash", you need a button for that.
    • Voice feedback "Everyone else has their lights on" (Yes, there is a "Headlights are now required" message on screen - but only if you have the message box turned on. Ask me how I know.) and confirmations like "Headlights on"
    • A hazard lights function? If you're going slowly, limping back to the pits for example.
     
    atomed likes this.

Share This Page