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.30 Bug Reporting thread
    Solutions and more information may already be available.

Textures not loading from saved maps

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by theonciest, May 8, 2016.

  1. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Alright, I will gather everything together and put it back in the game directory.

    As for the materials, I haven't gotten there yet to make any adjustments to them, but assuming the save as button works then I shouldn't have anything to worry about. So I'll let you know when I get to that.

    So you're saying, when I am done making the map, everything I've added, all the models, textures, etc... EVERY PATH needs to be manually changed to the documents folder? Forgive me, but that is SO confusing. Why can't they just put it where I put it? Should it not work? Like I said, I'll worry about that when I get to it. I'm still not even convinced I'm going to be able to make any sort of map with this editor... if that's what it takes to publish a map, then sobeit. As long as it all works in the end one way or another. I don't mind doing the extra leg work. But just so we're clear, that is indeed what I have to do?
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Depends!

    Case #1:
    If the editor is saving stuff with paths that looks like this:
    Steam/Steamapp/Common/BeamNG.Drive/level/yourlevel/etc..
    And you release the map, people will download it in the Documents/BeamNG.Drive/mods folder. And when the game will read those path, it will throw errors because it can't find the files in the path that are defined in the .mis and materials.cs files.

    Case #2:
    If the editor is saving stuff with paths that look like this:
    > (This is an example for the materials.cs file)
    Code:
       colorMap[0] = "f9d63b77.dds";
    Then you have nothing to worry about, because the editor made the path relative. It means it will just look a file that matches to that name in the folder of the materials.cs
    > (This is an example for the .mis file)
    Code:
             terrainFile = "levels/Shibukawa/Shibukawa3.ter";
    Same thing as above, because modded levels gets auto-mounted in the 'levels' folder, and the game will actually find the path for those files.


    I know this is confusing, but this is how things works, and I tried to explain you making it less-painful to understand as I could. Once you understand how this works, making maps gets really easy, only the first steps are a short-drama ;)


    Night time for me (yes, we sleep to..sometimes), will reply tomorrow (please don't bump, make a new thread or send emails, I will be reading your posts anyway)
     
  3. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Alright man no worries, I'm sure I'll figure it out. For you to look at tomorrow - so back to my main problem. I am still having trouble with this. I know jokes on me, I'm an idiot, etc.. I still don't have a clue of how to save the material for my road. I have done what you said, make sure to click the save button. Not sure what I am missing.

    Prepared another video detailing the process and concerns -



    Music is a little loud, didn't realize while I was recording. But you should be able to follow along with what issues I am having.

     
    #23 theonciest, May 30, 2016
    Last edited: May 30, 2016
  4. LJFHutch

    LJFHutch
    Expand Collapse
    Environment Artist
    BeamNG Team

    Joined:
    Aug 4, 2012
    Messages:
    667
    You could try opening the material with the material editor (ingame) and browsing for the textures again, sometimes they won't load just from the file.
     
  5. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    If you haven't tried, in the materials.cs, where it says 'mapTo' copy the material name in there (Like I did in the example on the previous page)


    If that still doesn't work... I added you on Steam. Accept please, I would like to screenshare or something to have a direct look at the issue and perhaps directly clear any further doubts/questions you have.
     
  6. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Thank you so much for all of your help! Cant' stress this enough, I know I'm not the easiest person to deal with but thank you for putting up with my aggressive tactics and emailing you guys all over the place. I apologize for that. Here is a mini-tutorial for those who are unlucky enough to stumple upon this error.

     
  7. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Nevermind, still confused, I think I am going to give up. It's way too complicated to use, sometimes it works, sometimes it doesn't. It should be JUST ONE step. If it was there at one point, it should load everytime you open the editor. You point the program where the file is, and it itself logs it in the materials file. Or even better, you put all the textures in a specific folder, and you select it using the edit button. That's it.

    As it is now, when I'm sure it's working, I do all these minuscule adjustments spend like an hour colour matching materials and lighting, and it STILL has the chance of becoming "NO MATERIAL" with no chance of reverting or saving the options I set... :/ idk it is a really hard editor to get used to atm and I don't believe I'm smart enough to use it properly.



    http://i.imgur.com/nczXwLt.jpg
    --- Post updated ---
     
  8. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89


    Annnd the editor just deleted all my trees :/

    All odds are against me in doing anything productive with my life.
    --- Post updated ---
    Okay so I realize models are also another ball-game of texture problems... *sigh* hopefully I have some free time tomorrow to figure it out... how do I apply it to the model? In 3dsmax, it has a material applied to it.

     
  9. DoullPepper

    DoullPepper
    Expand Collapse
    BeamNG Team

    Joined:
    Nov 15, 2014
    Messages:
    593
    Hello @theonciest !
    I see you have a lot of problems with this editor, and all is very confused... Also If you want I can help you to understand how to use it, but we should probably restart to the begining the process to do a right thing. Remember this program is in development and don't expect that it work easily like a 1.0 program version! For my part it work good when you do no mistake in the creation process.
    You can tell me with private message. Also I'm more free to answer you at the week end. Thanks!
     
    • Like Like x 2
  10. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Yeah man, quite extremely. Sending you a PM now.
     
  11. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Regarding post #27
    In the texture paths, you have this:
    'content/levels/..'

    When I showed you I haven't got any path that started with 'content'.
    I suggest to remove that and make it so it appears like:
    'levels/..'




    Regarding post #28

    - Some trees in the list are not avalaible. It appears you tried to apply one of them. (Those are there only in the dev build, but not in the public version. No way to find out which one you can insert and which not (It shouldn't be too many, only 2 or 3 type of trees)
    I suggest to save your work often when applying trees, so incase this happens again, you just reload the level (don't save after the trees disappear, if it happens again).

    - To apply materials to objects, simply press F4 (Material Editor) and you will find everything. It's different from 'decalroads', as in decalsroad you have to choose which material to use.
    For objects, you already have a material (Infact you should see the material name as soon you open the Material Editor with that object selected), you just need to tell the game which textures to use.
     
  12. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Right okay, I remember that now. Doing that with everything from now on.

    Also how awesome is that, you can just edit the material applied onto the model. :D For some reason the shading is backwards though, light side is on the darkside...
     
  13. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Me right now lmao

     
  14. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Maybe your model got normals inverted?
     
  15. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Model normals were fine, but the program needed a restart to reset the lighting. Thanks!
     
  16. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    Okay, I cannot place any tree on the map. When I load into the level I get an error "Failed to create resource (is the file missing?): levels/mapnam/art/shapes/trees/trees_oak_forest_canopy_a.dae" but no matter what I cannot paint any trees what so ever.

    Actually I remember specifically you told me to delete the trees file... :/ why did you tell me to do that? I am unable to place trees and bushes now.
    --- Post updated ---
    new update makes my game crash
     
  17. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
  18. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    I didn't cut and paste it, I typed it out, I just didn't think writing the name of the map would be a big deal, it's just generalizing the mapname. Please get back to me about that error I need to fix the trees
    --- Post updated ---


    that's the full error
     
  19. theonciest

    theonciest
    Expand Collapse

    Joined:
    Jun 12, 2015
    Messages:
    89
    what would you suggest to fix it? Like I said you made me delete a forest file, you said I wouldn't need it... but I do need it... cause there are trees on our planet... <.<
     
  20. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Can you check if that file actually exists in that path?
    I recall I said you while we were in TeamViewer that some trees weren't available even if they showed in the list, that may be one of them. Simpy select another tree type.

    The .forest file only has the 'tree position' you place in the editor. The one you had was coming from another map, so I made you delete it as it wasn't of need in your map.
    When you place your first tree, the game will ask you if you want to create a 'Forest Item'. You press yes, and a new .forest file is made.
     
  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