Jump to content

Automatic Roadblocks 0.8.1

Deploy automatic roadblocks or spike strip during pursuits, place a configurable manual roadblock or traffic redirection
   (16 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
yoep

You may also like

  • Emergency Lighting System

    Emergency Lighting System V brings one of the most popular modifications ever created for a GTA title (ELS-IV) to Grand Theft Auto V. ELS-V will add a whole new dimension to  your patrols. With a fresh look and many more features than its predecessor, it's also sure to brighten up your game and satisfy the emergency lighting enthusiast in anyone.   DESCRIPTION − ELS provides an alternate and incredibly in-depth way of controlling emergency vehicle lights and sounds. − ELS requires
    Lt.Caine

    By Lt.Caine

    Updated

    • 4.4m
  • LSPD First Response

    The LSPD First Response modification
    G17 Media

    By G17 Media

    Updated

    • 17.6m
  • SuperCallouts

    SuperCallouts - 38 new detailed and uniform callouts.
    SuperPyroManiac

    By SuperPyroManiac

    Updated

    • 1.5m
  • Callout Interface

    Interface with callouts.
    opus49

    By opus49

    Updated

    • 383.3k
  • Emergency uniforms pack - Law & Order

    https://www.patreon.com/alex_ashfold
    Alex_Ashfold

    By Alex_Ashfold

    Updated

    • 4m
  • ELS CONVERSION FOR RDE, RDE EXPANDED & ENHANCED AND RDE MORE AGENCIES

    ELS FOR RDE, RDE E&E AND RDE MORE AGENCIES
    Mr.Purge

    By Mr.Purge

    Updated

    • 439
  • User Feedback

    Recommended Comments



    11 hours ago, yoep said:

    @KnightHawkOne You're crash is caused by the LSPDFR api. I'll have to do a check to see if something in the background changed.

     

    @unitedOrange66 Are you sure that you uploaded the correct log file? I cannot find any crashes of the plugin with a "[ERROR]" in the file.

    thank you!!!

    Link to comment
    Share on other sites

    • Community Team

    When I was requesting a roadblock in an active pursuit via PoliceSmartRadio, I encountered this error below: 

     

    I'm not quite sure what was the cause, if anyone or the plugin author knows, please take a look, I really appreciate it. 

    Spoiler

    [1/14/2023 9:51:13 PM.186] LSPD First Response: Automatic Roadblocks: [WARN] Failed to traverse road, unable to find next node after Position: X:2285.577 Y:2179.466 Z:77.73511, Heading: 309.7533, LanesInSameDirection: 0, LanesInOppositeDirection: 0, Density: 0, Flags: None (0) (tried 5 times)
    [1/14/2023 9:51:13 PM.187] LSPD First Response: Automatic Roadblocks: [ERROR] An unexpected error occurred in 'PoliceSmartRadioIntegration.DoRoadblockDeployment' thread, error: Sequence contains no elements
       at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
    [1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.Roadblock.Dispatcher.RoadblockDispatcher.DoInternalDispatch(ERoadblockLevel level, Vehicle vehicle, DispatchOptions options)
    [1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.Pursuit.PursuitManager.DoDispatch(Vehicle vehicle, Boolean userRequested, Boolean force, ERoadblockDistance roadblockDistance)
    [1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.Pursuit.PursuitManager.DispatchNow(Boolean userRequested, Boolean force, ERoadblockDistance roadblockDistance)
    [1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.AbstractionLayer.Implementation.RageImpl.<>c__DisplayClass10_0.<NewSafeFiber>b__0()

     

     

    On 1/12/2023 at 1:38 PM, yoep said:

    @unitedOrange66 Are you sure that you uploaded the correct log file? I cannot find any crashes of the plugin with a "[ERROR]" in the file.

    Sorry about that, please disregard that as I crossed out my comment. The crash wasn't caused by this plugin. 

    Edited by unitedOrange66
    Link to comment
    Share on other sites

    15 minutes ago, cristian304 said:

    Dopo il nuovo aggiornamento, il gioco si blocca e si blocca in the loading plugin

    Translated via Google from italian:

    "After the new update, the game crashes and hangs in the plugin loading"

    Link to comment
    Share on other sites

    Since the new update my game freeze while going on duty at the step of loading this plugin...

    Here is the log info

    20230115_154428.jpg

    1 hour ago, Officerporci said:

    game freeze when force duty for the current version

    same issue, it freeze when you force duty and also when you go on duty by the police station

    Link to comment
    Share on other sites

    Once you attempt to go "on duty" the whole game freezes without any error message.  Can't even close the game via the task manager. Have to literally sign out of my computer to shut it down. Removed the files, and the game/all other plugins work fine. 

    Link to comment
    Share on other sites

    Hi there. I'm currently running 0.6.0, due to the problems listed above. Earlier, I had a pursuit that ended in a roadblock on the highway, this roadblock I created by the "Dispatch Now" command. I couldn't clear it though, even though I used the clear instances command via Cntrl+C, as well as though the menu. Not long after that the game crashed.20230116195258_1.thumb.jpg.2eb46f9997f1a08785dc5398186dbc27.jpg

    RagePluginHook.log

    Link to comment
    Share on other sites

    • Community Team
    5 hours ago, marvinblue said:

    Hi there. I'm currently running 0.6.0, due to the problems listed above. Earlier, I had a pursuit that ended in a roadblock on the highway, this roadblock I created by the "Dispatch Now" command. I couldn't clear it though, even though I used the clear instances command via Cntrl+C, as well as though the menu. Not long after that the game crashed.

    Can confirm this "bug" with "clear all" feature. 

     

    What I noticed is most of the time the roadblocks will be cleared by itself, but sometimes it will left a few police cars with lights on. Upon applying the "clear all" command via PoliceSmartRadio or press the keybind, nothing happens.  

    Link to comment
    Share on other sites

    I've started investigation on the freeze within the 0.7.0 version.

    Additional logs would be welcome to help the investigation.

     

     

    3 hours ago, unitedOrange66 said:

    Can confirm this "bug" with "clear all" feature. 

     

    What I noticed is most of the time the roadblocks will be cleared by itself, but sometimes it will left a few police cars with lights on. Upon applying the "clear all" command via PoliceSmartRadio or press the keybind, nothing happens.  

     

    Once a roadblock has been hit/bypassed or the pursuit has ended, all vehicles and cops are released from the plugin and handed back to LSPDFR.

    The persistence state on the units is also removed and handed back over to the Game's cleanup manager.

    This means that invoking the cleanup through the plugin does indeed no longer clean those units are they're no longer being tracked anymore.

    22 hours ago, Daniel Harrelson said:

    One thing on this the Newest RadenavitiveUI.dll is 1.9.1.0  the mod  I dont have the 0.2.1 as metioned above but this   I believe has to be updated for this to work.

     

    Releases · alexguirre/RAGENativeUI (github.com)  I only see 1.9.1.0

     

    Having version 1.9.0.0 of the RageNativeUI should be sufficient for the plugin to work.

    Link to comment
    Share on other sites

    13 hours ago, yoep said:

    I've started investigation on the freeze within the 0.7.0 version.

    Additional logs would be welcome to help the investigation.

     

     

     

    Once a roadblock has been hit/bypassed or the pursuit has ended, all vehicles and cops are released from the plugin and handed back to LSPDFR.

    The persistence state on the units is also removed and handed back over to the Game's cleanup manager.

    This means that invoking the cleanup through the plugin does indeed no longer clean those units are they're no longer being tracked anymore.

     

    Having version 1.9.0.0 of the RageNativeUI should be sufficient for the plugin to work.

    No problems. I'll update RageNativeUI and see what happens.

    Link to comment
    Share on other sites

    i installed the plugin, but when i used the menu by pressin "X" it didn't work, meanwhile when i pressed "Z" the roadblocks worked, the problem for me is only the menu that doesn't display, any way to fix it?

    buger4.png

    Link to comment
    Share on other sites

    On 1/30/2023 at 9:32 PM, Lucki said:

    i installed the plugin, but when i used the menu by pressin "X" it didn't work, meanwhile when i pressed "Z" the roadblocks worked, the problem for me is only the menu that doesn't display, any way to fix it?

    buger4.png

     

    Hi

     

    Please use the included RageNativeUI version of 1.9.0+ as the error shown indicates you're using an older version.

    Link to comment
    Share on other sites

    On 1/16/2023 at 6:03 PM, yoep said:

    Once a roadblock has been hit/bypassed or the pursuit has ended, all vehicles and cops are released from the plugin and handed back to LSPDFR.

    The persistence state on the units is also removed and handed back over to the Game's cleanup manager.

    This means that invoking the cleanup through the plugin does indeed no longer clean those units are they're no longer being tracked anymore.

    @tando26278Check out this recent post. I think, this is your answer.

     

     

    Link to comment
    Share on other sites

    1 hour ago, FelixAB1988 said:

    @tando26278Check out this recent post. I think, this is your answer.

     

     

    my problem is the manual placement roadblock, when i remove its just only remove the barriers, not cars, cars is still there

     

    Link to comment
    Share on other sites

    On 2/13/2023 at 12:33 PM, tando26278 said:

    my problem is the manual placement roadblock, when i remove its just only remove the barriers, not cars, cars is still there

     

    Hi

     

    Sorry for the late response.

    This is the exact same flow for the manual placed roadblocks. However, this is a bug as I forgot that when Cops are disabled, nobody is driving away with the vehicles, so they stay in-place.

    This bug was however fixed and released with version 0.7.0 in which they would be instantly removed if Cops were disabled for manual roadblocks or the Cops would otherwise drive away with them.

    Link to comment
    Share on other sites


    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...