Unsolved Custom ( SH-AWD) centre diff controller not working

Discussion in 'Mod Support' started by ItsTheLittleAcura!, Feb 23, 2019.

  1. ItsTheLittleAcura!

    ItsTheLittleAcura!
    Expand Collapse

    Joined:
    Feb 9, 2018
    Messages:
    116
    I am working on a custom centre differential controller based on the Sunburst active diff for my Acura TLX mod. I would like the power split to be variable based on the driving condition. I am getting this error and the AWD system won't behave as I want it to.
    libbeamng.lua.V.controller.init|Can't load controller 'SHawdDiff' at '/controller/SHawdDiff.lua', further info below:
    39.87922|E|libbeamng.lua.V.controller.init|lua/vehicle/main.lua:186: attempt to concatenate local 'path' (a table value)
    More information on the behavior of Acura's SH-AWD® system can be found here: https://www.acura.com/tlx/modals/super-handling-all-wheel-drive
     

    Attached Files:

  2. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    In the log you should check before that error cause your lua file most probably have a parsing error

    you have an `end` to much in line 34
    and on line 18 you used `else if` instead of `elseif`
     
    • Informative Informative x 1
  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