How do you make a car use the color selector?

Discussion in 'Content Creation' started by Joeyfuller2000, Jan 13, 2016.

  1. Joeyfuller2000

    Joeyfuller2000
    Expand Collapse

    Joined:
    Jan 19, 2015
    Messages:
    1,239
    I'm trying to figure out how to make a vehicle be able to use the color selection menu.
     
  2. direct_UA

    direct_UA
    Expand Collapse

    Joined:
    Jun 20, 2014
    Messages:
    782
    Look into BeamNG cars' info.json, maybe will help. There are colours.
     
  3. Joeyfuller2000

    Joeyfuller2000
    Expand Collapse

    Joined:
    Jan 19, 2015
    Messages:
    1,239
    I know there are colors there, I'm asking how do I make a car that is always a static color use the color selector?
     
  4. SuperNoob05

    SuperNoob05
    Expand Collapse

    Joined:
    Jan 4, 2015
    Messages:
    1,289
    I think it's defined in the materials.cs file.
     
  5. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    dont you have to add this into the materials.cs as well?
    Code:
        instanceDiffuse[2] = true;
     
  6. Joeyfuller2000

    Joeyfuller2000
    Expand Collapse

    Joined:
    Jan 19, 2015
    Messages:
    1,239
    Problem resolved
     
  7. DirtGamer301

    DirtGamer301
    Expand Collapse

    Joined:
    Aug 23, 2015
    Messages:
    414
    Oh, so I make a white texture (_d) and whatever should use the colour selector will be transparent? And colours from other materials using the same texture but not using the colour selector will be in the _c file?
     
  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