[EXPERIMENTAL] Load and Save Mastersplines

Discussion in 'World Editor' started by AlexKidd71, Dec 14, 2025 at 7:00 PM.

  1. AlexKidd71

    AlexKidd71
    Expand Collapse

    Joined:
    Mar 16, 2022
    Messages:
    652
    I’ve made an experimental mod for saving and loading Masterspline settings in the Masterspline Tool.

    It is based on the current 0.38.2 version and will almost certainly break the whole masterspline functionality with any hotfixes or updates affecting the masterspline feature. Then just delete the mod from mods folder.

    The mod saves all your Mastersplines from the current session (along with all linked splines) to a JSON file. The hardest part was preventing duplicates in the Scene Tree when reloading the file in a new session, but I managed to get it working—even with the quirky decals.

    Important: Don't rename the folders in the scenetree (at least the guids have to stay) because the matching of the splines saved in json is done with that. It is no problem to move the folders to another folder.

    More details can be found in the README file inside the zip. Just put the zip in your mods folder. Testers are welcome!

    @Dave_ It would be great if you could take a look at the code and make a small review. Perhaps my ideas may be a good starting point if you plan to add a load/save feature to the official BeamNG codebase. I have included an implementation description in the zip file as well.

    why I do all these efforts is explained here:
    https://www.beamng.com/threads/building-real-life-maps-in-beamng-sneak-preview.107781/
    It’s a part of something bigger I currently work on.

     

    Attached Files:

    #1 AlexKidd71, Dec 14, 2025 at 7:00 PM
    Last edited: Dec 16, 2025 at 9:22 AM
  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