Unsolved Creating a "Copy Me" app

Discussion in 'Mod Support' started by MM1998, Dec 21, 2018.

  1. MM1998

    MM1998
    Expand Collapse

    Joined:
    Sep 16, 2012
    Messages:
    14
    I have no idea where to start. I have a concept for an app where you press "record", then drive the vehicle, your inputs (steering, throttle, brake, and clutch) are stored in a file, and then you can hit "play", and your vehicle will reset and the inputs stored in the file will be sent to the vehicle once again. I somewhat know how to code in Python... but not in whatever code language BeamNG.drive uses. I'm pretty sure once I got the app to store data, retrieve it, and play it, that it would run pretty much flawlessly... it's conceptually very straightforward... or so I imagine lol EDIT: I would not need to store data like position, speed, or direction... just the inputs from the controller.
     
  2. Sithhy™

    Sithhy™
    Expand Collapse

    Joined:
    Apr 5, 2017
    Messages:
    3,341
  3. MM1998

    MM1998
    Expand Collapse

    Joined:
    Sep 16, 2012
    Messages:
    14
    I've been playing around with that mode and it does okay... but all it's doing is tracking your position and speed, then making waypoints and sending the AI to (rather sluggishly) follow the path... it doesn't do exactly what you did, though it tries to follow your exact path.
    --- Post updated ---
    I need something that tracks your inputs, that way it can do exactly what you did, not just an AI controlled "version" of it.
    --- Post updated ---
    Example: It is very easy to lose the AI with the method implemented, or very hard to make it do exactly what you want it to do, depending on how you look at it. But if you make the AI do EXACTLY what you did... the only one you have to blame for it screwing up on a corner or whatever is yourself lol
     
    • Informative Informative x 1
  4. TechMechanic

    TechMechanic
    Expand Collapse

    Joined:
    Nov 22, 2017
    Messages:
    636
    I'm not sure if this is quite what you meant, but if you use the in-game record. It pretty much does what you are saying. Recording the exact movements you make and replaying them. It's quite impressive as beamng doesn't save a video file when you record, it records movement so that should you come back to the recording you can change camera views and such.
     
  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