来自《黄铜之城》与《流浪者》的免费内容现已上架

NPC Eyes Sight System - PRO. NPCs can see shadows!

Fly Dream Dev - 1月 11, 2021

This system uses points on the actor's skeletal mesh to pinpoint the actor. For example, the entire character can be behind a wall but part of his hand will look out from around the corner, then the NPC Eyes System will find him.

  • 支持的平台
  • 支持的引擎版本
    4.26
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Demo Video

Fly Dream Dev OTHER ASSETS


Update 1.0.1 - small fix.


System for the best stealth games!

This system uses points on the actor's skeletal mesh to pinpoint the actor. For example, the entire character can be behind a wall but part of his hand will look out from around the corner, then the NPC Eyes System will find him. This system works very realistically and will always find a character where PawnSensing can't handle it. You can add as many points as you want anywhere for your project's needs. If an NPC turns its head, this system also follows its gaze. You can adjust the range and viewing angle.

In the PRO version, NPCs can now see the shadow of their opponents. For shadows, any points on the skeletal mesh are still used. Now in the PRO version, you can enable the option and NPCs will be able to see the target only if it is currently illuminated by a color source. This also works for all points on the skeletal mesh. Everything is very easy to use. You can assign a different reaction if the NPC sees a shadow or your character.

All code is written in C ++ and works in the background thread for the best performance.


NPC Eyes Sight System - Simple version.

技术细节

Features:

  • Works in the background thread for the best performance.
  • This system uses points on the actor's skeletal mesh to pinpoint the actor.
  • NPCs can now see the shadow of their opponents
  • You can assign a different reaction if the NPC sees a shadow or your character.
  • All code is written in C ++
  • Doesn't require knowledge of C ++

Code Modules:

  • NPCEyesSightProComponent(Type: Runtime)
  • NPCEyesPointsPro(Type: Runtime)

Number of Blueprints: 2 component and 4 BP for demo.

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: Link , Discord

Example Project: Included

Important/Additional Notes: None