Almost working! ETK I Clear Taillights

Discussion in 'Content Creation' started by multibros, Jan 5, 2023.

  1. multibros

    multibros
    Expand Collapse

    Joined:
    Mar 4, 2018
    Messages:
    7
    Hello once again all, I've been working on my ETK I clear taillight mod. With tons of help from Joobles I've been able to make a close to working mod. Currently the mod loads onto the vehicle with no errors, but the "alt" light texture loads instead of the clear taillights. I'm not sure if it makes much sense so I'll show a comparison

    Clear Taillights working, but no illumination:
    20230105120133_1.jpg

    And Illumination working, but clear lights don't load:
    20230105120916_1.jpg

    Currently my Jbeam for the glowmap is written as:
    "glowMap":{
    "etki_signal_L_clear":{"simpleFunction":{"signal_L":0.49}, "off":"etki_lights", "on":"etki_lights_clear_on", "on_intense":"etki_lights_on_intense"},
    "etki_signal_R_clear":{"simpleFunction":{"signal_R":0.49}, "off":"etki_lights", "on":"etki_lights_clear_on", "on_intense":"etki_lights_on_intense"},
    "etki_taillight_clear":{"simpleFunction":{"lowhighbeam":0.49}, "off":"etki_lights", "on":"etki_lights_clear_on", "on_intense":"etki_lights_on_intense"},
    "etki_brakelight_clear":{"simpleFunction":{"brake":0.49}, "off":"etki_lights", "on":"etki_lights_clear_on", "on_intense":"etki_lights_on_intense"}


    Now, the "etki_lights_clear_on" being changed to "etki_lights_on" is what makes the difference between the 2 light textures, but I just can't quite understand how it changes what.

    If anyone with more experience in making lights can give me a hand with this last step that would be amazing. Thank you all so much!!

    Edit: I went to work and after returning I took one look at my code and realized the error was in that I made the on state act as clear lights instead of the off state.

    Full release of the mod will be out shortly!
     

    Attached Files:

    #1 multibros, Jan 5, 2023
    Last edited: Jan 6, 2023
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice