Formation System v2
A system for implementing formations and easily allowing characters to move in formation.
The Formation System allows you to easily add formations to your game. Make AI characters follow you in formation, make groups move in formation, or use for any situation where you need characters to move relative to each other.
Current Version 2.5.3
Version 2.5.3:
- Updated compatibility to UE 5.3
Version 2.5.2:
- Updated compatibility to UE 5.2
Version 2.5.1:
- Updated compatibility to UE 5.1
- Added Member validation checks during UpdateMembers
- Added Group validation check during DisbandFormationGroup
- Made sure CreateFormationGroup can only be called by the Authority.
- Added CreateFormationGroupWithLeader function that returns the group.
- Added CreateFormationGroupPinned function to create groups without a leader.
Version 2:
A complete rewrite from the ground up to include multiplayer capabilities, make it easier to use and add suggested features like formation spread. The example project now includes an RTS example.
Updated for UE5.
Technical Details
Features:
- Formations Manager for central formation and group management
- Formation Component for formation members and convenient system access.
- Custom formations
- Variable sized formations
- Easily change formation at runtime.
- Use from either Blueprint or C++
Code Modules:
- FormationSystem (Runtime)
Number of Blueprints: 1
Number of C++ Classes: 4
Network Replicated: Yes
Supported Development Platforms: Windows, Linux (See notes below)
Supported Target Build Platforms: Win32, Win64, Linux (See notes below)
Documentation: https://codesquirl.github.io/FormationSystem/
Example Project: https://github.com/codesquirl/FormationSystemExample
Important/Additional Notes:
This plugin should work for most platforms and build targets, but has only been tested on Windows and cross-compiled for Linux. Feedback on other platforms would be appreciated, and I would be happy to work with you to resolve any issues that may arise in supporting additional platforms.