Unsolved Automation materials into blender

Discussion in 'Mod Support' started by RORCAT, Jul 15, 2018.

  1. RORCAT

    RORCAT
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    76
    Hi, I'm trying to get my automation models that I have exported to beamNG into blender.

    I can import them into blender, but when I export them back to beamng, I have no material on the paint.
    Also, some of the engine materials are not showing either.

    Any Ideas?
     

    Attached Files:

  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,774
    You need materials.cs in same folder as .dae, that should be in zip of your exported vehicle.

    Generally it is good idea to extract whole zip to Documents/BeamNG.drive/vehicles/yourexportercarname

    yourexportedcarname is folder in zip file.

    In practice open zip that contains your exported vehicle, open said vehicles folder, drag yourexportedcarname folder from inside of zip to vehicles folder. Make all changes to that folder and don't forget to move that zip exporter made out from mods folder.
     
    • Informative Informative x 1
  3. RORCAT

    RORCAT
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    76
    I tried that just now, I had the materials working, but I simply imported the original exported file that came out of automation, to blender, then blender back to dae, and it loses the materials.
    --- Post updated ---
    I think I might have solved part of it. Blender apparently has a limit on how long material names can be.

    I'll report back when I know for sure. Any way to get rid of the limit?
     
  4. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,774
    Make sure NONE of material names has .001 or some similar in it, remove that part if needed as even one of those causes rest of the file to be garbage in eyes of game.
     
    • Informative Informative x 1
  5. RORCAT

    RORCAT
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    76
    I just checked, None of the materials have .001 or anything similar, Some of the names are cut off at the end, I just compared the original materials.cs to the blender exported one.
     
    • Informative Informative x 1
  6. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,774
    I did just checked my blender and indeed material_60_country_deluxe_gt_headerflange_mid_c_0_staticmesh_headerflange_mid35 becomes material_60_country_deluxe_gt_headerflange_mid_c_0_staticmesh_h

    I would of never thought there being such limitations within Blender, that is hardly even long name :p

    I did test Blender 2.8 and it cuts name same way, but I can't find material editor in Blender 2.8 as well as many other things, it is so hard to navigate around, that I stick to good old 2.78a which just works and does not even crash.
     
    • Informative Informative x 1
  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