Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatic Roadblocks 0.8.1

(17 reviews)

16 Screenshots

Automatic Roadblocks

Automatic Roadblocks allows the dispatching of roadblocks during a pursuit based on a selected pursuit level.

When roadblocks are deployed, custom scanner audio is played as well as for the indication that the pursuit level is automatically increased.

Next to automatic roadblocks, it allows you to place configurable manual roadblocks and traffic redirections.

 

Leave improvements, issues or feature requests in the comments.

 

Audio levels have been decreased as of version 0.8.0, please update all files provided in this plugin under "lspdfr/audio".

 

Features

  • Automatic roadblock placement during pursuits
  • Roadblock cops automatically join the pursuit after a hit/bypass
  • Request a roadblock during a pursuit
  • Manual configurable roadblock placement
  • Configurable traffic redirection
  • Spike strips
  • Junction/intersection roadblocks
  • Police SmartRadio integration
  • Grammar Police integration
  • Road closure

 

Planned Features

Spoiler
  • More scenery variations within the roadblocks
  • Additional scenery such as other emergency vehicles (Fire & EMS) to manual roadblock placements/traffic redirection

 

Requirements

  • LSPDFR 0.4.9.0+
  • RageNativeUI 1.9.0.0+ (provided in ZIP)

 

Automatic roadblocks

Automatic roadblocks are deployed automatically or requested by the player during a pursuit.

Each roadblock is dynamically created based on the road location where it is deployed (no prefabs are used).

 

Each roadblock level has a unique setup and variation which makes it more difficult to pass the higher the level is.

image.thumb.png.a20a1ade1e50234cbf4e8d254ac03b93.png

 

Evening/night - Lights

Lights will be automatically placed within the roadblock during the evening/night.

This option can be disabled in the config file.

 

Automatic roadblock level increases

The levels of the roadblock are automatically increased based on the following conditions:

Spoiler
  • The duration of the pursuit
  • The total number of roadblocks deployed for the pursuit
  • If the suspects are shooting
  • Number of cops killed by the suspects

 

Roadblock levels

The roadblock levels are now fully customisable to your liking.
For more info, see the plugins/LSPDFR/Automatic Roadblocks/data/roadblocks.xml

 

Manual placement

Deploy a custom configured roadblock (outside of pursuits) through the in-game menu.

The manual placement option allows different variants of barriers, lights and vehicles.

 

image.thumb.png.6b7e5cb4950704076719b06eb29eb58c.png

 

Redirect traffic

Create a configurable traffic redirection for the current lane.

This will not close the road but redirect traffic to the next lane or around the location.

 

image.thumb.png.240b8c940a646933c8bce15e54e411f0.png

 

Close road

Close the current road for any traffic with roadblocks along the road or close the nearby intersection.

This feature will be expanded in the future with additional scenery items. 

 

---

Automatic Roadblocks is open source: https://github.com/yoep/AutomaticRoadblock

Feel free to contribute to the project 🙂 

 

Edited by yoep

What's New in Version 0.8.1

Released

Features

  • Added Italian translation provided by @cristian304
  • Added Russian translation provided by INTEGRA-2200 

 

Bugfixes

  • Updated RageNativeUI dependency to latest version
  • Fixed an issue with the integrations not loading correctly

Short Description

Deploy automatic roadblocks or spike strip during pursuits, place a configurable manual roadblock or traffic redirection

User Feedback

Recommended Comments

waynieoaks

Members

Hi 

 

Thanks for the temporary fix of the  modified backup unit issue. Unfortunately now while cars are now OK I am getting multiple cops with manual placement that don't go away when you remove the road blocks. 

 

Rage Plugin Hook attached mentions:
 

[10/14/2022 6:04:56 PM.377] LSPD First Response: Automatic Roadblocks: [ERROR] Failed to create instance slot, Index was out of range. Must be non-negative and less than the size of the collection.
[10/14/2022 6:04:56 PM.377] Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.DoInternalOutfitVariation(Ped ped, PedData pedData) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 197
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveCop(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 82
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.RedirectTraffic.RedirectTraffic.CreateCop(Vector3 position, Single heading) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\RedirectTraffic\RedirectTraffic.cs:line 253
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.RedirectTraffic.RedirectTraffic.<InitializeCop>b__59_0(Vector3 position, Single heading) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\RedirectTraffic\RedirectTraffic.cs:line 231
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.Instances.InstanceSlot.Spawn() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Instances\InstanceSlot.cs:line 92
[10/14/2022 6:04:56 PM.377] LSPD First Response: Automatic Roadblocks: [WARN] Created a 'null' instance for AutomaticRoadblocks.Instances.InstanceSlot: Type: CopPed, Position: X:446.3078 Y:-2000.167 Z:22.05746, Heading: -136.6847

 

RagePluginHook.log

yoep

Members Author

1 hour ago, waynieoaks said:

Hi 

 

Thanks for the temporary fix of the  modified backup unit issue. Unfortunately now while cars are now OK I am getting multiple cops with manual placement that don't go away when you remove the road blocks. 

 

Rage Plugin Hook attached mentions:
 

[10/14/2022 6:04:56 PM.377] LSPD First Response: Automatic Roadblocks: [ERROR] Failed to create instance slot, Index was out of range. Must be non-negative and less than the size of the collection.
[10/14/2022 6:04:56 PM.377] Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.DoInternalOutfitVariation(Ped ped, PedData pedData) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 197
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.Lspdfr.LspdfrDataHelper.RetrieveCop(EBackupUnit unit, Vector3 position) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Lspdfr\LspdfrDataHelper.cs:line 82
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.RedirectTraffic.RedirectTraffic.CreateCop(Vector3 position, Single heading) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\RedirectTraffic\RedirectTraffic.cs:line 253
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.RedirectTraffic.RedirectTraffic.<InitializeCop>b__59_0(Vector3 position, Single heading) in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\RedirectTraffic\RedirectTraffic.cs:line 231
[10/14/2022 6:04:56 PM.377] at AutomaticRoadblocks.Instances.InstanceSlot.Spawn() in D:\projects\github\AutomaticRoadblock\AutomaticRoadblock\Instances\InstanceSlot.cs:line 92
[10/14/2022 6:04:56 PM.377] LSPD First Response: Automatic Roadblocks: [WARN] Created a 'null' instance for AutomaticRoadblocks.Instances.InstanceSlot: Type: CopPed, Position: X:446.3078 Y:-2000.167 Z:22.05746, Heading: -136.6847

 

RagePluginHook.log 525.3 kB · 1 download

 

Thanks for reporting the issue.

A hotfix has been foreseen with a workaround in 0.5.4 and will be fully fixed in the near-future.

waynieoaks

Members

1 hour ago, yoep said:

 

Thanks for reporting the issue.

A hotfix has been foreseen with a workaround in 0.5.4 and will be fully fixed in the near-future.

 

Thank you for being so quick 🙂

 

Seriously this plugin is one of my "must haves" in the game 🙂

r000

Members

(edited)

Sometimes the spike strips deploys after the suspect passes, and retracts too late for pursuing units

Can slowmo be activated while using manual placement like weapon switch?

Edited by r000

JBin818

Members

I'll check this out.  When  I request roadblock from Ultimate Backup it seems to always put the Block on the wrong road.  Like the road next to the pursuit.  I always get that Roadblock ineffective notice.  It's like, yeah no kidding, you put it on the wrong road.  Hopefully this will work better.  I want to request roadblock while in pursuit.  I probably wouldn't be interested in the manual Block but I'll explore it. 

TimHnk

Members

Hello,

 

Firstly, thank you for your mod, it's one of my favorite lsdpfr plugins ever. Amazing work!

 

But there are quite a few bugs i have to report.

 

1. On high speed chases the roadblock takes too long to load in, you see the symbol on the gps, drive trough there but there actually isnt a roadblock yet, it only spawns after a few seconds, making them useless. Making loading times quicker somehow or make them spawn farer away on high ways would probably solve this.

 

2. This mod works really well in the city and actually blocks of the road, but on high ways they only cover a small area and leave a huge open space, mostly in the middle.

 

3. Often the cops spawned on the roadblocks are frozen and wont move or wont do anything.

 

4. As I said, they frequently dont move, but when they do they mostly dont pull out their gun. Either they just stand around doing nothing or they have their flashlight pulled out for some reason. On one chase the npcs even started beating the suspect up with the flashlight instead of arresting him with their guns. (If you plan to fix this you should also make sure that the roadblock npcs shoot and kill the suspect if violence is "forced on" trough the pursuit menu and only try to arrest if it's off or automatic)

 

 

 

Thank you

drsnyder86

Members

This mod is awesome. It works great with not many issues. Also, it works much better if you guys use cars with lower polygon counts or try to keep your vehicles under 20MB

yoep

Members Author

(edited)

On 10/18/2022 at 8:55 AM, TimHnk said:

Hello,

 

Firstly, thank you for your mod, it's one of my favorite lsdpfr plugins ever. Amazing work!

 

But there are quite a few bugs i have to report.

 

1. On high speed chases the roadblock takes too long to load in, you see the symbol on the gps, drive trough there but there actually isnt a roadblock yet, it only spawns after a few seconds, making them useless. Making loading times quicker somehow or make them spawn farer away on high ways would probably solve this.

 

2. This mod works really well in the city and actually blocks of the road, but on high ways they only cover a small area and leave a huge open space, mostly in the middle.

 

3. Often the cops spawned on the roadblocks are frozen and wont move or wont do anything.

 

4. As I said, they frequently dont move, but when they do they mostly dont pull out their gun. Either they just stand around doing nothing or they have their flashlight pulled out for some reason. On one chase the npcs even started beating the suspect up with the flashlight instead of arresting him with their guns. (If you plan to fix this you should also make sure that the roadblock npcs shoot and kill the suspect if violence is "forced on" trough the pursuit menu and only try to arrest if it's off or automatic)

 

 

 

Thank you

 

Hi

 

Thanks for reporting the issues, I'll provide fixes for them as soon as I can.

 

For point 2, I'm aware of it as it's regression which has been introduced by using raytracing for detecting the road.

However, I currently don't have an idea how I can fix it as it's related only to certain highways with a different texture in the middle.

 

For point 3, this is already a known issue which is caused by the outfit variation in the LSPDFR config.
A workaround has already been foreseen (but not yet released).

---

If you're curious about the progress of issues, you can find it here: https://github.com/users/yoep/projects/1

Edited by yoep

Mathox

Members

There is something really annoying is that when spike trips is deploy, the suspect who fleeing from police have the time to pass the road block because spike trips is being deploy too late like after 10 Seconds.

Pierruno

Members

Cops won't start the pursuit when the suspect bypassed the roadblock.

yoep

Members Author

1 hour ago, Pierruno said:

Cops won't start the pursuit when the suspect bypassed the roadblock.

 

I'm working on this issue/have a fix for it.

The only problem now is that intersection roadblock cops also join the pursuit which i'm still trying to fix so it wasn't released in this patch.

javier0911

Members

can you  make the cars  make a u turn when you  are blocking the entered road? sometimes they get stuck 

Pierruno

Members

On 10/22/2022 at 8:17 PM, yoep said:

 

I'm working on this issue/have a fix for it.

The only problem now is that intersection roadblock cops also join the pursuit which i'm still trying to fix so it wasn't released in this patch.

Okay cool 🙂 I'm waiting for it.

TimHnk

Members

Bug: With the redirect traffic roadblock the npc that spawned was glitched and had his whole inventory equipped. He was holding his gun, police stick and little led light to redirect traffic all in the same hand

Officerporci

Members

(edited)

Roadblocks are mostly spawned when the suspect is already passed 

 

Edited by Officerporci

Kobra911

Members

the plugin is working, so far everything is fine

Officerporci

Members

the files for the unit type in lspdfr/data folder (agency/inventory/backup) are read, but not the files in lspdfr/data/custom, so the officers are spawned with no eup uniform

yoep

Members Author

On 10/31/2022 at 10:05 AM, Officerporci said:

the files for the unit type in lspdfr/data folder (agency/inventory/backup) are read, but not the files in lspdfr/data/custom, so the officers are spawned with no eup uniform

 

Hi

 

This was indeed something I forgot when adding the officer customization feature to the plugin.

I'm currently still working on adding the custom data folder to the plugin to update the officer appearances. 

Officerporci

Members

5 hours ago, yoep said:

 

Hi

 

This was indeed something I forgot when adding the officer customization feature to the plugin.

I'm currently still working on adding the custom data folder to the plugin to update the officer appearances. 

thanks

 

Fhercho89

Members

Is it possible to?
Reduce Volume of radio speaking (when you dispatch a roadblock)

Keep moving the camera instead of the having cursor when opening the menu

yoep

Members Author

On 11/4/2022 at 12:32 AM, Fhercho89 said:

Is it possible to?
Reduce Volume of radio speaking (when you dispatch a roadblock)

Keep moving the camera instead of the having cursor when opening the menu

 

Hi

 

The radio audio is played through the LSPDFR functions which don't have an option within the code to reduce the volume.

The menu itself is RageNativeUI which also doesn't have an optionto hide the mouse.

luckyjohnny1

Members

(edited)

thank you for your work in this mod its great, can you maybe add a customizable vehicle file? thank you 

Edited by luckyjohnny1

Officerporci

Members

i set the inventory text file in lspdfr/data but  cops at roadblocks are still spawned holding a flashlight in their hands and no weapons

  • Community Team
3 hours ago, Officerporci said:

i set the inventory text file in lspdfr/data but  cops at roadblocks are still spawned holding a flashlight in their hands and no weapons

I think in the latest update that issue was not addressed: 

"What's New in Version 0.5.6

Released 16 hours ago

  • Fixed an issue in which case the highway was not fully covered
  • Fixed an issue in some cases where the roadblock wouldn't join the pursuit"

yoep

Members Author

7 hours ago, Officerporci said:

i set the inventory text file in lspdfr/data but  cops at roadblocks are still spawned holding a flashlight in their hands and no weapons

 

Hi

 

The Flashlight is always added by the plugin, even if it's not configured in the LSPDFR data.
(I should maybe remove this as there is no good reason for the flashlight as the plugin never actually uses it)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.