Adding grass to terrain paint

Discussion in 'World Editor' started by DeWorD, Aug 24, 2022.

  1. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    Hii once again need help with obvious things.

    I want to have grass textures of some kind to make it look bit better :D
    I don't have groundcover textures in my map yet. I thought at the beginning i don't need, but i do.

    What should i do to get the basic grass texture from original map to my map?

    Probably need to copy grouncover folder to my map and then somehow do something to add those to the terrain painter? :D Something about groundcover thing in 'create objects' ?
     
  2. JoeGrape

    JoeGrape
    Expand Collapse

    Joined:
    Jun 24, 2022
    Messages:
    67
    Have you tried to add ground cover yet? You have listed everything you need to do.

    You can load up a base map and reverse engine their ground covers to help figure out your own if you get stuck.

    "Probably need to copy grouncover folder to my map" >> Don't forget to re-path the json file(s).
     
  3. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    Hmm yea i try, but i just get no material and those plants don't show up in the list when u make that groundcover and from inspect choose 'texture' or whatever thing it was :D

    When i did that i didn't see any grass nowhere and that makes me think i probably have messed up something.

    As a json file u mean the main.materials list in the folder inside groundcover? or something else coz if something else that i don't know about. :D

    Yea i still got no materials textures even though i delete groundocver folder and copy it from original west coast map and change main.materials.json things to my map and still no material :(
     
    #3 DeWorD, Aug 25, 2022
    Last edited: Aug 25, 2022
  4. JoeGrape

    JoeGrape
    Expand Collapse

    Joined:
    Jun 24, 2022
    Messages:
    67
    You'll need to path the materials in main.materials to your newly copied ground cover folder location. That should make the textures load up in game, you can search for them in the material inspector to make sure they're there - be it BNG_Grass or UTAH_Grasses or whatever the grass/cover material is called.

    Once you have the materials loading up in the inspector you should be able to select them inside the ground cover object you've placed. You'll then need to set the billboard boundaries (like cropping an image) because many of the textures have 4 different grasses in them. You can steal the numbers of a base game map ground cover objects for your own, easiest way.

    The NO MATERIALS thing is likely because you haven't re-pathed the various texture files in the main.materials of the ground cover folder.
     
  5. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    i think i did that by changing only the 'map folder name' to 'my map folder name' and check that there is no west_coast directory, but carkour_destruction (which is mah map), but i have no clue how i can add things in there. I know world editor has that material editor, but i have no clue how to use it. Create material is kinda weird too.

    I dont' have groundcover folder. I copy groundcover folder from small_island.zip to my map's C:\Users\Asdasd\AppData\Local\BeamNG.drive\0.25\levels\carkour_destruction\art\shapes\groundcover
    ?? this is probably wrong place to keep map?? i don't know it works :D

    then i open that main.materials.json file and using notepad++ i replace small_island with carkour_destruction. 10 occurances were replaced :D

    Then maniacly spam CTRL + S and close notepad++

    Launch Game, go to Asset Browser's groundcover folder and see lot's of ferns, grass and lush_general.dae files
    and all has no material :D Then watch main.materials.json file to make sure those paths are right and it looks same as my map directory thing.

    What else i need to do or what am i screwing up?
     
  6. JoeGrape

    JoeGrape
    Expand Collapse

    Joined:
    Jun 24, 2022
    Messages:
    67
    Are you adding the ground cover element from the 'create object' tool?

    You will then need to add the material in its inspection window, or is that where nothing is showing up?
    upload_2022-8-26_22-50-24.png

    You then assign the ground cover to a terrain paint material:
    upload_2022-8-26_22-51-7.png
     
  7. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    Sry a bit late answer had few days off from this and yea i add the groundcover layer thingy from create object bar.

    Then in that groundcover inspection windows material ... is like a million things to choose from

    then i check your second picture and it's probably what i haven't done as my terrain paint name is grass3 and i wrote that in there and now everywhere is no material pictures so i guess groundcover layer is working, but textures not. I still have 0 clue why no work. Now it looks like this :D

    kuva1.png

    In inspector windows material ... spot there is not 'lush' named anything. Feels like there's all i don't know common stuff
    upload_2022-9-1_15-45-25.png
    btw i don't have any parts fromm map italy atleast what im aware of
    kuva3.png

    plz help :)

    EDIT: for some reason now the grass has come to the map i launch game again and deleted few beamMP mods :D

    Big Thank You! I hope someone else check this too and finds solution if as noob as me hehe

    btw why i don't see those lush objects in the inspector?
     

    Attached Files:

    • kuva2.png
    #7 DeWorD, Sep 1, 2022
    Last edited: Sep 1, 2022
  8. JoeGrape

    JoeGrape
    Expand Collapse

    Joined:
    Jun 24, 2022
    Messages:
    67

    Some materials will only refresh on a reload. Some will refresh on a LUA reload (R.Ctrl+L) and some will refresh immediately.

    Ground clutter only refreshes on a full reload AFAIK. You can update it's materials and it will show up, but the object loaded won't update until you reload. Again, this is just as far as I know and have experienced.


    Might be the wrong internal name or they're not in the main.material for ground clutter. Check that file and see what the internal/display name is for them, not everything is named the same as their texture counter-parts.


    A lot of base maps use assets from the other base maps, so they share a lot amongst each other.
     
  9. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    Well that refreshing thing exlpains few things good :D

    EDIT So now i got thinks working with copy groundcover from italy or cliff maps and then change those paths in mainmaterials

    in asset browser i have daisies and ferns what i wanted and now i even see those, but one problem i have what i don't know how to fix is that

    how to get those daisies to groundcover as in materials ... place there is no daisies or ferns not a single, but works if i drag from asset browser to map :D

    I could now just make it with forest tool, but i would like it to be using terrain :)
     
    #9 DeWorD, Sep 2, 2022
    Last edited: Sep 2, 2022
  10. JoeGrape

    JoeGrape
    Expand Collapse

    Joined:
    Jun 24, 2022
    Messages:
    67
    Groundcover only loads billboards (2D, flat 'models' that rotate to face you). You can get ferns and white flowers in the billboards/groundcover, it works exactly like the other ground cover pieces. For 3D models you'll need to use the forest tools.
     
  11. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    alright well that explains some stuff i noticed those groundcover things are 2d, but i thought it just swaps it with, but no :D
     
  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