Dismiss Notice

In the upcoming weeks mod approvals could be slower than normal.
Thank you for your patience.

Experimental MultiSlot aka General Modslot Generator (GMSG) 2.1

Generates and combines Additional Modification Mods! For every vehicle, even mods!

  1. TommoT
    Demo Video for Update 2.0:


    Non-Mod-Developers see under Available Plugins \/


    This is a LUA mod to make it possible to generate "Additional Modifications"-slot mods for every vehicle ingame that supports it, even modded ones, that have the "vehiclename_mod" - slot.
    This makes the modding of all supported beamng vehicles at once less tedious and easier. Required for creating a mod with this:
    • one template.json file, which is the structure for a "vehiclename"_mod.jbeam file in the right folder (modslotgenerator/"templatename".json)
    -> this mod will then automatically generate all jbeam files based on all the found templates

    This also makes all the Additional Modification-mods selectable at the same time!
    * For the available Plugins, for now at least. Compatibility with all Additional-Modification-Mods is on the way.

    Installation
    1. Install like any other mod
    2. Install any plugins made for this.
    3. (not always needed) Reload LUA with the GMSG-UI or just restart once
    4. Select MultiSlot-Base in Additional Modifications Slot
    5. Select mods you want to use.
    6. (optional) Add the App from the UI editor, makes debugging easier for plugin-devs
    Ingame there are Popup Messages that tell you what happens:
    1164497-0a75631d7704c2620bc7a53765fadcfa.png

    MultiMod.png
    (I made some plugins myself for some examples)

    GMSG UI:
    ScreenshotFrom2025-02-1912-54-01.png
    Make standalone mods with this (to even release yourself)
    ScreenshotFrom2025-02-1912-54-34.png
    Settings for how Plugins for this get generated

    To Open the UI there are two ways:
    • add app named "General Modslot Generator Toggle Menu" and press that on the UI to toggle the UI
    • bind "Toggle GMSG UI" in the controls to something and use that
    ScreenshotFrom2025-02-1923-46-26.png

    image.png
    Ingame App - General modslot generator
    This is the old app which still works but is far inferior to the new imgui-based UI. Not recommended to use and more confusing

    For mod devs / anyone that wants to create a simple mod:
    (It just sounds harder than it actually is)

    First: DO NOT INCLUDE THIS MOD IN YOUR PLUGIN - ADD A LINK TO IT
    This would only make duplicates of the same thing and be unnecessary. By having this as a dependency, its way easier for me to release an update to the code to improve stuff and you don't need to manually update your mod/plugin.

    Creating a plugin:
    This is pretty much the same as making any Additional-Modification mod.
    What is different?
    You need to make a .json template and place that in /modslotgenerator/, like you would place the jbeam in the /vehicles folder. You will find a template in this mod under ModSlotGeneratorExampleTemplates/template.json.

    Rename your Template to something unique, that wouldn't conflict with another mod (don't leave the default name of the template.json file or call it mod.json, these are bad names). THIS TEMPLATENAME WILL BE HOW IT SHOWS UP!
    For examples just download one of my Plugins (see below to see as a reference)
    This is what the example template looks like:
    ExampleTemplate.png
    Now develop your mod accordingly in here by adding whatever Additional Modification slot you want, just don't change the slotType
    Testing the plugin
    Use the GMSG-UI for testing, generating mods, finding the template and packing the mod.
    Releasing the mod:
    Add the link to this mod into your description on the mod page and write that they need to download this for your mod to work. (maybe also add something like [MultiSlot plugin] or whatever)

    For any questions or issues go here to report:
    https://www.beamng.com/threads/tool...r-every-vehicle-inc-mods-with-template.98927/

    Credits:
    @Dummiesman - some of the initial jbeam generator Lua code
    @TommoT - creating this mod, App
    @DaddelZeit - some UI inspiration
    David Heiko Kolf - making dkjson module for LUA used in this mod (only in Version 1.0, removed after V1.5. Website: http://dkolf.de/src/dkjson-lua.fsl/wiki?name=Documentation)




    • Incompatible with non _mod-slot vehicles (might get added in the future, still unsure)
    • Is a dependency (kind of fixed with gmsgDownloader)
    • Folders for generated jbeam files don't get automatically deleted, the files do
    • Gets disabled when loading into a map for some reason? Can be loaded again by disabling and enabling the mod again or by reloading Lua

Recent Reviews

  1. mrwallace888
    mrwallace888
    4/5,
    Version: 2.1
    Is it possible to still have a free slot for the other usual additional modification parts?
    1. TommoT
      Author's Response
      The next version will include all other Additional Modification-Slots included into MultiSlot.
      Just the other ones as a separate Mod is not possible, because of the way BeamNG works.

      This just means the mod will copy and adjust every detected Additional-Modification Mod that exists
  2. Le Docteur Peste
    Le Docteur Peste
    5/5,
    Version: 1.5
    What an awesome idea!
    1. TommoT
      Author's Response
      Thanks :)
  3. klutzyice
    klutzyice
    4/5,
    Version: 1.5
    was amazing until the additional modification slot dissapeared, reinstalled the game and it still wont come back. Is there anything wrong i might be doing or a mod i need to add?
    1. TommoT
      Author's Response
      should be fixed in version 2.0,
      otherwise try reloading the mod with ctrl + L
  4. 88fiero
    88fiero
    4/5,
    Version: 1.0
    Was super excited to try it, but it wont show up in the Config Editor. Any idea on how to fix it?
    1. TommoT
      Author's Response
      should be fixed in version 2.0,
      otherwise try reloading the mod with ctrl + L
  5. wlkmanist
    wlkmanist
    5/5,
    Version: 1.0
    Great idea, and simple nice looking realization. Easy for mod devs and for simple users. This mod needs to be a new standart for modern mods. Recommended.
    1. TommoT
  6. sxkawa
    sxkawa
    5/5,
    Version: 1.0
    such a wonderful idea
    1. TommoT
      Author's Response
      :) I will soon add an app where you can generate any individual one yourself, so people can generate standalone mods with this one
  7. ghost_cauli
    ghost_cauli
    5/5,
    Version: 1.0
    This is cool. It should make creating mods like universal engines much easier.
    1. TommoT
      Author's Response
      Yess, that is the goal :)
  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