How do i make a car colorable?

Discussion in 'Content Creation' started by driversf, Feb 27, 2021.

  1. driversf

    driversf
    Expand Collapse

    Joined:
    Feb 9, 2021
    Messages:
    32
    Hi, i am trying to make my first beamng mod but the problem is i cant make it colorable. I used materials.cs and still cant change the color. All i get is no textures or materials. I am also new to the forums so i might do something wrong while posting this.
     

    Attached Files:

    • ddddddddddd.png
  2. alentaylor22

    alentaylor22
    Expand Collapse

    Joined:
    Jan 19, 2018
    Messages:
    461
    I know that this doesnt contribute to your question and im sorry but how did you get your mod in game when i try to spawn the car nothing happened or it crashes
     
  3. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,062
    You should use main.materials.json instead of materials.cs, also if it's orange then something is definitely wrong with the materials. Just make a new file but this time do it properly with the json format.
     
    • Agree Agree x 1
  4. driversf

    driversf
    Expand Collapse

    Joined:
    Feb 9, 2021
    Messages:
    32
    i have done my main.materials.json. but is it ok if i delete the materials.cs?
     
  5. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,062
    You can't have both at the same time so you should delete the cs.
     
  6. driversf

    driversf
    Expand Collapse

    Joined:
    Feb 9, 2021
    Messages:
    32
    that mod works now thanks but i am making a different car and when i try and change the color nothing happens and everything is white, not no texture orange.
     
  7. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    Deleted post
     
    #7 S.Ali.M, Mar 13, 2021
    Last edited: Mar 14, 2021
  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