Headlights Combination

Discussion in 'General Discussion' started by kiski, Mar 16, 2025.

  1. kiski

    kiski Member

    Joined:
    Apr 27, 2018
    Messages:
    92
    Likes Received:
    58
    Hi folks,

    I´ve been wondering about how to set one pair of position headlight nodes to show for 2 Headlight controler position? Yesterday I have studied that TS15 pdf doc in dev folder and found that without additional scripting it is possible to make many headlight combinations just with correct node and light naming.

    But I never read anywhere that if it´s possible to use e.g. position lights node for headlight controler value=1 and also for headlight controler value=2. Not sure if such naming suffix exists.

    Of course, I can make that with script, but this particular question is how to make it without scripting, just with suffix naming and numbering.

    Any help? Thanks.
     
  2. Oystein

    Oystein Well-Known Member

    Joined:
    May 24, 2018
    Messages:
    270
    Likes Received:
    304
    The dev docs doesn't explain this correctly. This is what I've found

    Headlight switch position 0 = Off
    Headlight switch position 1 = Taillights. Node lights_revtail is active - > Child object Bwd_Taillight01 & 02 is active.
    (or lights_fwdtail / Fwd_Taillight01... is active, depends on which cab is active. But Headlight switch 1 is always for taillights)

    Headlight switch position 2 -> Node lights01_fwdhead00 active -> Child object Fwd_Headlight01, 02 and 03 is active.

    Headlight switch position 3 -> Node lights02_fwdhead01 active -> Child object Fwd_Headlight11 is active.

    From here you can add more lights. I have not tested, but I will assume that node lights03_fwdhead02 will activate child objects named Fwd_Headlight2x (headlight switch position 4)

    Hope this helps. This doesn't require any scripting, just nodes and child's.
     
  3. kiski

    kiski Member

    Joined:
    Apr 27, 2018
    Messages:
    92
    Likes Received:
    58
    Oystein Thank you for your effort, but this does not answer my particular question. I wanted to know if it´s possible to have one light node active for two Headlight switch position. According to your reply, I need, for example, node "lights01_fwdhead00" to be active for "Headlight switch position 2" and also for "Headlight switch position 3". Not just for one position, but for two.

    Why I need this - because for "Headlights switch position 2" I need to activate small position lights, and for "Headlight switch position 3" I need those small position lights to still remain active, but need to add a reflector as a third active light/node.
     
  4. Oystein

    Oystein Well-Known Member

    Joined:
    May 24, 2018
    Messages:
    270
    Likes Received:
    304
    I believe that you need to duplicate that node and name it so that it activates on the next headlight pos. That is how I did it before I started to script ligths.
     
    • Like Like x 1
  5. kiski

    kiski Member

    Joined:
    Apr 27, 2018
    Messages:
    92
    Likes Received:
    58
    Oystein well, that´s what I´m afraid of. Because I do not have the 3D source file for that exterior model. Ok, thanks.
     

Share This Page