Unsolved Updating Lightbars to 0.9.0

Discussion in 'Mod Support' started by bhorton, Apr 14, 2017.

  1. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
  2. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    Did you see this post? https://www.beamng.com/threads/micro-blog-s-2017.34617/#post-574667
     
  3. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
  4. torsion

    torsion
    Expand Collapse

    Joined:
    May 31, 2015
    Messages:
    1,600
    Do your lightbars fall into the first or second category?

    EDIT: You mentioned the SBR4 specifically. What lightbar do you want to add to it? (eg from what source vehicle)
     
  5. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    I will soon make a wiki page with all the edits I made and new stuff.
     
  6. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    I am not sure what category, but I already had a lightbar on the SBR4 in my mod, taken from the Sunburst.
     
  7. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
  8. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    OK, I have tried this, however the sunburst now does not show up in game at all.
    I have attached the .jbeam for the lightbar, and the materials.cs file from my modified common/lightbar
     

    Attached Files:

  9. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Check your console / game logs, it will tell what's wrong.

    Shouldn't be causing the issue, but your materials.cs is plenty of typos:


    You missed a } in your .jbeam, which caused the entire vehicle to not load.


    Anyhow, that's nothing related to the lightbars changes, that's an issue with the Jbeam itself.
    Solved that, you have to fix your materials.
     
  10. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    upload_2017-4-15_12-47-34.png
    Also, the lightbarb is referring to the custom blue only lightbar
     
  11. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    You have made your own meshes or?
    There is no such material/mesh named like that in the official files.

    Anyway, read my post above, it explains where's your error is.
     
  12. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    I have not - (I saw where I went wrong) - I am now trying to locate where I made reference to the old mesh files in my mod (as that appears to be the issue now according to the console)
     
  13. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    I suggest to update your custom meshes, as the original ones changed in order to be used with the new pattern system
     
  14. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    Sorry, I think there have been some crossed wires - I did not make custom meshes, the mod is just a re-texture of the default lightbar. The issue now is that it is trying to use the old names of the default meshes, not the new ones.
    upload_2017-4-15_13-14-33.png
     
  15. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Ah ok.
    That means the .Jbeam is trying to load the old meshes, which have changed names.
    Update your.Jbeam flexbody section with the correct names. ( See guide I made above )
     
  16. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    Hmm, I did that already - unless I missed something
     

    Attached Files:

  17. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    I tried your file, works fine here:

    (apart the material errors)

    Did you forget an older version of that somewhere? Maybe the game is loading that one instead of the new file.
     
  18. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    Found an old version lurking in the beta files, the lightbar is in game now, just with some missing textures
    upload_2017-4-15_13-30-8.png
    --- Post updated ---
    The textures, in case those are the issue
    --- Post updated ---
    Working perfectly now, thanks @Nadeox1
     

    Attached Files:

  19. Mr. Beam

    Mr. Beam
    Expand Collapse

    Joined:
    Aug 4, 2016
    Messages:
    17
    I see you're good with lightbars. Do you happen to know if there's any way to put a sunburst High speed unit LED lightbar on a Gavril Grand Marshal?
     
  20. bhorton

    bhorton
    Expand Collapse

    Joined:
    Aug 15, 2013
    Messages:
    628
    Yes, you just need to copy the .jbeams, and then change the positions around - I am not very good at tutorials however.
     
  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