I've put together a simple script which can be used to role-play a road-side breath test. A traffic stop isn't complete without a breath test!
At the minute the test will work anywhere close to a vehicle with a driver and the results will show up as text to the top of the screen. It doesn't look great I know but unfortunately I'm not sure how to have text display elsewhere yet. The limit is set to the real limit in the UK, namely 35 microgrammes of alcohol per 100 millilitres of breath. If a driver blows over the limit (36+) there is a chance they will attempt to flee from you. You can change the limit and the type of test (US or UK) in the ini file. The US test will show a percentage of BAC.
Things I'd like to change:
- Set keys in ini file Completed in Version 1.5+!
- Use pictures (from the MDC) in-game of a breath testing kit with a different display for each result
- If not pictures, have results show as text somewhere else on screen
- Start only if you're stood beside the driver's door
Traffic management
I've also included three extra commands in the script, one to stop the closest vehicle, one to allow the closest vehicle to drive on and another to allow any vehicles you stop to drive on. If you stop a vehicle in this manner, vehicles to the rear will not attempt to haphazardly over-take, they will queue up and wait. Gone are the days of large-scale incidents being infested by horrible AI driving trying to do everything in their power to get in your way!
Further details in the included Read.txt file.
NOTE ON STOPPING VEHICLES: You must be on foot and close to (~5 metres) the vehicle you wish to stop with this script. It will NOT work whilst you're in a vehicle as it is not intended to replace the LCPDFR traffic stop feature. Rather it's purpose is to assist you in keeping traffic stopped and out of the way of your incident.
What's New in Version 1.6
Released
- --1.6:
- Slight change in the way cars are stopped
- --1.5:
- -Added ability to customise keys in .ini file
- -Drivers will now more likely be under the influence during evening and night time hours
- -Further improved the test probability and stopping vehicles
- -Enhanced animations
- -Fixed most errors/reasons for crashes
- --1.2:
- -Lowered the failure probability
- -Improved ALT+G and SHIFT+U also added SHIFT+I
- -SHIFT+U will now allow the closest stopped vehicle to move
- -SHIFT+I will allow all stopped vehicles to move
- --1.1:
- -Updated the US test to round result to two decimal places
- -Fixed a few things in relation to crashes
Recommended Comments
Create an account or sign in to comment