1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Whenever I try add a colour to my .pc config it just ignores it and picks yellow instead

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by theComputerNerd, Jun 11, 2023.

  1. theComputerNerd

    theComputerNerd
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    84
    I'm making a rally skin and I need the 3rd base colour to be a shade of gold to match, instead, it's picking a bad yellow instead.

    The colour I want:
    screenshot_2023-06-11_23-45-19.png

    Colour it's spawning:
    screenshot_2023-06-11_23-44-51.png

    This is the colour part of the .pc config file
    Code:
    {
      "format":2,
      "licenseName":"WRX_STI",
      "mainPartName":"sunburst",
      "model":"sunburst",
      "paints":{
        "1":{
          "baseColor":[
            0,
            0.1780879121,
            0.592,
            2
          ],
          "clearcoat":1,
          "clearcoatRoughness":0,
          "metallic":1,
          "roughness":0.498
        },
        "2":{
          "baseColor":[
            0,
            0.1780879121,
            0.592,
            2
          ],
          "clearcoat":1,
          "clearcoatRoughness":0,
          "metallic":1,
          "roughness":0.498
        },
        "3":{
          "baseColor":[
            0.7122051282,
            0.5868774303,
            0.2797948718,
            2
          ],
          "clearcoat":1,
          "clearcoatRoughness":0,
          "metallic":1,
          "roughness":0.403
        },
        "1":{
          "baseColor":[
            0,
            0.1725660377,
            0.538,
            1
          ],
          "clearcoat":1,
          "clearcoatRoughness":0.04,
          "metallic":1,
          "roughness":1
        },
        "2":{
          "baseColor":[
            0,
            0.1725660377,
            0.538,
            1
          ],
          "clearcoat":1,
          "clearcoatRoughness":0.04,
          "metallic":1,
          "roughness":1
        },
        "3":{
          "baseColor":[
            0,
            0.1725660377,
            0.538,
            1
          ],
          "clearcoat":1,
          "clearcoatRoughness":0.04,
          "metallic":1,
          "roughness":1
        },
        "baseColor":[
          0,
          0.168627456,
          0.529411793,
          1
        ],
        "clearcoat":0.8,
        "clearcoatRoughness":0,
        "metallic":0.2,
        "roughness":0.5
      },
      
    Is there any fix to this?
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,352
    Where the heck did you copy that code from, this is not the correct syntax at all
     
  3. theComputerNerd

    theComputerNerd
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    84
    I mean its not the whole code, but whats exactly wrong with it? Sorry I'm new to modding
     
  4. Turbo49>

    Turbo49>
    Expand Collapse

    Joined:
    Apr 1, 2021
    Messages:
    3,220
    it's meant to look something like this:
    Code:
      "paints":[
        {
          "baseColor":[
            0.8,
            0.1,
            0.1,
            1.2
          ],
          "clearcoat":1,
          "clearcoatRoughness":0.06,
          "metallic":0,
          "roughness":1
        },
        {
          "baseColor":[
            1,
            1,
            1,
            1.2
          ],
          "clearcoat":1,
          "clearcoatRoughness":0.06,
          "metallic":0,
          "roughness":1
        },
        {
          "baseColor":[
            0,
            0,
            0,
            1.2
          ],
          "clearcoat":1,
          "clearcoatRoughness":0.06,
          "metallic":0,
          "roughness":1
        }
    you gotta remove the numbers before the different paint slots, and there should only be 3 of them
     
    • Agree Agree x 1
  5. theComputerNerd

    theComputerNerd
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    84
    I tried removing the numbers, when I tried respawning it, it just spawned the default Sunburst
    --- Post updated ---
    I think I fixed it for now, I made an entirely new config from scratch and used that as the .pc config 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