Solved Welded Differential

Discussion in 'Mod Support' started by Klaidas, Aug 15, 2017.

  1. Klaidas

    Klaidas
    Expand Collapse

    Joined:
    Aug 15, 2017
    Messages:
    5
    Hey can someone add welded diff to this car i tryed but just 1 wheel spinning
     

    Attached Files:

  2. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    To lock a differential, all you need to do is change the following:
    Code:
    "diffType":"locked", "lockTorque":20000,
    So you will want to change the "diffType" to be locked, then you will want to add in the bit about "lockTorque" and set it to something really high like shown above. This will give you a locked diff.

    To create it as a separate part, duplicate one of the other differentials, change its name (name of object and name displayed in game) and then make the above modifications.
     
  3. RobertGracie

    RobertGracie
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    3,867
    There are huge chunks of code missing from those files thats the problem use the gavril rear end and look for the "locked" version of it that should fix your problem
     
  4. Klaidas

    Klaidas
    Expand Collapse

    Joined:
    Aug 15, 2017
    Messages:
    5
    where to put gavrilrear end locked code??
    --- Post updated ---
    i added but now when i spawn car its not spawning and i dont see it and cant drive
    --- Post updated ---
    where to fin this difftype? i cant find it in rear suspension
    --- Post updated ---
    can someone lock the diff or add new one? and put file here?
     
  5. Klaidas

    Klaidas
    Expand Collapse

    Joined:
    Aug 15, 2017
    Messages:
    5
    how to add new diff bcs when i add car doesnt spawn
     
  6. Klaidas

    Klaidas
    Expand Collapse

    Joined:
    Aug 15, 2017
    Messages:
    5
    now when i put welded diff in car shut off and i cant start it
    --- Post updated ---
    Solved! thanks to RobertGracie.
     
  7. Peter Beamo

    Peter Beamo
    Expand Collapse

    Joined:
    Jun 27, 2016
    Messages:
    3,200
    You should thx Aljowen too! He tried to help you too.
     
  8. RobertGracie

    RobertGracie
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    3,867
    Glad to have been of some help here @Klaidas
     
  9. Klaidas

    Klaidas
    Expand Collapse

    Joined:
    Aug 15, 2017
    Messages:
    5
    Sorry I dont saw his comment, aljowen thanks you.
     
  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