1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

Force saving states.

Discussion in 'Programming' started by HighDef, Sep 1, 2017.

  1. HighDef

    HighDef
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    434
    I am working on a story campaign and I want to know if you can add a line to force a save state of the vehicles damage at the end of a scenario then load them when starting the next scenario.

    https://www.beamng.com/resources/a-tuners-day-out.2664/

    Also, does anyone know the line I need to add to the scenario .json to get it to put a png in the overview where you click start? I have made an overview map with directions for each part.

    Thanks for your time.
     
  2. HighDef

    HighDef
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    434
    I have worked out how to get a png image at the start of a scenario in the info. Put the png in the scenario folder and add this line to the scenario .html file

    <img src="\levels\***\scenarios\***.png" alt="image" width="100%">
     
  3. HighDef

    HighDef
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    434
    Is there maybe a way of configuring a key command to the action and then at the end of a scenario force that key to be pressed then also force the other key for loading the state after loading the next part?
     
  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