무료 KitBash3D 키트를 튜토리얼과 함께 제공합니다!

RTS Unit Template

Create your own RTS Unit

  • 지원 플랫폼
  • 지원 엔진 버전
    5.0 - 5.1
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

Create your own RTS Unit with the RTSUnitTemplate-Plugin, which is written in C++.


V 1.2.1

  1. Bugfix in Unitbehavior (UnitControlStateMachine)
  2. Added Blendspace Animations with DataTable



V 1.3.2

  • Added a Statemachine and second Controller Class for Camera
  • Live Switch to Third Person Camera possible.
  • Bug fix: Rotating while locked to Character: Cam will move with Character now
  • Minor Fixes.
  • Switch to Enhanced Keyboard Inputs


V 2.0.0

  • Pathfinding with Dijkstra


For Gameplay preview please see the Videos below:

https://www.youtube.com/watch?v=ESS5PYtr9mU


For Camera preview please see the Video below:

https://www.youtube.com/watch?v=eEvKYroF2Qg


For Pathfinding preview please see the Video below:

https://www.youtube.com/watch?v=QqpaFlBx1KQ


For Installation check the Documentation:

https://github.com/SilvanTeufel/RTSUnitTemplate_ReadMe


VIDEO FOR QUICKSTART


Or check the Documentation:

http://wiki.teufel-engineering.com/


Choose if your Unit is:


  • Enemy or Friend
  • Range
  • Health
  • Attack Damage
  • MovementSpeed
  • Sight
  • IsFlying
  • .... and more, see the Documentation!


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


When Character is Selected:


A - Set Unit into Detected Mode

A + LeftClick - Move to Position and Attack everything in your way


If RTSUnitTemplate is installed, the Classes can be used as Parent Class in Blueprint, so all functions from this Class are available in Blueprint. Just use one of the Following Classes as Parent Class and or just choose them in your GameMode Blueprint. Category = RTSUnitTemplate / TopDownRTSCamLib


ALL 3D-Models, Animations and Sounds are changeable via Blueprint.


3D-Models and Animations are Epic-Games Content

기술적 세부사항

Features: (C++ ParentClasses)

  • CameraBase
  • UnitBase
  • UnitControllerBase
  • ControllerBase
  • CameraControllerBase
  • HUDBase
  • UnitBaseHealthBar
  • Projectile
  • SelectedIcon
  • Waypoint

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

  • RTSUnitTemplate [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

Documentation: http://wiki.teufel-engineering.com/

Example Project: https://www.youtube.com/watch?v=ESS5PYtr9mU