Need help with CoverGenerator-UE4?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

175 Stars 43 Forks MIT License 21 Commits 6 Opened issues


A dynamic cover point generator plugin for Unreal Engine 4.

Services available


Need anything else?

Contributors list

# 231,783
13 commits
# 560,290
1 commit
# 519,264
1 commit

Cover Generator

The cover generator is a plugin for Unreal Engine 4.

Example Covers

It analyzes the geometry of a level to find possible cover points. Cover points can then be parsed via the native Environment Query System (EQS) to allow AI controlled characters to find spots to hide during a fight or to prepare an ambush.

The system offers different set of information per generated cover such as if it is a crouched or standing cover, if the character can stand or lean on the sides to shoot.

The plugin is a proof of concept only. It is stable but not production ready, a lot could be optimized and a good cleaning is needed.

Example video of AI using the cover generator

Dynamic tactical cover generation coupled with a GOAP AI

How to use the cover generator?

  • Add the plugin to your project

  • The cover generator is using the native nav mesh bounds volume of a level to generate the covers, so if you do not already have one in the scene, add a nav mesh bounds volume to your level.

Add a nav mesh bound volume

  • You can see the generated navigation mesh by pressing 'P' on your keyboard.

Visualize the navigation mesh

  • Create a CoverGenerator blueprint and drop it in your level

Create a CoverGenerator blueprint

  • By default, the cover generator will generate the cover points on begin play. To visualize the generated points, click on the cover generator actor in your scene and tick the option "Debug Draw All Points"

Display generated cover points

  • Press the "simulate" button. You can see the result on the image below. Blue spheres represent cover points, the lowest ones for crouched covers, the highest ones for standing covers. Arrows are representing from where the character can see or shoot.

Simulating level

  • To be able to use the generated covers in your AI logic, first enable the Environment Query System: UE4 quick start guide

  • Create a new EQS query

Create a new EQS Query

  • Select "Cover FMemory" as a source of points

Cover FMemory

  • You can use an EQS Testing pawn to visualize the result

EQS testing pawn

How to get cover points from a Blueprint?

Blueprint Example

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.