WIP Beta released BeamNG_LevelTemplateCreator(PBR) v0.4

Discussion in 'Utilities and programming' started by Grille, May 8, 2024.

  1. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    82
    I found that setting up a new scenario from scratch can sometimes be a bit tiresome, especially if you have limited knowledge on how BeamNG handles things.

    The goal of this project is to provide an easy solution to create empty map templates.

    I also aimed to make it easily extendable for people with deeper knowledge of BeamNG.

    Capture.png

    Code and “Documentation” can be found under the GitHub link here:
    Github.com/Grille/BeamNG_LevelTemplateCreator

    Download program, with asset packages:
    [Download v0.1]
    [Download v0.2]
    [Download v0.3]
    [Download v0.4]

    I hope some of you will find this useful, and I’m curios to hear what you think ^^

    20240506001627_1.jpg
     
    #1 Grille, May 8, 2024
    Last edited: May 31, 2024
    • Like Like x 1
  2. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    403
    I will test it! I considered to build something in my mapping tool as well with the possibility to choose assets from all vanilla maps like terrain ground textures from westcoast, assets from east coast and so on. Great that you did it. I’m developing in .net too, haha.
    https://www.beamng.com/threads/beamng-tool-for-map-creators-updated-2024-02-25.89058/

    I love your clean code. Mine is more on the Spaghetti side of life.
    --- Post updated ---
    One thing: You should explain what is meant with the packages path. Better call it target folder or something like that. packages is not a known word in the BeamNG world.

    And how do I get the asset-lists filled? Do I misunderstand something with the paths?
    upload_2024-5-8_10-25-59.png
     
    #2 AlexKidd71, May 8, 2024
    Last edited: May 8, 2024
  3. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    82
    Oh packages must point to the packages folder that comes with the download.
    I assume you compiled the code yourself?

    There some changes to the materials since the way they are setup in BeamNG they are not very useful outside their specific map

    There are some changes to the materials since, the way they are setup in BeamNG they are not very useful outside their specific map.
    The path where the level is saved to is automatically determined from the user path and the namespace, or you can select any folder with save-as.

    Thanks ^^

    Also did you something to the poor GUI? xD
    The layout looks a bit weired on youre end.
     
    #3 Grille, May 8, 2024
    Last edited: May 8, 2024
  4. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    403
    Ah! I downloaded your Binaries and now it works!
    Do you mean your GUI or the GUI in my tool? I didn't do anything on your GUI :)
    Now it looks correct:
    upload_2024-5-8_12-15-42.png
    --- Post updated ---
    And that you generate the initial terrain.ter file including the materials is shockingly awesome! How did you reengineer that?
     
  5. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    82
    Nice

    Interesting
    The fields on the left are supposed to fill the whole area, no idea why that could break??

    Take a look at one of these Json files BeamNG generates when you export terrain, it more or less includes a file specification.
    Then some poking around with an hex editor, to find the exact layout and done ^^
     
    • Like Like x 1
  6. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    82
    Added an experimental terrain merger tool, can be used to resize or combine multiple terrain blocks together.

    TerrainMerger2705202404_30_03.png
     
    • Like Like x 1
  7. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    82
    • Like Like x 1
  8. ToxiicKaos

    ToxiicKaos
    Expand Collapse

    Joined:
    Apr 9, 2024
    Messages:
    2
    when i open the level it has a yellow grid, can i remove that?




    when opening the application
     
  9. Grille

    Grille
    Expand Collapse

    Joined:
    Aug 17, 2019
    Messages:
    82
    Yes, on the left side are the selected assets, on the right the available.
    Just click on 10m_grid to move it to the left.
     
  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