1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

Time travel: is it possible? ⎌

Discussion in 'General Discussion' started by derapao, Dec 14, 2018.

  1. derapao

    derapao
    Expand Collapse

    Joined:
    Dec 14, 2018
    Messages:
    6
    Can I rewind a scene to try something different at a certain point?
    For example, while playing a "replay", I would like to hit pause and get control of the vehicles from that point on.
    Is this possible? Maybe there's another way to do it?

    I'm sorry if this has already been answered, I'm new to the game and I didn't find it.
    Also, more generally speaking, a tutorial on how to play would be nice, the wiki is lacking. It took me a while to learn how I could recover a vehicle stuck in a ditch: by moving the camera around (!). o_O
     
  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    Well, if you hold down insert key, it kinda rewinds.

    Not sure about replay, stopping goes to end of replay I guess, so there might not be a way.
     
  3. MisterKenneth

    MisterKenneth
    Expand Collapse

    Joined:
    Mar 26, 2016
    Messages:
    1,747
    This was not what I was expecting. I was expecting something more, uh, philosophical and sciencey.

    On a serious note, AFAIK, I'm not sure. From what I know, the closest thing you can probably get to "time travel" is holding down insert, which resets the vehicle and moves it backwards at the same time.
     
    • Agree Agree x 6
    • Like Like x 1
  4. rottenfitzy

    rottenfitzy
    Expand Collapse

    Joined:
    Mar 7, 2015
    Messages:
    680
    I’m not sure if a system like forza’s “rewind” function would work in beam. Then again, I know just about nothing.
     
  5. SHOme1289

    SHOme1289
    Expand Collapse

    Joined:
    Nov 6, 2013
    Messages:
    1,286
    isnt that the same as holding the Left D-Pad button down on the xbox controller?
     
  6. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,901
    Recording of full-world physics state is not possible (nor planned to be researched for viability either). You can only get a extremely simplified history recording using the Recovery system (insert key), or a read-only graphics/audio recording of what has happened via Replay system.
     
    • Informative Informative x 4
    • Like Like x 1
    • Agree Agree x 1
  7. Raceboy77

    Raceboy77
    Expand Collapse

    Joined:
    Aug 12, 2018
    Messages:
    131
    but in forza horizon 4 you can rewind
     
  8. NuclearKnight

    NuclearKnight
    Expand Collapse

    Joined:
    Nov 30, 2013
    Messages:
    64
    Yes you can but you must realize there is a lot nore going on in the backgroud of this game than forza. I suggest looking at their posts about how the game is made (id link it but idk where it is). That'll guve you an insight on just how much is going on in the backgrouns of this game. In simple terms, each node of every vehicle has its physics calculated 2000 (?) times a second which includes speed, g forces, heat, abd other things that i can't remember. You also habe to realize that most racing games habe preset deformity rather than calculating everything like this game does. Hope thos clarifies things a bit for ya! Feel free to correct me if I'm on anything guys.
     
    • Agree Agree x 3
  9. derapao

    derapao
    Expand Collapse

    Joined:
    Dec 14, 2018
    Messages:
    6
    OK, I understand.
    Would it be possible then to reload not just the current vehicle (CTRL+R) but all the vehicles?
    In other words, suppose I prepare a complex setting with some vehicles, breakable walls, cannons, etc., and I want to save it to try different things. Right now the way I do the "reset" is by repeatedly pressing tab / ctrl+R / tab / ctrl+R / tab etc. until everything is restored.
    Is there a smarter way to do this?

    Also: can I save the whole "setting" and restore it another day after exiting the game?
    So this would not be "time travel" (too demanding) but rather a "save the current position [not necessarily the whole state] of all the elements you added to the world".
     
  10. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,901
    You can run be:reloadVehicle(-1) in the lua console. Coincidentally, the next update will bring a dedicated shortcut binding for this functionality, that you will be able to assign to some key or button of your choice.

    There's no quick way to create scenarios. Maybe scriptAI is a better way to do it, but I'm not sure IF or when it will be made publicly available.
     
  11. derapao

    derapao
    Expand Collapse

    Joined:
    Dec 14, 2018
    Messages:
    6
    In case someone else is interested: I was mistaken, I meant to reset not to reload.
    So the command to use is be:resetVehicle(-1) and it does exactly what I needed: reset all the vehicles/props to the last position where they were recovered ("insert" key).
    Thank you very much for the tip, @stenyak!
     
    • Like Like x 1
  12. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,901
    You're welcome!
     
  13. derapao

    derapao
    Expand Collapse

    Joined:
    Dec 14, 2018
    Messages:
    6
    I found a very simple way to save what I call a "set" (like in a movie set), that is a map where I changed a few things and added a few vehicles and props (like cinderblock walls, rollers, etc.).
    Just press F11 + Ctrl S.
    That's it.

    I wonder why nobody mentioned it...!! So I guess that probably I am misusing the tools.o_O Am I missing something?

    In fact, this method has a few drawbacks:
    1. once saved, the base map will be forever modified, or at least until I delete the Documents\BeamNG.drive\levels\ folder
    2. I can't save more than one "level"; or actually I can, using "save level as" and giving names to the levels, but then when I try to load it back with "Open level" it doesn't work.
    Probably I could figure out what I do wrong by studying the massive documentation in the wiki... but it is a daunting enterprise, when all I want is just save what I see on the screen. And it also seems that it shouldn't be difficult to implement, since the F11 - Ctrl S is already there and does almost everything that's needed. It just lacks an interface to give a mnemonic name to what you've saved, and a list of saved "sets" to choose what to load.

    I don't want to sound rude, but I think that a big prominent "save" button is required in a sandbox simulator. You shouldn't need to become a modder to do something like that (maybe some day I will... but I installed this game just a week ago, give me time ;)).
     
    • Like Like x 1
    • Agree Agree x 1
  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