Scenario Creations

Discussion in 'Content Creation' started by Lepard, Jun 13, 2020.

  1. Lepard

    Lepard
    Expand Collapse

    Joined:
    Apr 21, 2015
    Messages:
    3
    I have been working on getting a scenario created for the last couple of days. I have created a scenario in West Coast USA around the race track with one other car. I have modded cars, the (FR16-17) race cars. Now, I have not finished this yet, but I started to work on the other car AI in the .lua file. I launched my game, got in, and got error messages stating that the .lua is messed up among other things. I then proceeded to restart my game, and I got this when trying to load back up into my scenario:
    upload_2020-6-13_3-7-28.png
    upload_2020-6-13_3-8-11.png
    Also, I am very inexperienced with this, so I am very confused. Any help would be very much appreciated!


    EDIT: I have worked on the scenario a little bit, and now the AI car spawns in and starts to drive in the scenario start screen, or revs its engine. When I hit go, it despawns and my car sometimes drives forwards and for some reason, I cannot reverse. This came up in the error logs:
    upload_2020-6-14_1-28-11.png
    Any help would be much appreciated!
     
    #1 Lepard, Jun 13, 2020
    Last edited: Jun 14, 2020
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    I cannot help you as the information are quite limited. You would have to show your LUA file probably to better see what is happening.

    This error should not be related to your issue, is an UI app throwing some random error. It should not affect the actual vehicle logic / simulation.
     
  3. Lepard

    Lepard
    Expand Collapse

    Joined:
    Apr 21, 2015
    Messages:
    3
    Thank you for responding! I will attach my .Lua file here:
    And on a side note, Beamng drive is one of my favorite games!
     

    Attached Files:

  4. Gamergull

    Gamergull
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 3, 2018
    Messages:
    460
    I tried this out in my own scenario, and the Lua works. You mentioned that the AI vehicle despawns; maybe there's a vehicle error? Try to swap in a stock vehicle for the AI.
     
  5. Lepard

    Lepard
    Expand Collapse

    Joined:
    Apr 21, 2015
    Messages:
    3
    Ok, I tried that and it worked perfectly! I re-installed the mod, and the vehicle error did not pop up anymore. I'm assuming the mod got messed up somehow. Thank you both for your amazing help!
     
  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