Solved miramar left fender becomes chrome

Discussion in 'Mod Support' started by Peter Beamo, Feb 12, 2017.

  1. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    problem solved
     
    #1 Peter Beamo, Feb 12, 2017
    Last edited: Feb 12, 2017
  2. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,475
    The error went from your modified glass jbeam, you have an unclosed DeformGroup, so when the windshield broke, it's apply the deform group to the next part, you just need to add :
    Code:
    {"deformGroup":""},
    to your flexbody section of glass :
    Code:
    "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             //glass
             {"deformGroup":"windshield_break", "deformMaterialBase":"miramar_glass", "deformMaterialDamaged":"miramar_windshield_dmg"}
             ["miramar_windshield", ["miramar_body","miramar_windshield"],[]{"deformSound":"GlassBreakSound1", "deformVolume":0.7}],
             {"deformGroup":"windshield_break", "deformMaterialBase":"miramar_glass_int", "deformMaterialDamaged":"miramar_glass_int"}
             ["miramar_windshield_int", ["miramar_body","miramar_windshield"]],
             {"deformGroup":"windshield_break", "deformMaterialBase":"glass_invisible", "deformMaterialDamaged":"glass_mirror"}
             ["miramar_windshield_dmg", ["miramar_windshield"]],
             {"deformGroup":""},
        ],
     
    • Informative Informative x 1
  3. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    thank you man :) you are always there when i need help.
     
  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