Solved Map is completely black in level editor after save and reboot (includes console)

Discussion in 'Mod Support' started by LudamusStudios, May 6, 2017.

  1. LudamusStudios

    LudamusStudios
    Expand Collapse

    Joined:
    Apr 23, 2017
    Messages:
    9
    Followed a tutorial, got my roads built and textures done, etc. Figured I'd give it another quick save before I start placing down objects so I saved it in the recommended place on the tutorial (my documents | Beam.NG folder -> Levels).

    Exited the game and started it back up, went in through the grid map and started level editor. Went to File>Open and opened up my level StJulian.level.json.level.json and things went BAD from there.

    See what I'm talking about.



    I thought, okay considering the console error it may have to do with the fact that my Beam.NG game was on a separate HDD as my main. Therefore, I went ahead and copied my map folder and placed it in
    Code:
    D:/ HDD : %\steamapps\common\BeamNG.drive\content\levels\
    . Went to load it up again and it's the same problem. I feel like crying like a baby lol.

    Here's the console:


    Pls Help. :confused:
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    Why that? Why not directly loading the level from the level selector?
    Also, StJulian.level.json.level.json looks like a broken file name

    Infact the game is complaining that file is not correct. Probably due it's broken name:
     
  3. LudamusStudios

    LudamusStudios
    Expand Collapse

    Joined:
    Apr 23, 2017
    Messages:
    9
    Entering through level selector just loops me on "loading". The file name is what the game saved it as. I'm beyond confused and maybe it has something to do with following an old tutorial. I may just try to find a newer tutorial today and start over lol. It was only terrian paint, textures and roads I had done anyways. Nothing a few hours work can't replicate
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    Yes, it's looping because that file is not valid.

    Wrong
    Code:
    StJulian.level.json.level.json
    Correct
    Code:
    StJulian.level.json
    Also, pass your file in here, to see if it's actually correct and usable:
    https://jsonlint.com/
     
  5. LudamusStudios

    LudamusStudios
    Expand Collapse

    Joined:
    Apr 23, 2017
    Messages:
    9
    So quick update. I changed it so now the filename is just StJulian.level.json even tried to move it around different locations but it's still giving me the same error. Ran the code through the website you provided and it all came back good. I think I'm just going to redo the whole map clean slate. Is there currently any up-to-date tutorials for map making?
     
  6. LudamusStudios

    LudamusStudios
    Expand Collapse

    Joined:
    Apr 23, 2017
    Messages:
    9
    So I never gave up hope and decided to try and create it into zip form using this blank map template included here and now it throws me different errors when trying to load the map up.

    And in console it throws me this code:



    That's what I get for trying to work with an old tutorial lol.
     
  7. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    The console says your main .json file is not correct.
    Wrong syntax will not allow the game to read the file correctly.
    It's odd that jsonlint gives a green, it should not if that's the case.
    Just read the console, it tells what line is wrong in your file.
     
  8. LudamusStudios

    LudamusStudios
    Expand Collapse

    Joined:
    Apr 23, 2017
    Messages:
    9
    Yeah. I ditched the project all together and started from scratch with a newer tutorial. I seem to have all down path now and development is going perfectly smooth. The series of things I done wrong on my first project is probably what lead up to the corrupt file.

    Thanks for the help though!
     
  9. Lucy_Soto

    Lucy_Soto
    Expand Collapse

    Joined:
    Apr 27, 2017
    Messages:
    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