SOLVED Some LEDs aren't working

Discussion in 'Car Modding' started by Arnaud Plume, Dec 14, 2019.

  1. Arnaud Plume

    Arnaud Plume Registered

    Joined:
    Jul 5, 2019
    Messages:
    178
    Likes Received:
    1,099
    I've got 2 Leds in the cockpit, one is LED182 (redline) and is working.

    One is LEDLF (low fuel) and it never light. If I change the material to LED165 for example, Led is working.

    Any idea?

    Is there something to add in the cockpitinfo.ini for LEDLF?
     
  2. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    I would recommend to use a specific syntax for the leds of each car, to avoid any conflicts, caused by same material names.
    For example add the line
    WARNINGLED=XYZLED (XYZ= placeholder)
    into the cockpitinfo.ini and use that for the material name of your car.
    For the low fuel it would be XYZLEDLF then.
    And i would also use that scheme for the rpmled (for example RPMLED=XYZRPM)
     
    Arnaud Plume likes this.
  3. Arnaud Plume

    Arnaud Plume Registered

    Joined:
    Jul 5, 2019
    Messages:
    178
    Likes Received:
    1,099
    Thank you for your advice. I've made the changes as you said but there is still the same problem. The texture is a dds, maybe it's incompatible with a blinking led. I'll try with a tga format.
     
  4. woochoo

    woochoo Registered

    Joined:
    Nov 3, 2010
    Messages:
    1,339
    Likes Received:
    3,112
    on that note, while trying to add a DRS light recently, eventually I read somewhere on these forums that the DRS light needs to be dds, and tga won't work for it. And DDS did then work for DRS
     
    Arnaud Plume likes this.
  5. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    It works with a dds too.
    If you want, you can zip and upload the led and the textures that you use and send it to me by pm.
    I will check if it works here then.
     
    pascom and Arnaud Plume like this.
  6. Arnaud Plume

    Arnaud Plume Registered

    Joined:
    Jul 5, 2019
    Messages:
    178
    Likes Received:
    1,099
    Solution (given by Bernd in PM): Those LEDs have to be putted in the cockpit instance in GEN file.

    For LED165 till LED182, it's not mandatory to put them in cockpit instance.
     
    Emery and Mauro like this.
  7. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    I want to add, that it also works in the steering wheel instance.
    But to use it there, makes only sense when it's integrated into the steering wheel.
     
    Arnaud Plume likes this.

Share This Page