Unsolved Is it possible to have checkpoints be reset points?

Discussion in 'Mod Support' started by SouthernPotato, Jun 7, 2017.

  1. SouthernPotato

    SouthernPotato
    Expand Collapse

    Joined:
    Feb 7, 2016
    Messages:
    123
    Something like a year ago, I remember seeing a scenario where if you reset it would go to the last checkpoint instead of to the beginning. I can't remember what the mod was called, but it was definitely on WhyBeAre's channel though I can't find it.
    Is this still possible, and more importantly, would it be possible to do in a quickrace?

    Ultimately, I'm hoping to be able to create a quickrace that saves your vehicle's damage (since that's a built in feature now) at a checkpoint and when you reset it restores whatever damage you had at the last checkpoint. I imagine this may require a LUA component, which I've never used before and I'm not even sure quickraces support them.

    Anyone know if what I've described is feasible, and what mods I might look to to start understanding how I can make such a quickrace? Thanks
     
  2. CreasingCurve

    CreasingCurve
    Expand Collapse

    Joined:
    Jan 19, 2016
    Messages:
    940
    I think that was a scenario made by @Scepheo or @RyvyLo, Either way, both very smart dudes, i think one was warehouses and another was parking lots. I'll do a search because i remember playing them.
    --- Post updated ---
    Turns out they were made by Scepheo. However they have been broken as bsne no longer works.
    Each used to have functional checkpoints
    Parking Lots Scenario
    https://www.beamng.com/resources/parking-lots.583/
    Warehouses Scenario
    https://www.beamng.com/resources/warehouses.600/
    Blocks Scenario
    https://www.beamng.com/resources/blocks.630/
     
  3. RyvyLo

    RyvyLo
    Expand Collapse

    Joined:
    May 15, 2014
    Messages:
    438
    You weren't wrong about me either, I also did a scenario using the bnse capabilities called Cliff Exploration, but which also got outdated when bnse did.

    I think it could be possible to fix bnse because it only got outdated when old functions were replaced by new ones. It is possible to load .lua modules in a quickrace, as the quickrace ( or a part of it at least ) is in Lua.
    In theory, making a system like you described is possible, but It requires at least some prior programming knowledge , and most importantly, a lot of patience and perseverance to find what are the functions that need to be called and figure out why it's not working. This isn't a small project.

    I would advise to do something simpler before if you want to mess with Lua.
     
  4. SouthernPotato

    SouthernPotato
    Expand Collapse

    Joined:
    Feb 7, 2016
    Messages:
    123
    Thank you for recognizing what I was talking about so quickly, @CreasingCurve
    I have plenty of experience programming, though not in Lua, the biggest problem is that there doesn't seem to be any documentation on what type of stuff you can do with the Lua in a quickrace or scenario and how it ties in to the scope of the whole program. Of course I can't expect documentation for something that's being updated regularly, but it means lots of digging in the bowels of the program which, if I found the time for it, is still very difficult to comprehend.
    Perhaps I'll try to find a simple scenario with some Lua bits to modify and become comfortable with it.
     
    • 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