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

How to categorise cars as police vehicles?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by pixeaudi, Aug 8, 2020.

  1. pixeaudi

    pixeaudi
    Expand Collapse

    Joined:
    Aug 3, 2018
    Messages:
    211
    I'm trying to make one of my Automation mods respond to player's actions.
    I know that it's about editing the info.json file, but what I need to do to make the Traffic app categorise my car as a police vehicle?
     
  2. Plymouth Superbird 1970

    Plymouth Superbird 1970
    Expand Collapse

    Joined:
    Nov 15, 2015
    Messages:
    1,156
    I'd assume it just needs a lightbar. Press M once and they slow down a little, but press M twice and they pull to the side (because siren is on when you hit it twice).
    My question is, how are you going to get a lightbar on an Automation car?
     
  3. DriftinCovet1987

    DriftinCovet1987
    Expand Collapse

    Joined:
    Apr 14, 2016
    Messages:
    1,192
    In the info.json file for each configuration, there is a line called "Config Type"; to make a vehicle a police vehicle, simply add this line to each configuration you want to have as a police car:

    "Config Type":"Police",

    Hope this helps.
     
  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