Unsolved Multishafts

Discussion in 'Mod Support' started by TC203, Apr 29, 2021.

  1. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    This error comes up when I get my 9wd frame as well. I have also attched the log files when the error occured.
     

    Attached Files:

  2. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    I apologize for taking so long, but I finally figured it out.

    Log's didn't help at all, and I had to dig DEEP for this one...

    Code:
            ["multiShaft",       "diff",      "rearDriveshaft", 1, {"gearRatio":10.33, "numberOfOutputPorts":4}],
    "numberOfOutputPorts" is what you need to make it work. Since multiShaft can have as many outputs as you wish, it needs to have a defined number of outputs so that the game knows how many to let it do the math for.

    Edit: Also, you don't have to use that code exactly, I was just screwing around and I finally got it to work, so I just posed what I had from the vehicle I was messing with. The number of outputs is the part that's important.
     
  3. TC203

    TC203
    Expand Collapse

    Joined:
    Sep 9, 2020
    Messages:
    133
    How did you find that lol. I'll try that.
    --- Post updated ---
    It's not corrupted anymore!
     
  4. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    I found a super old post from like...2015? And in there he was trying to move over to using more realistic code for his mod, but it wasn't working so he posted it asking what he was doing wrong... but commented out was his code he was using before and it had the miltiShaft code in it.
     
  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