Forest editor issue

Discussion in 'World Editor' started by stegosaurus04, Dec 8, 2022.

  1. stegosaurus04

    stegosaurus04
    Expand Collapse

    Joined:
    Dec 8, 2022
    Messages:
    84
    Hii everyone,
    I'm a complete noob and I wanted to create my own map for the game. I discovered and followed this tutorial:
    but there's no forest editor related folders and files:

    I would like to use italy vegetation but I don't know how to port it to my map. I succeeded in importing other classes of objects from italy (3d models, signs etc.) but not trees and brushes. Anyone could help me? (Here's some screen of my map):


     

    Attached Files:

    • Immagine2022-12-08201249.png
    • Immagine2022-12-08194628.png
    • Immagine2022-12-08194904.png
    • Immagine2022-12-08195225.png
  2. carsmashdudes

    carsmashdudes
    Expand Collapse

    Joined:
    Apr 21, 2022
    Messages:
    43
    Study the folder hierarchy for the italy map in content/levels folder
    Copy the following files from the italy folder, to your own project -


    I think this is all you need to get from italy:

    Italy folder
    main.forestbrushes4.json

    Italy/Art/forest folder
    Copy the entire forest folder and paste it in your projects art folder (of course with the same folder hierarchy)

    Italy/Art/shapes: rocks & trees folder
    Copy everything and paste it in your projects art/shapes folder (of course with the same folder hierarchy)

    I think also your actual forest inside the editor needs to be called "theForest".
    Just to be sure make an empty folder inside your project, and name it forest.

    Very important: inside the diffrent folders you copied, there will be either a managedItemData.cs or main.materials.json file. Here you'll need to change all the places where it lists the material location for example: "/levels/italy/art/shapes/rocks/t_rocks_italy_ao.data.png",
    Rename that level name to "/levels/YOURMAPNAME/art/shapes/rocks/t_rocks_italy_ao.data.png",
    (you might as well get Notepad++ right away, because it has a great "find and replace" option.​

    Hope you get it working :) Getting into map creation can be quite the struggle until you figure stuff out, but its worth it! wish you best of luck !
     
    #2 carsmashdudes, Dec 9, 2022
    Last edited: Dec 9, 2022
    • Like Like x 1
  3. stegosaurus04

    stegosaurus04
    Expand Collapse

    Joined:
    Dec 8, 2022
    Messages:
    84
    I followed each step but it didn't work :( map loaded up like this

    thank you for the reply
     

    Attached Files:

    • BeamNGdrive-10_12_202220_38_55.png
  4. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    528
  5. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    That sounds awesome!

    i got trees and stuff basically by copying whole 'tree' folder from arts or something and then adding with notepad++ change map name by replacing etc..

    f11 forest tool thingy u can add meshes and brushes in there. First add meshes somehow from there and then make it a brush. I can explain it better another time ima go to bed.
     
  6. stegosaurus04

    stegosaurus04
    Expand Collapse

    Joined:
    Dec 8, 2022
    Messages:
    84
    Hi Alex, thank you for
    your tool I finally succeeded in creating a new map with a working forest editor; however, I can't get rid of Italy forest because every time I delete italy's forest items, they just reappear when I reload the game.
    13-45-37.mp4
    Also, in the assets browser I don't see some folders that are in the zip file:



    do you guys have any suggestion?
     

    Attached Files:

  7. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    528
    Here is what I do:
    - I unpack the zip folder and copy it to the levels folder in the userfolder
    - take out the zip file from the mods folder
    - delete the temp folder in the userfolder
    - Then I do my edits and customizations in BeamNG
    - When happy, just pack the project in the userfolder/levels

    If you are working with a zip file as base, all your changes are reverted if you loose the contents of the above mentioned levels folder I guess.
     

    Attached Files:

    • Screenshot_20230120_151420.png
  8. carsmashdudes

    carsmashdudes
    Expand Collapse

    Joined:
    Apr 21, 2022
    Messages:
    43
    Your in the wrong art folder? as far as i can see
    If the map is moreitaly, the art folder just under that is the one to work with. Atleast thats whats works for me
     
  9. stegosaurus04

    stegosaurus04
    Expand Collapse

    Joined:
    Dec 8, 2022
    Messages:
    84
    dumb me! you're right, I did not notice there was a second art folder... and deleting the items in levels/map_name/forest I finally got rid of italy's forest items without losing brushes, thank you guys!
     
  10. carsmashdudes

    carsmashdudes
    Expand Collapse

    Joined:
    Apr 21, 2022
    Messages:
    43
    Wow thats so great to hear! How the levels folder vs the mods folder work is kind of hard to understand at first.
    I still have some trouble from time to time just exporting the most recent changes from levels folder into the mods level folder
     
    • 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