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.30 Bug Reporting thread
    Solutions and more information may already be available.

Blender can't import car .DAE file

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by passengerpigeon, Feb 1, 2017.

Tags:
  1. passengerpigeon

    passengerpigeon
    Expand Collapse

    Joined:
    Jan 22, 2017
    Messages:
    60
    Okay, so I fixed the bug with the intake (by simply removing the torque curve in the intake file) and it now works, except I have run into one final bug that is preventing me from releasing the second alpha of my mod: the game doesn't like me adding two V8 engines for some reason. Attached is the broken mod. In the /modfiles folder, there are two engine .jbeam files, moonhawk_beaterengine.jbeam and moonhawk_blownengine.jbeam. Both of these engine files work perfectly if they are in the mod on their own, but when I try to put both of them in the mod, neither of them appear in the parts menu. What could be causing this? Is there a conflict between the two?
    Thanks, Passengerpigeon.
     

    Attached Files:

  2. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,335
    Sorry, now I don't know why it doesn't work. If the parts had the same internal name that could cause something but they don't. But I will take another look at the files once I'm on my laptop.
     
  3. passengerpigeon

    passengerpigeon
    Expand Collapse

    Joined:
    Jan 22, 2017
    Messages:
    60
    While trying to add different paint colors to the Moonhawk, I have run into a strange bug. I tried creating the following info.json file in my mod directory:
    Code:
    {
        "Name":"Moonhawk",
        "Brand":"Bruckell",
        "Author":"BeamNG",
        "Country":"United States",
        "Body Style":"Coupe",
        "Type":"Car",
        "Derby Class":"Mid-Size Car",
        "default_pc":"v8a",
        "default_color":"Burgundy",
        "default_color_3":"Chrome",
        "colors":{
            "Pearl White": "1 1 1 1.2",
            "Charcoal": "0.18 0.18 0.18 1.2",
            "Silver": "0.65 0.65 0.65 1.2",
            "Gray": "0.5 0.5 0.5 1.3",
            "Carbon Gray": "0.33 0.33 0.33 1.3",
            "Elite Gray": "0.41 0.43 0.43 1.65",
            "Cream": "1 0.9 0.8 1.4",
            "Dusted Mica": "0.6 0.45 0.35 1.4",
            "Medallion Gold": "0.74 0.55 0.0 1.3",
            "Chestnut": "0.3 0.2 0.12 1.2",
            "Pure Black": "0 0 0 1.3",
        "Sun Bleached Black": "0.41 0.41 0.41 1.855",
            "Burgundy": "0.5 0 0 1.2",
            "Maroon": "0.3 0.03 0.05 1.2",
            "Sunset": "0.6 0.2 0.1 1.2",
            "Clay Red": "0.45 0.28 0.233 1.3",
            "Aquamarine": "0.15 0.35 0.6 1.2",
            "Moonlight": "0.09 0.05 0.11 1.2",
            "Forest Green": "0.1 0.35 0.2 1.2",
            "Seafoam Green": "0.24 0.48 0.48 1.2",
            "Shale Green": "0.22 0.27 0.23 1.3",
            "Verdant Green": "0.21 0.55 0.11 1.3",
            "Opal Green": "0.22 0.37 0.33 1.3",
            "Seaside Blue": "0.2 0.3 0.5 1.2",
            "Azure Blue": "0.1 0.2 0.4 1.2",
            "Royal Blue": "0.0 0.1 0.42 1.3",
            "Navy Blue": "0.0 0.05 0.25 1.2",
            "Bermuda Blue": "0.06 0.145 0.17 1.2",
            "Brilliant Blue": "0.08 0.36 0.75 1.3",
        "Faded Blue": "0.273494 0.544723 0.922506 1.847
    ",
            "Fire Red": "1 0 0 1.2",
            "Scarlet Red": "0.68 0.1 0.11 1.3",
            "Flame Orange": "1 0.3 0 1.2",
            "Fiesta Yellow": "0.8 0.7 0.1 1.5",
            "Citrus Orange": "0.9 0.58 0.1 1.4",
            "Flare Orange": "0.83 0.28 0.03 1.4",
            "Solar Yellow": "0.95 0.7 0.1 1.4",
            "Straw Yellow": "0.895 0.674 0.225 1.4",
            "Sky Blue": "0.14 0.62 0.92 1.2",
            "Clementine": "1 0.493 0.196 1.3",
            "Chrome": "0.5 0.5 0.5 0.00001",
        "Tarnished Chrome": "0.5 0.5 0.5 1.201",
        "Unpainted": 0.5 0.5 0.5 2",
            "Mist Blue": "0.6 0.76 0.88 1.4"
        }
    }
    This worked at first, but when I tried to add one skin and a new configuration into my mod, the Moonhawk variants lost their true names in the config menu (the ones in the info.json files) and none of them would spawn. This is almost certainly a file conflict, but what perplexes me is that it only happens under certain conditions. Is there any better way to add new paint colors?
     
  4. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,335
    You should not be adding any new paint colors. An update to one of my own mods didn't get approved because it would have owerwritten the official info.json. So most likely you should not be doing it either.

    However, when you save a config it saves the color data to the .pc too. So if you make a config (and then remove the color line from info_your_config.json, not sure if that is needed) it should use the colors defined in your .pc. This way you can create configs with custom colors. But sadly no new colors for the vehicle selector menu.
     
  5. passengerpigeon

    passengerpigeon
    Expand Collapse

    Joined:
    Jan 22, 2017
    Messages:
    60
    OK, thanks for the heads up. I'll go back to putting colors in the config file - I only tried to add new colors in the first place because I thought that doing it the conventional way was causing a glitch, which it turned out not to be.
    Also, do you know how to create an overlay skin for a car? I want to create a colored skin that stays the same color no matter what color of paint is underneath, so I tried creating a skin which fits into the "diffuse" skin slot. This worked well with white paint, but when I applied black paint, the colors of the skin all went very dark and washed out. Am I editing the wrong layer?
     

    Attached Files:

  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