I would like to be able to show some custom loading screens for my derby mod. The default loading screens show up by calling the main.js file using guihooks.trigger('ChangeState', {state = 'loading'}) Could you add a new .state to this file that would support custom loading screens for mods? I would like to feed it a list of images with a path that would load just like the default loading screen. Thanks bidwars
you just add pictures to the same file path as the officcial one just name them differently. e.g., if the official one is "loading_2", name yours "loading 3" the fr17 mod may have the necessary file path
Custom loading screens are indeed possible. I created a pack a few months ago with community submissions for some extra loading screens: https://www.beamng.com/threads/community-loading-screen-pack.60508/ Feel free to unpack the mod and see how it is structured (it's incredibly simple, and requires no coding) The only issue is custom loading screens are not recommended as the UI is subject to change and may break the game entirely in an update, hence why custom loading screens are not allowed on the repository (my pack is forum only)
These loading screen will only load the custom loading screens. It cannot include the one provided by the game.