https://github.com/yoep/automaticroadblock
Automatic roadblock plugin for LSPDFR
https://github.com/yoep/automaticroadblock
Last synced: 8 months ago
JSON representation
Automatic roadblock plugin for LSPDFR
- Host: GitHub
- URL: https://github.com/yoep/automaticroadblock
- Owner: yoep
- License: gpl-3.0
- Created: 2022-07-08T10:08:44.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-05T10:40:57.000Z (about 2 years ago)
- Last Synced: 2025-10-04T15:49:01.922Z (8 months ago)
- Language: C#
- Size: 45.3 MB
- Stars: 6
- Watchers: 1
- Forks: 6
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automatic Roadblocks


[](https://www.gnu.org/licenses/gpl-3.0)
Automatic Roadblocks allow 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.
## Features
- Automatic roadblock placement during pursuits
- Roadblock hit/bypass detection
- Roadblock cops automatically join the pursuit after a hit/bypass
- Request a roadblock during a pursuit
- Dynamic roadblocks with light sources during the evening/night
- Manual configurable roadblock placement
- Configurable traffic redirection
- Spike strips
- Junction roadblocks
## API/plugin integration
Plugins can use the [Functions](AutomaticRoadblock/API/Functions.cs) for available APIs.
## Development
### Dependencies
- NuGet
- .NET 4.8 SDK
- Rage Plugin Hook SDK
- Rage Native UI
- LSPDFR SDK 4.9+
- Make
### Getting started
To get started using this project, do the following steps.
1. Download all Nuget packages through the `restore` target
```bash
make restore
```
2. Try to compile the project
This target compiles a debug version of the application and copies the binaries to the Build directory.
```bash
make build
```
Use the `build-release` target to create a release version of the application.
```bash
make build-release
```
3. Run the project tests (always in Debug config)
```bash
make test
```