Target System Component Plugin

Average Rating:  
X Rating Failed

An UE4 plugin written entirely in C++ which adds support for a simple Camera Lock On / Targeting system.

  • Supported Target Platforms
  • Supported Engine Versions
    4.21

Description


An UE4 plugin written entirely in C++ which adds support for a simple Camera Lock On / Targeting system.

It was first developed and tested in Blueprints, and then converted and rewritten into a C++ module and plugin.


Documentation: Code repository / Setup and Installation


Thanks and Credits:


- To the people over at http://www.lurendium.com for their amazing tutorials (Part 1, Part 2, Part 3)

- To Rayziyun on youtube (https://youtu.be/gaULDBoG_oE)

- To Grzegorz Szewczyk for his awesome Dynamic Targeting component


All of these were a great source of inspiration. Thanks a lot for their work.

Technical Details


Features:

  • Customizable with a set of options that can be overridden in Blueprints.
  • Easy setup: only one Actor component to attach and a minimum of one functions to bind to input.
  • Target closest enemy (Pawns by default, customizable with TargetableActors UPROPERTY).
  • Break on Line of Sight when getting behind an object.
  • Break Target when getting outside minimum distance to enable.
  • Simple TargetLockedOn Widget included, can be customized / overridden.
  • Option to control character rotation when locked on.
  • Switch to new target with axis input (on mouse / gamepad axis movement).
  • Two Blueprint implementable events on component on Target Locked On and Off.


Code Modules:

  • TargetSystem (Type: Runtime, LoadingPhase: Default, Platforms: Win64, Win32)


Number of Blueprints: 1

Number of C++ Classes: 4

Network Replicated: No

Supported Development Platforms: Windows

Supported Target Build Platforms: Windows

Supported Development Platforms: Windows

Supported Target Build Platforms: Win64, Win32


Important/Additional Notes: This plugin was developed with ease of use in mind, and quick setup. It is customizable through a set of options, but this could be further enhanced.

Comments

!

Previous Next
  • Edit
  • Preview
  • Help
Enter
Login to comment
X Report this Comment
Report
X Attention


close
X Edit this Comment
  • Edit
  • Preview
  • Help
Update
X Remove this Comment

Are you sure you want to remove this comment?

Remove
X Attention