Make multiple screens with genericGauges.lua

Discussion in 'Programming' started by kalisbe, Sep 25, 2024.

  1. kalisbe

    kalisbe
    Expand Collapse

    Joined:
    Aug 4, 2022
    Messages:
    35
    ITS A RE-POST!
    ORIGINAL POST HERE:Unsolved - Make multiple screens with genericGauges.lua | BeamNG

    I am making a dash with more than one screens with .html files and genericGauges.lua. I found out that the lua supports different names of configrations and tried to use different configration names like
    configuration_velocity and configuration_rpm, but it doesn't work. Still, one of them stayed "no texture". How can I solve it?
     
  2. StinchinStein

    StinchinStein
    Expand Collapse

    Joined:
    Jul 16, 2014
    Messages:
    763
    Is the gauge's material name in the model file the same as the one you are referencing in JBeam?

    In this case, auto_play_screen_velocity.

    I usually have this error if the material names don't match up.
     
  3. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,466
    Make sure that you don't have conflicting controller names like here:
    upload_2024-9-29_15-8-55.png
    Change the name field for one of them and use that as the JBeam section name.
     
  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