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.35 Bug Reporting thread
    Solutions and more information may already be available.

Giving Custom cars to npcs

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Begnomek, Dec 25, 2020.

  1. Begnomek

    Begnomek
    Expand Collapse

    Joined:
    Dec 24, 2020
    Messages:
    5
    I wanted to film a police chase, but honestly.. the police isn't even chasing me, it isn't even going after me. Maybe is there a way for me to make the police form road blocks, do formations or just have better cars? maybe i could customize a car to be like a police car but faster and overall better? if it is possible, how do i do something like this?
     
  2. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,472
    Spawning a vanilla police vehicle and turning traffic on results in the police acting like police.
    Just crash into them, reset your car and every single police vehicle with traffic ai active on the map will chase after you and form roadblocks infront of you.
     
    #2 DaddelZeit, Dec 25, 2020
    Last edited: Dec 25, 2020
    • Agree Agree x 1
  3. Begnomek

    Begnomek
    Expand Collapse

    Joined:
    Dec 24, 2020
    Messages:
    5
    If i understand correct, i need to spawn a police car, like a normal police car and when i turn ai on it will just act like an npc, then i need to crash into it and every single police car on the map should chase me? Or did you mean a police ai spawned and then crash into it? Also when i spawned police cars it also spawned normal npcs, i tried to use the "Chase me!" Option in the AI menu but all they did is follow me around at really really slow speeds. I just recently got BeamNG.Drive to make the Police chase video so i don't know much about the game..
     
  4. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,472
    Just manually spawn as much vanilla police vehicles as you want, activate traffic AI, crash into one and every police car will chase you.
     
    #4 DaddelZeit, Dec 25, 2020
    Last edited: Dec 25, 2020
  5. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,408
    They don't have to be vanilla as far as I know, last time I checked in the code, if a config isn't defined as police in its info file, the game just checks if the car has any part with "police" in the name and if yes it will treat it as a police car, so most police configs from properly done mods with light bars and/or police liveries should work.
     
  6. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,472
    Hmm, interesting.
     
  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