Outdated Fix for slidingFrictionCoef bug [This bug has been officially fixed in v0.25]

Discussion in 'Utilities and programming' started by S.Ali.M, Apr 5, 2022.

  1. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,080
    This bug has been officially fixed in v0.25. If you've installed the v0.25, delete the mod!

    Hello everyone!
    As you know, in the v0.24 some old mods freeze if you damage their wheels and this shows up in the console:


    But I fixed the issue with a simpe lua file :D
    Here it is:


    Proof it works:


    This mod has been tested on 3 mods (Me262, Leduc 0.22 and the famous Oldsfullsize) so it should fix this bug on all mods.
    Let me know if it doesn't work for you

    Download in the attachment files
     

    Attached Files:

    #1 S.Ali.M, Apr 5, 2022
    Last edited: Jun 16, 2022
    • Like Like x 9
  2. ramer201010

    ramer201010
    Expand Collapse

    Joined:
    Nov 3, 2021
    Messages:
    369
    Amazing! works amazingly!
     
    • Like Like x 1
  3. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,085
    Bruh why couldn't they just 'or 1' it
    1f480.png
     
    • Agree Agree x 1
  4. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,112
    It could break the friction behavior of all parts that are not tires, because only tires simulate sliding friction separately from static one
     
  5. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,080
    If only tires simulate sliding friction coef, changing this value on parts that aren't tires doesn't make any difference on them, so it doesn't break their friction behavior
     
  6. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,112
    It does because normal parts have it as nil and that's why they don't simulate it. This changes it to 1 making all parts simulate sliding friction.
     
  7. ramer201010

    ramer201010
    Expand Collapse

    Joined:
    Nov 3, 2021
    Messages:
    369
    Wait, the Leduc 0.22 still works?
     
  8. a plane guy

    a plane guy
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    3,620
    No, he fixed it, but since then dummiesman said that he doesnt like people talking/posting about his old mods
     
  9. ramer201010

    ramer201010
    Expand Collapse

    Joined:
    Nov 3, 2021
    Messages:
    369
    Oh.
     
  10. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,080
    What about this?
    slidingFrictionCoef_fix_code.jpg
     
  11. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,112
    This should be better but idk how it works normally in game
     
  12. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,080
    !Updated!

    I think I can't find a better code to fix the issue currently
     
  13. Razor_T

    Razor_T
    Expand Collapse

    Joined:
    Jan 29, 2022
    Messages:
    111
    Yay! Codename: oldfullsize mod works better!
     
    • Like Like x 1
  14. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,841
    Nice work! I had no idea such an issue existed, I've fixed it properly for the next update! :)
     
    • Like Like x 9
  15. Zachary Hamada

    Zachary Hamada
    Expand Collapse
    Banned

    Joined:
    Apr 20, 2022
    Messages:
    15
    Where should I put Fix for slidingFrictionCoef bug mod into? :confused:
     
  16. a plane guy

    a plane guy
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    3,620
    You mods folder
     
  17. Zachary Hamada

    Zachary Hamada
    Expand Collapse
    Banned

    Joined:
    Apr 20, 2022
    Messages:
    15
    Well. It won't work. :(
     

    Attached Files:

    • screenshot_2022-06-09_17-51-49.png
  18. a plane guy

    a plane guy
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    3,620
    It doesnt fix textures, just the tire bug,
    You also need the repo oldfullsize active for that mod to work
     
    • Agree Agree x 1
  19. Zachary Hamada

    Zachary Hamada
    Expand Collapse
    Banned

    Joined:
    Apr 20, 2022
    Messages:
    15
    OK.
    --- Post updated ---
    Hey. It worked. Also, I change the number plate.
     

    Attached Files:

    • screenshot_2022-06-09_18-15-36.png
  20. ramer201010

    ramer201010
    Expand Collapse

    Joined:
    Nov 3, 2021
    Messages:
    369
  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