Bullet Spread Plugin

Click to expand
Unreal EngineUnreal Engine
C++C++
BP
UE Blueprints
EUW
Editor Utility Widgets
Description

Bullet Spread Plugin (BSP) provides developers with tools to easily create and implement patterned or random bullet spread patterns for weapons, eliminating the tedious process of manually defining spread offsets without any visual feedback.

Technical Details

BSP is built around two core systems, the Spread Creator and the Spreader functions. The Spread Creator is a custom Editor Utility Widget that lets you define bullet spread patterns in real time by placing bullets on a grid and storing the results as a Data Asset. The Spreader functions are C++ functions exposed to blueprint, organized into a Blueprint Function Library that reads those assets at runtime to calculate bullet trajectories. 

Patterned spreads support both ordered and random shot page cycling. Spread angle and per-bullet deviation are fully configurable.

Features

• BSP Spread Creator – a real-time GUI for visually designing bullet spread patterns by placing bullets on a grid
• Patterned Spreads – user defined spread shapes built in the Spread Creator, cycling through shot pages sequentially or randomly
• Random Spreads – generate random bullet spreads in a cone using a configurable deviation probability curve
• Per-Bullet Deviation – add randomness on top of fixed patterns without modifying the underlying spread data
• Trace and Projectile Support – separate spreader functions for both trace and projectile based weapon systems
• Blueprint Function Library – C++ spreader functions exposed to BP for straightforward implementation
• Bullet Impact FX – included sci-fi bullet hole decals and Niagara particle system for bullet impacts