Dismiss Notice

In the upcoming days mod approvals could be slower than normal.
Thank you for your patience.

Beta Road Grip Editor 1.31

Allows you to change the road's grip in realtime!

  1. angelo234
    If the mod isn't working for you, press CTRL + L (restarts Lua) and restart the map if you are already in one, which should make it work.

    Road Grip Editor allows you to change the road surface grip in-game and in realtime, allowing you to simulate icy conditions, F1 levels of grip, and even negative grip on any map, without having to modify the values in the map or vehicle files! This is possible thanks to the current game code which allows you to dynamically update the road surfaces. And I am taking advantage of this to present you with this mod!




    Version 1.31
    app.png

    Mod Showcase by WhyBeAre:



    Tutorial on adding a UI app:
    https://wiki.beamng.com/User_Interface_&_Apps

    Usage (Version 1.31):

    1. Select the Surface
    The default surface is set to "All Surfaces" meaning that all surfaces will be modified. If you would like to modify an individual surface, click on the surface drop-down list and select from the many road surfaces, the one you would like to modify. Alternatively, you can select the surface the vehicle is on by clicking the "Get Surface" button.

    Note:
    Some surfaces such as "Asphalt" for example will also modify the surface grip of concrete and other "similar" surfaces. And some surfaces that you may think is a certain surface type may actually be a different type. For example, the surface you might think is of type "Asphalt" may actually be the "Asphalt Old" surface type, so you may need to do trial and error sometimes to find the right surface type.


    2. Edit Parameter Values
    Below the surface selector are the surface parameters which affect how the tires grip the surface. Next to each one is a question mark you can hover to get more information on them. And to the right of them are input boxes to modify their values. Hovering over the parameter's input box will tell you the minimum and maximum values that you can input. There are two ways to edit the surface parameter values:
    • Right-click on the input box, delete the current value, and then type in a new value
    • Use the up/down arrows in the input box to increment/decrement the current value
    3. Apply Changes
    Click on the "Apply Changes" button to apply the parameter values to the surface you selected.

    4. Resetting Parameter Values
    There are two ways to reset the parameter values for surfaces:
    • "Reset to Default" will reset the current surface grip to default settings
    • "Reset All to Default" will reset all the surfaces' grip to default settings
    Note:
    The applied settings will reset when you close out of the map.


    Surface Parameters and Definitions:
    Relationship-between-slip-ratio-and-friction-coefficientppm1.png

    ae40dcc6f0219eca6195df8ec2de575217f706be.png
    The graph above gives you an idea of how tire friction depends on the slip ratio (the difference in velocity between the vehicle and the tire as a ratio). Zero or 0% slip ratio means that the vehicle's and tire's velocity are the same. And a slip ratio of 1.0 or 100% means that there is a two times difference in velocity between each other. Although, the game seems to use the difference in speed rather than a ratio between the tire and the ground, with having a "Stribeck Velocity" parameter.

    • Static Friction (μ)
      • The type of friction that allows you to stop and is actually what the tires experience when they are not spinning out or locked up. This value is most of the time higher than sliding friction. In the graph, this type of friction is present in the zone between 0% slip and peak friction, and the tire is technically slipping.
      • Examples of static friction include:
        • Regular driving
        • Racetrack racing
        • Braking before wheels lockup
        • Accelerating before wheels spinout
    • Sliding Friction (μ)
      • The type of friction that is experienced when your tires are spinning out or locked up as a result of going over the limits of static friction. And this is why ABS, Traction Control, and ESC exist to keep the car from experiencing sliding friction to give you the most grip. In the graph, this type of friction covers the zone to the right of peak friction. In the game, this is set as one value, which defines the lowest sliding friction value, and the distance and slope between peak friction and sliding friction are determined by the "Stribeck Velocity".
      • Examples of sliding friction include:
        • Drifting
        • Doing a burnout
        • Braking too hard and locking your wheels
    • Stribeck Velocity (m/s)
      • This determines how quickly you transition from static friction to sliding friction when you go over the limits of static friction. This value determines the difference in speed between the tire and vehicle required to switch completely from static to sliding friction, and sets the steepness of the slope between static and sliding friction.
    • Hydrodynamic Friction (μ)
      • The type of friction that is produced by the viscosity of the fluid (surface). This friction is proportional to the difference in velocity between the vehicle and the tires (e.g. the more you spin your tires, the more friction that is produced)
      • Examples of hydrodynamic friction include:
        • Spinning your tires in mud
    • Roughness Coefficient
      • This value determines how well different types of tire treads grip the surface. For example, a value of zero works best for slick tires and a value of one works best for mud tires.
    • Fluid Density (kg/m^3)
      • This is the density of the surface. If the density of an object is greater than the density of the surface, the object will sink, and if the other way around, the object will float.
    powerlawfluid.png
    • Flow Consistency Index (Pa*s^n)
      • This value is basically a coefficient used to scale the viscosity (η) of the fluid proportionally to the "shear rate" (basically the velocity of the object passing through the surface) to the power of the "flow behavior index".
    flowbehaviorindex.png FluidTypes.png
    • Flow Behavior Index (n)
      • This value defines the shape of the viscosity (η) vs. shear rate (γ) curve. And you can see in the graph and table what the curve will look like depending on the type of surface/fluid, based on this value. The game doesn't simulate Bingham plastics so ignore that.
    • Drag Anisotropy
      • This value determines whether the object that rides on the surface will sink or float. Negative values cause the object to sink and positive values will cause floating.
    • Default Depth (m)
      • This value defines the depth of the surface when the surface is flat and isn't overridden by the terrain.
    • Skid Marks
      • I think this one is obvious enough?

    Possible Future Features:
    • Bug fixes of course :)

    Troubleshooting:
    If the mod isn't working for you, press CTRL + L (restarts Lua) and restart the map if you are already in one, which should make it work.

Recent Reviews

  1. 88fiero
    88fiero
    5/5,
    Version: 1.31
    Is there a way that I can type in the numbers, instead of having to hold the arrow button
  2. St4ckie
    St4ckie
    5/5,
    Version: 1.31
    Best settings for F1?
  3. kanyelover1
    kanyelover1
    4/5,
    Version: 1.31
    best settings for rollover?
    1. angelo234
      Author's Response
      Just set static and sliding friction to high values (e.g. 5)
  4. Richard Brooks
    Richard Brooks
    5/5,
    Version: 1.31
    great mod for when you want to do rollover crashes, but i am seeing an issue, when i have it set to just asphalt, it still feels like i have it set to all surfaces, because whenever i try to scrape the side of another car, both cars just snag eachother and do more damage than what i want
  5. MartisKietas
    MartisKietas
    4/5,
    Version: 1.31
    good mod, can someone tell me how to do f1 grip? plyz, btw idk what are you guys talking about but its works for my self
  6. kup.vadim
    kup.vadim
    4/5,
    Version: 1.31
    Guys, it seems like mod doesn't work anymore. I've tried reloading map and restarting LUA.
  7. supardianto
    supardianto
    5/5,
    Version: 1.31
    wow SCIENCE feeling back in school
  8. N0ke
    N0ke
    5/5,
    Version: 1.31
    Tasty mod! You can do some pretty fun stuff with it :)
  9. freddysfazcrap
    freddysfazcrap
    5/5,
    Version: 1.31
    i love this
  10. Xela
    Xela
    5/5,
    Version: 1.31
    thx for updating this really useful mod for me, as i find vanilla sand not grippy and spinny enough!
    would it be possible to have a button to minimize the app? I'm making a crusade for minimizing UI as I'm bored to go to the interface customizer every 10 minutes
    1. angelo234
      Author's Response
      alright yeah I can do that
  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