1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

override system lua files

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by TonyCartony, Mar 13, 2023.

  1. TonyCartony

    TonyCartony
    Expand Collapse

    Joined:
    Dec 23, 2020
    Messages:
    218
    Hi,

    I could successfully override <game folder>\lua\vehicle\bdebug.lua by placing my own copy in <game folder>\Userpath\0.27\mods\Unpacked\<mod>\lua\vehicle but if I do the same for other lua files like <game folder>\lua\vehicle\controller\advancedCouplerControl.lua they are not taken in consideration.
    Is there something I am missing?

    Thanks
    T.
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,436
    Controllers have a shortened path because the vehicle lua is sandboxed, lua/controller/advancedCouplerControl.lua should work.
     
    • Like Like x 2
  3. TonyCartony

    TonyCartony
    Expand Collapse

    Joined:
    Dec 23, 2020
    Messages:
    218
    Thank you Agent_Y!
    T
     
  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