1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.37 Bug Reporting thread
    Solutions and more information may already be available.

Changing a scenario from flee to chase

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by ThreeDTech21, Oct 30, 2016.

  1. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Im trying to make the east coast 2 scenario into a chase sceneario so I changed the lua file from flee to chase but it had no effect the car still flees

    To test if I was editing things right I changed the color of the speeder car and it worked, but when I change the ai mode to chase the car still flees, how do I make the car chase the police car?

    Here is a picture of the AI mod I changed from flee to chase but the car still flees in the east_coast_chase_2.lua
    AI mode chase.PNG

    I even deleted the whole contents of the lua file and it still flees...
     
    #1 ThreeDTech21, Oct 30, 2016
    Last edited: Oct 30, 2016
  2. LucasBE

    LucasBE
    Expand Collapse

    Joined:
    Mar 22, 2015
    Messages:
    2,590
    Try to change "running = true" to "chasing = true" or "running = false"
    AI mode chase.PNG
     
  3. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I tried each way and it didn't work, it seems that BeamNG is somehow overlooking the information in the lua file and getting its programing from somewhere else, I deleted the lua files and the scenarios still run... without the devs input im sure I wont get much further
     
    #3 ThreeDTech21, Oct 31, 2016
    Last edited: Oct 31, 2016
  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