Skip to content

yoep/AutomaticRoadblock

Repository files navigation

Automatic Roadblocks

Build Version License: GPL v3

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 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
make restore
  1. Try to compile the project

This target compiles a debug version of the application and copies the binaries to the Build directory.

make build

Use the build-release target to create a release version of the application.

make build-release
  1. Run the project tests (always in Debug config)
make test