Experimental Old Vehicle Config UI | Back as Default | Toggle To new UI

Discussion in 'Utilities and programming' started by sad_wisi, Dec 17, 2024.

  1. sad_wisi

    sad_wisi
    Expand Collapse

    Joined:
    Jul 2, 2024
    Messages:
    1
    Back to the Old Vehicle Config UI as Default

    I've Proudly owned BeamNG since February 17, 2016. The realistic Physics and Endless Possibilities still Impress me to this Day and make it my Go-To Game to Relax and Unwind myself since almost 9 years...


    For the math nerds:
    Averaged playtime: 43+- hours per month since I got the game

    For these Reasons, I still prefer the Old Vehicle Config UI, as it feels more Organized and Suites overall better.
    I would prefer to have the Old UI as the Default option, and I know I'm not Alone with this.



    So here is my the Solution:

    Finde your BeamNG Local installed Files.
    We are Looking for 2 Files with .js ending (JavaScript)

    \...\BeamNG.drive\ui\modules\menu\menu.js
    \...\BeamNG.drive\ui\entrypoints\main\main.js

    menu.js Controls the Top Menu Vehicle Config Button function
    main.js Controls the [Ctrl+W] Vehicle Config Hotkey function




    Edit in menu.js:
    • in Line 81 menu.vehicleconfig.parts
    • in Line 83 menu.vehicleconfig
    Change menu.vehicleconfig.part to menu.vehicleconfigold.parts






    Change menu.vehicleconfig to menu.vehicleconfigold

    81 targetState: 'menu.vehicleconfigold.parts',
    83 substate: 'menu.vehicleconfigold',




    Edit in main.js:
    • in Line 2246 menu.vehicleconfig.parts
    Change menu.vehicleconfig.part to menu.vehicleconfigold.parts

    2246 targetState: 'menu.vehicleconfigold.parts',




    Save Both Files and Enjoy the Old Vehicle Config UI as Default.
    The Toggle Button to switch between Old and New UI will be visible and give u access to the new UI as default.


    Note:
    • I recommend Notepad++ or VS Code to Edit the files as they a able to read and show Coding Language
    • Updates and Patches gonna reverse the Changes back to the New UI as default
    • Validate Gamefiles will reverse the Changes back to the New UI as default




    Also ready for Drag and Drop

     

    Attached Files:

  2. GermanCheetah

    GermanCheetah
    Expand Collapse

    Joined:
    Jun 25, 2023
    Messages:
    3
    Does this or something similar work in 0.35?
     
  3. Xxmaxpower586xX

    Xxmaxpower586xX
    Expand Collapse

    Joined:
    Jul 9, 2017
    Messages:
    1
    It does work. It just displays everything like you have the "Display Names" option enabled. An example of this is the Default Gravil D-Series frame would normally be called a Standard Frame, but it's now called a pickup_frame.
     
  4. GermanCheetah

    GermanCheetah
    Expand Collapse

    Joined:
    Jun 25, 2023
    Messages:
    3
    Thanks
     
  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