Solved How to make ui app?

Discussion in 'Mod Support' started by BeamCarHomeTrade, Jan 20, 2018.

  1. BeamCarHomeTrade

    BeamCarHomeTrade
    Expand Collapse

    Joined:
    Sep 30, 2017
    Messages:
    808
    Hey guys,need a help to create an app that is similar to Route advisor: ets2.png
    Well,With NAV of course!
    I only need Speed,Navi,Transmission!
    From what i should start?what i should learn
     
  2. Nathan24™

    Nathan24™
    Expand Collapse

    Joined:
    Apr 18, 2017
    Messages:
    2,339
    Wait a second...
    Is that screenshot from American Truck Simulator???
     
  3. BeamCarHomeTrade

    BeamCarHomeTrade
    Expand Collapse

    Joined:
    Sep 30, 2017
    Messages:
    808
    ETS 2
     
  4. EruptionTyphlosion

    EruptionTyphlosion
    Expand Collapse

    Joined:
    Sep 24, 2016
    Messages:
    2,927
    Do you understand LUA by any chance?
     
  5. BeamCarHomeTrade

    BeamCarHomeTrade
    Expand Collapse

    Joined:
    Sep 30, 2017
    Messages:
    808
    ehmmmm,nope
     
  6. EruptionTyphlosion

    EruptionTyphlosion
    Expand Collapse

    Joined:
    Sep 24, 2016
    Messages:
    2,927
    You're going to need to have an understanding of that if you want to make a UI app.
     
  7. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    Not everything in this wiki page will be applicable, since it is intended for vehicle Lua, not app Lua. However it may provide useful information on how to tap into the games streams to get data.
    https://wiki.beamng.com/Vehicle_Lua

    You will also want to look at the normal beamNG GPS app. Since you can copy/paste it into your own app and then modify the colours and shapes that it uses to match the ETS/ATS nav. Then you will need to use Streams to grab the rest of the data. Possibly have some form of timer to implement sleep functionality. Speed limit warnings etc can't (to my knowledge) be done, since the game has no way of finding the speed limit for the current road. Navigation should be possible, however it would be *very* complex to implement.

    So all in all, this sort of thing should be possible. However you would likely want to make a slightly more basic version of it. Equally it is not an ideal first project due to its complexity, you may wish to start out with some basic things like making a speedometer first etc.
     
  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