- This Plugin create the base shooting flow framework, and implements the main shooting types.
Features
- C++ implementation of base Shoot flow framework
- Aim system (just add a component and implements a interface)
- C++ implementation of Scan for Laser, Missile, Launcher
- The missile targets are evaluated and the best target is selected by different scoring system
- The Launcher supports the prediction path and attacks the specified target
- Laser presentation implementation in blueprint
- Launcher presentation implementation in blueprint
- Missile presentation implementation in blueprint
- Cannon(normal weapon) presentation implementation in blueprint
- Target Unit in blueprint
- Tank Unit in blueprint
- Character Unit in blueprint
- Tank Controller in blueprint and c++
- Character Controller in blueprint
- Weapons are loaded by DataTable
- Character and Tank use the same weapon system and data
- Character and Tank use mesh sockets to make weapon difference
Steps
- Enable the Plugin and Restart
- Create Object Collision Type
Settings
->Collision
New Object Channel
: Name ->Bullet
- Add Input Action
Shoot
: Space/LMouse ButtonSwitchWeapon
: Q
- Add Input Axis
MoveRight
: A/DMoveForward
: W/SAimRight
: H/KAimForward
: U/J
- Set
Show Plugin Content
in theView Options
ofContent Browser
(Right Down Cornner) - Set GameMode and Map
Settings
->Maps & Modes
Default GameMode
->BP_BMGameMode
Editor Startup Map
->BMWeaponExamleMap
- Open Map
- Click [the Brow to
BMWeaponExamleMap
in the Content Browser] (Right Cicle Icon)
- Click [the Brow to