Number of Blueprints: 5

  1. The Softlock component (BPC_Softlock)
  2. The Interface for the targets (BPI_Softlock)
  3. The Animation Notify (AN_Softlock)
  4. The Test-Hud-Widget (WB_HudWidget)
  5. The Selection Widget (WB_TargetSelection)

Network Replicated: No

Supported Development Platforms:

Windows: Yes

Documentation: Easy Combat Softlock Documentation

Important/Additional Notes:

  • This is no combat system! Its a target solution and should support you current combat system.
  • No animations included! The animations are only for demonstration!

蓝图数目:5

  1. 软锁组件(BPC_Softlock)
  2. 目标的接口(BPI_Softlock)
  3. 动画通知(AN_Softlock)
  4. Test-Hud-Widget(WB_HudWidget)
  5. 选择窗口小部件(WB_TargetSelection)

网络复制:没有

支持的开发平台:

Windows:是的

文件: 简易战斗软锁文档

重要/附加注意事项:

  • 这不是战斗系统! 它是一个目标解决方案,应该支持你当前的战斗系统。
  • 不包括动画! 动画仅用于演示!










Preview Video

​Preview Video – Update 1

Test Project (Version 1.0)

Join the discord for support.

The Easy Combat Softlock System, allows to search, rotate and move to a target with 5 different search types.

In contrast to the well-known hardlock system, the Easy Combat Softlock System only locks the target for a short moment and turns / moves the actor to the target.

This allowes a dynamic combat against multiple opponents without being tied to a single target, but still allows precise combat. Of course, it also works for single targets.

The system can be used via blueprints and also via animation notify. This allows you to search for your target in every animation for total control.

The system has been created for easy handling and needs only 2 minutes to set up.

Despite the simple handling, many settings are possible to adapt your combat system to all circumstances.

The double layer search system allows two search types to be actively used at the same time.

There are 5 search types:

  1. Area

  2. Actor look direction

  3. Camera look direction

  4. Input direction

  5. Last target

More details are in the documentation.

Features:

  • (NEW) New Target Type “Custom Target”

  • (NEW) Let your camera rotate to the target as well

  • (NEW) Predict your possible target and mark it with an widget or anything else

  • (NEW) Hardlock System that works hand in hand with all softlock settings and adds new settings to be flexible and easy to work with

  • (NEW) Every variable needed variable has a tooltip for a perfect understanding

  • 100% Blueprint

  • Easy setup and use

  •  Search for targets with 5 different search types

  •  Rotate the actor to the focused target

  •  (Optional): Moves the actor to the focused target

  • Double layer search system allows to use a secound search type, if the first one fails

  • Usable via blueprints and via animation notify

  • Default settings can be overrided at runtime via blueprint and via animation notify

Changelog

*** Update 4 (09.2024) ***

[Added] New Target Type: Custom Target

  • Allows to lock a softlock target, so that is fixed until you change it.

  • That also works well for AI, so that a target from the behavior tree or the focus target from the AI Controller can be used for the AI to softlock only to these targets and not calculate others that maybe a better target for that moment.

  • This target can be setted directly via a function or you can also use the softlock Interface to set the target to the system. The function is created in the interface already.

[Updated] Performance

  • Rewrote tick usage. Now tick is always off and only is active if hardlock mode is active. This is nessesary to prevent a good hardlock experience. All other functions are moved to other locations to make more performant.

  • Convert heavy functions with multible output pins from pure to normal functions, because pure functions triggers for each used output pin again. So we prevent that.

*** Update 3 (07.2024) *** (LAST UPDATE FOR VERSION 4.26!)

[Added] Event Dispatcher

  • Now allows the currently triggered target to be output via event dispatcher and the data to be processed better.

[Added] Debug Prints

  • For better visual recognition of which target the Softlock system has targeted

(Fixed) An error that occurs when the softlock target is already destroyed

*** Update 2 (04.2022) ***

[Added] Hardlock Target Switch

  • Now you can toggle your hardlock targets in different directions.

(Fixed] A widget error if your predicitve target is destroyed

*** Update 1 ***

[Added] Predicitve Targets

  • Show possible targets with the help of widgets based

  • Calculation based on the current Softlock-Settings in the component

  • Settings can easly changed at runtime

[Added] Camera Rotation

  • Rotate the camera to the current Softlock-Target

  • Settings can easly changed at runtime

  • Supports changes in the animation notifys as well!

[Added] Hardlock System

  • Lock on a specific target

  • Lock the camera and (optional) the character on the hardlock target

  • Mark the target with an widget / symbol to indentify the current target

  • Works hand in hand with the main softlock and its settings

  • Option to set the softlock target always to the hardlock target

  • Tolerance time for broken line of sight

  • Distance setting for disable the hardlock at a specific distance

Better tooltips

  • Add new tooltips boxes

  • Add new tooltips to all needed variables

  • Add notifys to mostly all of the blueprint nodes

预览视频

​预览视频-更新1

测试项目 (版本1.0)

加入 不和谐 供支持。

简单的战斗软锁系统,允许搜索,旋转和移动到一个目标与5个不同的搜索类型。

与众所周知的hardlock系统相反,Easy Combat Softlock系统只锁定目标一小段时间,并将actor转向/移动到目标。

这允许对多个对手的动态战斗,而不被束缚在一个单一的目标,但仍然允许精确的战斗。 当然,它也适用于单个目标。

该系统可以通过蓝图使用,也可以通过动画通知使用。 这使您可以在每个动画中搜索目标以获得完全控制。

该系统是为易于操作而创建的,只需2分钟即可设置。

尽管操作简单,但许多设置都可以使您的战斗系统适应所有情况。

双层搜索系统允许在同一时间主动使用两种搜索类型。

有5种搜索类型:

  1. 面积

  2. 演员看方向

  3. 相机看方向

  4. 输入方向

  5. 最后一个目标

更多详情请参阅 文件.

特征:

  • (新) 新目标类型”自定义目标”

  • (新) 让你的相机旋转到目标以及

  • (新) 预测你可能的目标,并用小部件或其他任何东西标记它

  • (新) 硬锁系统,与所有软锁设置一起工作,并添加新的设置,以灵活和易于使用

  • (新) 每个变量需要的变量都有一个工具提示,以获得完美的理解

  • 100%蓝图

  • 易于安装和使用

  •  使用5种不同的搜索类型搜索目标

  •  将actor旋转到聚焦目标

  •  (可选):将actor移动到聚焦目标

  • 双层搜索系统允许使用secound搜索类型,如果第一个失败

  • 可通过蓝图和动画通知使用

  • 默认设置可以在运行时通过蓝图复盖 并通过动画通知

更新日志

***更新4(09.2024) ***

[新增]新目标类型:自定义目标

  • 允许锁定softlock目标,直到您更改它为止。

  • 这也适用于AI,因此来自行为树的目标或来自AI控制器的焦点目标可用于AI仅对这些目标进行软锁定,而不是计算其他可能是该时刻更好的目标。

  • 该目标可以通过函数直接设置,也可以使用softlock接口将目标设置为系统。 该函数已在界面中创建。

[更新]工作表现

  • 重写蜱的用法. 现在tick总是关闭,只有在硬锁模式处于活动状态时才处于活动状态。 这是nessesary,以防止良好的硬锁体验。 所有其他功能被移动到其他位置,以使更多的性能。

  • 将具有多输出引脚的重函数从纯函数转换为普通函数,因为纯函数再次触发每个使用的输出引脚。 所以我们防止这种情况发生。

***更新3(07.2024) *** (版本4.26的最后更新!)

[添加]事件调度器

  • 现在允许通过事件调度器输出当前触发的目标,并更好地处理数据。

[添加]调试打印

  • 为了更好地识别软锁系统的目标

(固定) 已销毁softlock目标时发生的错误

***更新2(04.2022) ***

[新增] 硬锁目标开关

  • 现在,您可以在不同的方向切换您的硬锁目标。

(固定]如果您的predicitve目标被销毁,则小部件错误

***更新1 ***

[新增] 预测目标

  • 在基于小部件的帮助下显示可能的目标

  • 基于组件中当前软锁设置的计算

  • 设置可以在运行时轻松更改

[新增] 相机旋转

  • 将摄像机旋转到当前Softlock-Target

  • 设置可以在运行时轻松更改

  • 也支持动画通知的变化!

[新增] 硬锁系统

  • 锁定特定目标

  • 锁定摄像机和(可选)硬锁目标上的角色

  • 用小部件/符号标记目标以识别当前目标

  • 与主软锁及其设置携手合作

  • 将软锁目标始终设置为硬锁目标的选项

  • 视线断裂的容忍时间

  • 在特定距离禁用硬锁的距离设置

更好的工具提示

  • 添加新的工具提示框

  • 为所有需要的变量添加新的工具提示

  • 将通知添加到大部分蓝图节点

声明:本站所有资源都是由站长从网络上收集而来,如若本站内容侵犯了原著者的合法权益,可联系站长删除。