Unsolved Engage Slow-Mo after Crash

Discussion in 'Mod Support' started by BombBoy4, Sep 7, 2017.

  1. BombBoy4

    BombBoy4
    Expand Collapse

    Joined:
    May 16, 2015
    Messages:
    1,601
    Is there a way to engage slow-mo after a crash? Like after 5% of the vehicles beams break, 8x slow-mo is engaged?
     
  2. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    You can get information about the vehicles damage via Streams here (which can be accessed via Lua): https://wiki.beamng.com/Streams#stats

    There is also documentation on setting bullet time via Lua here: https://wiki.beamng.com/Lua:Bullettime

    So I would assume that you could do that by creating a Lua App or Vehicle Lua if you want to do it only on a specific vehicle.


    My best guess for what the parameters of "slowMotion (slowdownTime, slowDownPercent)" actually do is:
    slowDownTime = How quickly to transfer from current simulation speed to the desired speed
    slowDownPercent = How slow you actually want it to be

    However as stated that is just a guess. I haven't tested any of this ;)
     
    • Like Like 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