Unsolved Why texture is visible without paintjob?

Discussion in 'Mod Support' started by driftbox, May 22, 2021.

  1. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    I maked gauges texture for hopper and i want to make it vissible only with one paintjob. But its visible without it. How i can make it visible only with one paintjob?
     

    Attached Files:

  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,060
    If your material doesn't have "skin" in the name then the game won't know it's for a skin.
     
  3. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    you mean this?:

    upload_2021-5-22_14-30-44.png
    --- Post updated ---
    i changed names of dds files , names in materials.cs and still its visible in another configs
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,060
    This is all wrong, look how it's done in official cars instead of guessing
     
  5. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    i don't know in what file official cars have materials
     
  6. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    The official cars have a file called main.materials.json where the materials are. The skin jbeams are in the main jbeam file (like pigeon.jbeam for the pigeon). The skin materials are in a file called skin.materials.json.
     
    • Like Like x 1
  7. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    ok. But how i can make this texture only visible with one skin? official skins don't have another interior textures etc.
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,060
    They do in the citybus, look there
     
  9. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    i think this idea is stupid so now i want to make it new interior part
     
  10. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    I think that’s the only way of doing it.
     
    • Agree Agree x 1
  11. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    You didn't make that a new part for the vehicle?!! Bruh
     
  12. driftbox

    driftbox
    Expand Collapse

    Joined:
    Feb 1, 2021
    Messages:
    280
    im stupid and i wanted to make it vissible with paintjob hahahahah
     
  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