Silvan Teufel - 代码插件 - 2023/04/01

PathFinding with TopDown/RTS-Cam

  • 支持的平台
  • 支持的引擎版本
  • 下载类型

A PathFinder with Topdown/RTS Camera





V1.0.1 (In Review) - Bugfix Package Project

ControllerBase + CameraControllerBase:

CTRL + E -- Rotate Cam Right (works also when Cam is locked to Unit )

CTRL + Q - Rotate Cam Left (works also when Cam is locked to Unit )

CTRL + Left Mouse Click -- Move Cam to Mouse Position

CTRL + W -- Zoom Cam In

CTRL + S -- Zoom Cam Out

CTRL + HOLD SPACE -- Fast Zoom Out to Position

CTRL + SPACE + Left Mouse - Move Cam to Mouse Position

Mouse to Screen Edges -- Move Cam to Mouse Position

Right Click when Unit Selected -- Move Unit

Shift + Right Click when Char. Sel. -- Move Unit through Waypoints

CTRL + G when Unit Selected -- Lock Unit on Character

CTRL + T when Unit Selected -- Switch to Third Person Mode

Press A when Character Selected - toggle Attack

Press A + Left Click when Character Selected - Move to Position and Attack

Press A + Left Click on Enemy - Focus this Enemy

HOLD TAB -- Show Control-Widget

Pathfinding with Dijkstra

Generate one or multiple Grids by Datatable. Check if it fits for the Enviorment. Add A CenterPoint to every Grid and load the Pathfinding via my PathProviderHUD. The Controller and a UnitBase as well as two example Maps are allready setup with this Project. You can easily create your own by duplicating my Blueprints and or Maps.


Features: (C++ ParentClasses)

  • CameraBase
  • PathSeekerBase
  • UnitBase (No fighting, States are only: Idle, Run, Patrol ) - for fighting use my RTSUnitTemplate :-> )
  • UnitControllerBase
  • ControllerBase + Classes for Enhanced Keyboard Input
  • CameraControllerBase
  • HUDBase
  • PathProviderHUD
  • UnitBaseHealthBar
  • Projectile
  • SelectedIcon
  • Waypoint
  • DijkstraCenter
  • NoPathfindingArea
  • SelectedIcon
  • Waypoint

Code Modules: (Please include a full list of each Plugin module and their module type (Runtime, Editor etc.))

  • PathFinder[Runtime]
  • Core, CoreUObject, Engine, InputCore
  • HeadMountedDisplay, NavigationSystem
  • AIModule
  • UMG

Number of Blueprints: 24+ (Most times Based on C++ Class, used for Example)

Number of C++ Classes: 10+

Network Replicated: No

Supported Development Platforms: Tested in Windows

Supported Target Build Platforms: Tested in Windows


Example Project: