1. Thread posting restricted: Only the BeamNG team members can post new threads in this sub-forum in order to prevent spam. Posting is available on unlocked threads.

  2. GPU Fatal Error? Intel HD Graphics 620/630 Crashes? Help us solve them!
    Dismiss Notice

Micro Blog(s) - 2018-2019

Discussion in 'Microblogs' started by Diamondback, Jan 16, 2018.

Thread Status:
Not open for further replies.
  1. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,324
    The last days we have been working on implementing an expression based system for variables in jbeam.

    To recap, that's how variables in jbeam are currently used:
    Define the variable(s):
    Code:
    ["$wastegateStart", "range", "psi", "Turbocharger", 8, 6, 36, "Wastegate Start", "Pressure at which the wastegate begins to open"]
    ["$wastegateLimit", "range", "psi", "Turbocharger", 10, 8, 38, "Wastegate Limit", "Pressure at which the wastegate is fully opened"],
    And then use it to adjust whatever you need to adjust:
    Code:
    "wastegateStart":"$wastegateStart"
    "wastegateLimit":$wastegateLimit"
    Now that system has enabled us to offer lots of tuning options, from tire to pressure, over turbo and engine settings to things like spring rates.
    However, all the time the system was quite limited, you could just assign a single variable to a single data point.

    With the expression based extension of this, we aim to allow for simpler, yet more powerful tuning options.
    The goal is to essentially allow the creator to use math inside these variables to allow for finer control and easier tuning.

    Let's take a look at the example from above simplified with expressions:

    Definition:
    Code:
    ["$wastegateStart", "range", "psi", "Turbocharger", 8, 6, 36, "Wastegate Start", "Pressure at which the wastegate begins to open"]
    Usage:
    Code:
    "wastegateStart":"$wastegateStart"
    "wastegateLimit":"$=$wastegateStart + 2"
    As you can see, you can now avoid having two different variables and just use a fixed offset.
    One could also allow to tune the start value + the offset and use it like so:
    Code:
    "wastegateStart":"$wastegateStart"
    "wastegateLimit":"$=$wastegateStart + $wastegateRange"
    We also plan to allow the use of certain math related functions like:
    • min
    • max
    • abs
    • sin
    • cos
    • tan
    • sign
    • round
    • square
    • etc
    We haven't finished working on this yet, so details may or may not change/disappear/appear. But in any case, this is a much needed extension of the jbeam variable system, made to allow for much greater customization while keeping stuff more simple to use. :)
     
    • Like Like x 7
    • Informative Informative x 2
  2. tdev

    tdev
    Expand Collapse
    Developer
    Staff Member

    Joined:
    Aug 3, 2012
    Messages:
    2,869
    Repo is back on - 2.9 GBit/s max peak, 17.5 M hits and 26.8 TB mods delivered in two days.

     
    • Like Like x 3
    • Informative Informative x 1
  3. tdev

    tdev
    Expand Collapse
    Developer
    Staff Member

    Joined:
    Aug 3, 2012
    Messages:
    2,869
    :D
     

    Attached Files:

    • totaly_a_rocket.jpg
    • Like Like x 34
    • Agree Agree x 1
    • Informative Informative x 1
  4. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,324
    A little bit more detail for the new ETKs:
    Video - Click to Play - Direct Link


    Adaptive brake lights and brake light usage when the ESC becomes active. (Not sure yet if the ESC part will be enabled by default)
     
    • Like Like x 45
    • Informative Informative x 2
  5. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,324
    • Like Like x 64
    • Informative Informative x 1
  6. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    13,687
    Late for an appointment..
    Video - Click to Play - Direct Link
     
    • Like Like x 83
    • Agree Agree x 3
    • Informative Informative x 2
    • Staff Pick Staff Pick x 1
  7. tdev

    tdev
    Expand Collapse
    Developer
    Staff Member

    Joined:
    Aug 3, 2012
    Messages:
    2,869
    RGB and performance improvements for the ScriptAI:

    Video - Click to Play - Direct Link
     
    • Like Like x 27
  8. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    13,687
    In our latest hotfix, @thomatoes50 introduced a small but useful change to the in-game repository and Automatic Updates.

    Previously, if a mod you were subscribed to was missing (ex. the ZIP was deleted manually), the game would automatically download it back. That sometime did not reflect what the player wanted to do.

    Since 0.16.0.3 this is handled a bit differently. If a mod you are subscribed to is missing, they get marked as missing:


    From this new category, you can choose whether to:
    • Download all the missing mods (at once, or singularly)
    • Unsubscribe from the missing mods
    That should prevent from mods being automatically downloaded when maybe it's not what the player is willing to do, or manage all subscriptions more easily :)
     
    • Like Like x 49
    • Informative Informative x 5
    • Staff Pick Staff Pick x 1
    • Agree Agree x 1
  9. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,324
    So I heard you like cryptic teasers?


    That's what my current setup for the new driving dynamics stuff, that I am currently researching, looks like.
    There are some new ideas based on this in there: (Have fun reading it :D )
    http://tuprints.ulb.tu-darmstadt.de/8069/1/2018-01-31_Bechtloff_Jakob.pdf

    I hope that new system can better adapt to the wide variety of cars and setups we have now.
     
    • Like Like x 34
    • Informative Informative x 3
    • Agree Agree x 1
  10. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,324
    Researching.... :D
    PICT_20190720_162657.jpg
     
    • Like Like x 99
    • Staff Pick Staff Pick x 3
    • Informative Informative x 3
    • Agree Agree x 2
  11. Diamondback

    Diamondback
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Apr 8, 2014
    Messages:
    1,324
    Got something very very WIP for you today. I'm playing around with something that naturally happens IRL but is not supported in the game yet. What I'm talking about?

    Crooked steering wheels of course. In reality, if you slightly damage your steering and/or suspension, the car will most likely still travel straight, however, to do that, the steering wheels ends up being not centered.
    So while the wheels still point mostly straight, the steering wheel essentially got a new center position.

    In the game, that's not possible with keyboards or gamepads atm since the input that comes from your device is forced onto the steering, even if that steering doesn't want to rest there.
    With FFB wheels, stuff works as expected since the wheel can then find a new center.

    This leads to basically unusable cars with keyboards and controllers even with the slightest misalignment.

    To fix this, I'm trying to let the steering find its own center position when there is no input. So instead of actually forcing that 0 input onto the steering, I kinda let it loose and use the FFB forces to find the natural center point.

    Here are two videos showing the behavior, first one is as is, without any changes, the damaged steering makes the car very hard to drive since it constantly turns.
    The second video has a very crude version of above idea implemented, when not giving it any input, it tries to self correct the steering position via the FFB forces.

    Without correction:
    Video - Click to Play - Direct Link


    With correction: Note how the steering wheel isn't centered anymore after the damage happened)
    Video - Click to Play - Direct Link


    Also: This is very crude as is and I'm sure I will run into weird corner cases when using this, so please understand that this is research and could very likely not end up being in the game.
     
    • Like Like x 78
Thread Status:
Not open for further replies.
  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