Continuing with the theme of @1UZ-FE's police AI thread, I just want to add some things to it... Demonstration of proper Code 1, Code 2, and Code 3 response... Arguably, one of the most important thing about police AI is that whenever they're in a "patrol" AI mode, they will respond to various callouts around the map. Depending on the "severity" of the callout, the police AI will use Code 1, Code 2, and Code 3 response. Traffic Stop Ability If a AI cop has seen you commit a traffic violation (i.e. failure to stop at a stop sign), the AI has probable cause to pull you over. The AI will drive behind your vehicle, being aware of what your vehicle has, such as the Small Trailer. The AI will then activate their emergency lights in a situation that "they" think is suitable. Upon carrying out the traffic stop, you (as the driver) will face the appropriate charge. Code: TRAFFIC FINE CHART: Seven points Failing to remain at the scene of a collision Failing to stop for police Six points Careless driving Racing Exceeding the speed limit by 50 km/h or more Failing to stop for a school bus Five points Driver of bus failing to stop at unprotected railway crossing Four points Exceeding the speed limit by 30 to 49 km/h Following too closely Three points Exceeding the speed limit by 16 to 29 km/h Driving through, around or under a railway crossing barrier Driving while holding or using a hand-held wireless communications/entertainment device or viewing a display screen unrelated to the driving task Failing to yield the right-of-way Failing to obey a stop sign, traffic light or railway crossing signal Failing to obey traffic control stop sign Failing to obey traffic control slow sign Failing to obey school crossing stop sign Failing to obey the directions of a police officer Driving the wrong way on a divided road Failing to report a collision to a police officer Improper driving where road is divided into lanes Crowding the driver's seat Going the wrong way on a one-way road Driving or operating a vehicle on a closed road Crossing a divided road where no proper crossing is provided Failing to slow and carefully pass a stopped emergency vehicle Failing to stop at a pedestrian crossing Failing to move, where possible, into another lane when passing a stopped emergency vehicle Driving a vehicle that is equipped with or carrying a speed measuring warning device (such as a radar detector) Improper use of a high-occupancy vehicle (HOV) lane Two points Failing to lower headlight beam Improper opening of a vehicle door Prohibited turns Towing people - on toboggans, bicycles, skis, for example Failing to obey signs Failing to share the road Improper right turn Improper left turn Failing to signal Unnecessary slow driving Reversing on a highway Driver failing to wear a seatbelt Driver failing to ensure infant passenger is secured Driver failing to ensure toddler passenger is secured Driver failing to ensure child is secured Driver failing to ensure passenger under 16 years is wearing seatbelt Driver failing to ensure passenger under 16 years is occupying a position with a seatbelt Using appropriate pursuit tactics If you fail to pull over for the police, the AI will go into an aggressive version of the "Chase" AI, using the appropriate tactics when necessary. The use of spike strips and roadblocks offer some possibilities for ending chases safely, but officers often rely on something known as the Pursuit Intervention Technique, or PIT (also called Tactical Vehicle Intervention). The Pursuit Intervention Technique is a method of striking the fleeing vehicle in the rear corner, just behind the rear wheel. This will put the car into a spin from which the suspect will not be able to recover.. However, this is a potentially dangerous move, since it makes the suspect lose control. The road must be clear of traffic and the surrounding area clear of pedestrians before an officer can safely pull off a PIT maneuver.
This is a great way to lay it all out with full detail. Also thought about different class vehicles and their limitations on the road as well, down to the specifics (for example commercial van in NY classifies as no back or rear windows, no rear view mirror, and only front seats, and cannot run on the majority of parkways). Also, in Manhattan, several roads like 5th ave do not permit any turns from commercial vehicles from 7am-7pm. And as for any AI scripts involving visual observation, finding a way to emulate loss of sight distance from nightfall/fog can further achieve a further realistic experience during these conditions. A foggy city night undercover cop chase sounds like a hell of a time!
you must be a mind reader cause i had that exact idea yesterday when playing beamNG LOL. This is an excellent idea,It would make beamNG.drive cruising much more fun aswell as a bit scary.