[Blueprints] Last Known Position Visualization

Released a new blueprint framework that recreates the Last Known Position mechanic from Splinter Cell: Conviction. If anyone’s interested, feel free to grab the project from Github at:…nVisualization.

Preview Video:

The Ghost material used for visualization was created using Tom Looman’s custom depth solution mentioned here (under the ‘Culling Inner Triangles’ section):…h-in-unreal-4/. So many thanks to him for sharing that. This tutorial was also really helpful in setting up the material: Setting up a ghost material in UE4 (university blog) - YouTube

As for the core gameplay mechanic, I had initially planned to use skeletal mesh components using animation pose snapshots of the player character’s mesh. Fortunately, I stumbled upon the Poseable Mesh component, which made the implementation a cakewalk thanks to its inbuilt function that lets you copy poses from skeletal mesh components without having to use an animation blueprint.

Known Limitations: This system does not work out of the box when there are multiple AI units that can detect the player. It does have an AI Manager that is responsible for activating the visualization. Support for multiple AI guards can be easily added by having the AI Manager check for valid targets among all the guards, every time it receives a message that a unit has lost track of its target.

Published a new post going over a high-level design process behind the creation of the visualization system: Unreal Engine Experiments: Last Known Position Visualization

So if anyone’s interested in using it in your projects, this should give you a pretty good idea about the basic code flow.

Great stuff, thanks for sharing.

Any plans on doing a dishonored style climbing system?

If you’re talking about the Blink ability, then here you go: GitHub - RohitKotiveetil/UnrealEngine--BlinkAbility: Recreation of Dishonored's Blink ability in Unreal Engine.

It has the automated climbing part as well, but without the animations.