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.

how to assign broken glass texture

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Zibert54, May 8, 2020.

  1. Zibert54

    Zibert54
    Expand Collapse

    Joined:
    Mar 21, 2020
    Messages:
    45
    how to assign broken glass texture
     
  2. JsZ

    JsZ
    Expand Collapse
    Banned

    Joined:
    Feb 11, 2018
    Messages:
    594
    you need to be more elaborate on what you're trying to do. there are many aspects to a broken glass texture from the material itself to the jbeam
     
  3. Zibert54

    Zibert54
    Expand Collapse

    Joined:
    Mar 21, 2020
    Messages:
    45
    broken glass texture
     
  4. Zibert54

    Zibert54
    Expand Collapse

    Joined:
    Mar 21, 2020
    Messages:
    45
    help?
     
  5. austen64

    austen64
    Expand Collapse

    Joined:
    Jul 5, 2019
    Messages:
    866
    You have to be more specific if you're going to get any help. Just saying "broken glass texture" isn't very helpful.
     
  6. MrJavelin

    MrJavelin
    Expand Collapse

    Joined:
    Apr 21, 2019
    Messages:
    664
    So are you trying to map the texture onto a body?
     
  7. Zibert54

    Zibert54
    Expand Collapse

    Joined:
    Mar 21, 2020
    Messages:
    45
    Okay, im doing a mod right now, when the car crashes the glass becomes 'no texture'.
    I need to paste broken glass texture instead of no material.
    How can i do this?
    --- Post updated ---
    please help
     
  8. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    You need a texture that the can be switched to when the glass get broken, currently there is no texture to switch to so BeamNG throws in the default "No Texture" texture

    below is an example of a jbeam that is doing texture switching. It is under the "flexbodies" section with some extra programming to allow it to switch on a node/beam change.

    Note the arrows and circle
    glasstexturehelp.png

    The "deformMaterialBase":"schoolbus_glass" This is the texture that is there when nothing has happened

    The "deformMaterialDamaged":"schoolbus_glass_dmg" This is the texture that will show up when the glass is broken.

    You will need a defined material that BeamNG can pull from to load the damged glass texture, it must be listed in your materials file (or pre-loaded from the commons file)

    Below is the texture in my materials file which list the damage texture.
    glassmaterial.png
     
    • Like Like 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