MultiSlot / GMSG (WIP)

This is my most ambitious project for BeamNG.drive yet. It aims to generate “Additional-Modification”-mods automatically based on json templates. With that it makes it really easy to develop mods, that apply to all vehicles. It also features a UI designed to make your own standalone mods.

Installation

Installing this mod is as easy as any other BeamNG-mod. Just download it in the repository by subscribing to it or download it manually and drag the mod into your mods-folder in the userfiles.

Warning: I don’t recommend renaming the unpacked mod of this as it may interfere with how the dependency resolver works for plugins. Even if it still should work because the ModID still should be present.

Usage

If you want to use the MultiSlot-functionality, enable “Generate MultiSlot Mods” in the Settings-tab of the UI (enabled by default). Then you can select “MultiSlot-Base” in the Additional-Modification-slot and in that select the mods you want enabled.

If you want to use it without MultiSlot-functionality, enable the “Generate Separate Mods” Setting in the UI and you can see each of the generated mods as a standard “Additional-Modification”-mod.

What it does

The mod takes all found json templates in the “modslot”-directory and generates an “Additional-Modification”-mod for each vehicle that supports one. This means every vehicle available in the vanilla game and even most well-made modded ones. It also generates them as a MultiSlot-Mod by default, which enables them to be combined with other mods.

UI

The mod also features a UI which can be opened with a button added in the apps-tab or by binding “GMSG Toggle UI” in the settings and then pressing the keybind.

Pictures:

Generate Standalone Tab Picture 1: Generate Standalone Mods-Tab Generate Manually Tab Picture 2: Generate Mods-Manually-Tab Settings Tab Picture 3: Settings-Tab Utils Tab Picture 4: Utils-Tab

Making standalone mods

Generating standalone mods is pretty simple. You only need to add your own mod inside mods/unpacked/“yourmodname” and add a template-json file. For that an example-template exists in the ModSlotGeneratorTemplates-directory of the mod, which can be used to make your own mod. After that the UI can be used to generate a standalone mod. When generating it standalone, it generates the mod for all vehicles as a non-multislot mod.

You can however add the MultiSlot-Template and the dependency resolver so it automatically downloads this mod, which i would recommend enabling.

If you enabled autopacking, the modmanager may fail to load all the mods, so i recommend reloading ModDB in the Utils tab of the UI.

The packed zip can then be released as your own mod.

Future plans

What im currently working on is MultiSlot for all “Additional-Modification”-mods. This should take all detected mods for each vehicle and turn them into a template for MultiSlot.

Later i might try to make an editor inside the UI-App which automatically detects stuff that could be modded and enables easier editing for quick mod creation.

Plugins

Available plugins include:

References