Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FireLane — Friendly Fire & Line-of-Fire Gate

Unreal Engine 5.8 · Win64 · one runtime C++ module · Blueprint-first · full source

Is one of my own people standing in that shot?

Every AI shooter with allies needs the answer and almost all of them get it from a single line trace, which is wrong three ways at once: a bullet has width, a team-mate walks, and the answer arrives one frame late.

FireLane sweeps a lane of the projectile's real danger radius from muzzle to target, projects every friendly forward along its own velocity so the shot is judged against where people will be, and separates a hard block from a graze so the AI is neither reckless nor mute.

When the lane is blocked it does not just say no. It returns the sideways step that would clear it, and how long the blocker needs to walk out on his own — so the squad moves instead of standing there.

Install in five minutes

  1. Add a Fire Lane component to anything that shoots. Set its Team Id.
  2. Register the player pawn with Register Friendly.
  3. Call Can Fire (Target) before you pull the trigger.

What is in the box

  • UFireLaneComponent — the gate, with muzzle socket, team id and per-weapon overrides
  • UFireLaneSubsystem — the registry of who counts as ours, and the per-frame trace budget
  • UFireLaneStatics — the rules as pure functions, usable from EQS, a decorator or an ability
  • UFireLaneSettings — Project Settings → Plugins → FireLane
  • A demo level that runs without pressing play
  • Five automation tests over the rules that fail quietly

Documentation

https://wiki.teufel-engineering.com/en/FireLane/documentation

Support

teufelsilvan@gmail.com

Copyright 2026 Silvan Teufel. All Rights Reserved.

🛒 Source-available — see before you buy

This repository contains the full source of a commercial Unreal Engine plugin. It is source-available, not open source: read it, evaluate it, then buy a license to use it. See the Fab Content License Agreement / Unreal Engine EULA (purchase required).

Get it / Buy:

📬 Free UE5 Snippet-Pack

10 ready-to-use C++/Blueprint building blocks (subsystems, versioned saves, async nodes, editor tooling) — MIT licensed. Get it by joining the newsletter — plus a heads-up when something new ships. Double opt-in, unsubscribe in one click, no address sharing.

👉 Get the free pack

© 2026 Silvan Teufel. All rights reserved.

About

Friendly fire and line-of-fire gate for Unreal Engine 5 AI - a swept lane of the projectile's real danger radius instead of one line trace, every friendly projected forward along its own velocity so the shot is judged against where people will be, a hard block told apart from a graze, and the sideways step that clears the lane.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages