Enhance guistreams content

Discussion in 'Ideas and Suggestions' started by Diamondback, May 31, 2015.

  1. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Hello,

    I recently wrote a little UI app (or rather modified an existing one) to help me debug my ESC system. However, to do that I needed to modify guistreams.lua to include a couple more values in the streams.
    To be precise I included w.brakingTorque and wd.brakeTorque to visualize my ESC actions in the app.

    Basically like this:
    Code:
    wheelinfo[i] = {
        wd.name
        , wd.radius
        , wd.wheelDir
        , w.angularVelocity
        , w.lastTorque
        , drivetrain.wheelInfo[wd.wheelID].lastSlip
        , wd.lastTorqueMode
        , drivetrain.wheelInfo[wd.wheelID].downForce
        , w.brakingTorque
        , wd.brakeTorque
    }
    Is it possible to incooperate this into the game by default or does that impact any kind of performance?
     
    #1 Diamondback, May 31, 2015
    Last edited: May 31, 2015
  2. estama

    estama
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 7, 2012
    Messages:
    267
    I've just added them in the guistream. They'll be there in the next version.
     
  3. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Awesome, thank you :)
     
  4. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,804
    *cough devbadge cough*.
     
  5. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Works as expected with the new update, thanks again! :)
     
  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