Solved Two fleeing AI cars in scenario?

Discussion in 'Mod Support' started by sketchy_b, Jul 24, 2016.

Tags:
  1. sketchy_b

    sketchy_b
    Expand Collapse

    Joined:
    Apr 13, 2014
    Messages:
    61
    I want to create two fleeing AI cars in a scenario I have followed the my first scenario guide lines and when there is only one car it works but when two are added neither of them drive. any ideas why? It says multiple cars can be used in the Guide lines and the level will only complete when they meet their win criteria. Any help much appreciated... also is there any way to add ui apps in certain scenarios?
     
  2. KevinoCrasher

    KevinoCrasher
    Expand Collapse

    Joined:
    Jun 9, 2014
    Messages:
    190
    Maybe you need to set the following target correct?
     
  3. sketchy_b

    sketchy_b
    Expand Collapse

    Joined:
    Apr 13, 2014
    Messages:
    61
    I've removed the following target, so that shouldn't be an issue I dont want there to be a maximum distance from either car
     
  4. meywue

    meywue
    Expand Collapse
    Administrator
    BeamNG Team

    Joined:
    Nov 19, 2015
    Messages:
    340
    Hey,

    would you mind to send us you file either here in the thread or here , so we can have a deeper look into it!?

    Cheers!
     
  5. sketchy_b

    sketchy_b
    Expand Collapse

    Joined:
    Apr 13, 2014
    Messages:
    61
    here you go
     

    Attached Files:

  6. sketchy_b

    sketchy_b
    Expand Collapse

    Joined:
    Apr 13, 2014
    Messages:
    61
    any news, were you able to use the files I sent? sorry if the upload was no good, was a rush job on my lunch break. Cheers
     
  7. sketchy_b

    sketchy_b
    Expand Collapse

    Joined:
    Apr 13, 2014
    Messages:
    61
    This is how i got them fleeing...

    "speeder":
    {
    "driver":
    {
    "player":false,
    "required": false,
    "removeIfEmpty":false,
    "ModeAI":"flee",
    "command":"ai.setTargetVehicleID(2864)"
    },
    "goal":
    {
    "speed":
    {
    "minSpeed":1.4,
    "maxTimeout":4,
    "msg":"well done ",
    "purpose":"win",
    "delay":0
    },
    }
    },
    "speeder_2":
    {
    "driver":
    {
    "player":false,
    "required": false,
    "removeIfEmpty":false,
    "ModeAI":"flee",
    "command":"ai.setTargetVehicleID(2864)"
    },
    "goal":
    {
    "speed":
    {
    "minSpeed":1.4,
    "maxTimeout":4,
    "msg":"well done ",
    "purpose":"win",
    "delay":0
    },
    }
    },

    The Vehicle ID is unique and I had to use the console to get it, there may be a command but I don't know it. If any one needs info I can explain how I did it. just send me a message!
     
  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