Hard Lock Target

Orcenhaze - Code Plugins - Aug 9, 2024
8
4.88 out of 5 stars(8 ratings)
  • 88%
  • 13%
  • 0%
  • 0%
  • 0%

Soulslike target hard-locking camera system

  • Supported Platforms
  • Supported Engine Versions
    4.27, 5.0 - 5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.


Epic Games are switching to FAB and publishers are no longer able to upload new versions on the UE Marketplace. This means downloading the plugin from here could give you an out-of-date version.

Once FAB is launched, I will put a link here to redirect you to the new page.



NOTE: I believe in keeping things simple. The basis for these target-locking systems is the souls games, and so this plugin upholds that basis with minimal amount of code. Anything beyond that will be specific to your use-case and supporting it will add complexity to the plugin which will make it harder for users to work with and harder for me to maintain. So because it is simple, you can jump right into the C++ source code and modify things if necessary; there are only 2 classes and everything is well commented. There's a section in the text documentation that shows you how to modify and build the plugin.


Thanks to UnHolyDarKness for helping out with the testing.

Technical Details

Features:

  • Works with C++ and Blueprints.
  • Use any widget class you want as a lock indicator (without labor).
  • Hard-lock specific sockets trivially (without manually entering socket names).
  • Responsive target switching in 4 directions.
  • Automatically makes sure the player model doesn't obstruct camera view.
  • Automatically handle vertically aligned targets.
  • Customize basic behavior.
  • Actually simple and easy to setup.


Code Modules:

  •  HardLockTargetPlugin - Runtime


Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Windows, MacOS, Linux

Supported Target Build Platforms: Windows, MacOS, Linux

Documentation: See link above.

Example Project: See link above.