• Stars
    star
    743
  • Rank 61,046 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Real-time strategy plugin and showcase for Unreal Engine 4.

license

Real-Time Strategy Plugin for Unreal Engine 4

Open source Real-Time Strategy Plugin for Unreal Engine 4 developed by the original creators of Hostile Worlds for Unreal Engine 3.

We really love the spirit of Unreal 4 moving to open-source, and we'd love to give something back.

Note that we're still in heavy development. Some things are already in place, such as

  • Camera Movement & Bounds
  • Initial Unit Placement
  • Single- and Multi-Unit Selection
  • Movement Orders
  • Stop Orders
  • Attack Orders
  • Health, Damage (and Healing), Cooldown, Range
  • Victory Conditions
  • Projectiles
  • Unit Target Acquisition
  • Control Groups
  • Health Bars
  • Minimap
  • Teams
  • Constructions
  • Unit Production/Tech Research
  • Resource Gathering
  • Fog of War
  • AI Players
  • Cheats

All of this is already completely working in multiplayer as well, and has been fully exposed to scripting, enabling you to update UI and play animations and sounds.

We're going to add all of this to the Unreal Marketplace for free as well soon (tm).

For a quick look, just open Source/RTSProject/RTSProject.uproject, load Maps/SKM-DarkSpace.umap in the editor and hit Play. We recommend taking a closer look at that map (and the rest of the example project) as reference for your own one as well.

Setup

Prerequisites

Real-Time Strategy Plugin for Unreal Engine 4 provides plugin content which is usually not backwards-compatible: Content saved with a newer engine version cannot be opened again with an older engine version. Thus, every time a feature or bugfix requires a plugin content update, the plugin does not support older engine versions anymore. The following table summarizes plugin compatibility with engine versions:

Plugin Version Supported Engine Versions
1.0.0 4.24, 4.25
1.1.0 4.25
1.2.0 4.25
Git (master) 4.27
Git (feature/ue5) 5.0EA

Adding The Plugin (Blueprint Project)

  1. Close your Unreal Editor.
  2. Download the latest release.
  3. Copy the RealTimeStrategy folder to Plugins folder next to your .uproject file (create if necessary).
  4. Start the Unreal Editor.

Adding The Plugin (C++ Project)

  1. Close your Unreal Editor.
  2. Clone the repository or download a release.
  3. Copy the RealTimeStrategy folder to Plugins folder next to your .uproject file (create if necessary).
  4. Right-click your .uproject file and select Re-generate Visual Studio project files.
  5. If you want to create C++ subclasses of the plugin classes, add "RealTimeStrategy" to the PublicDependencyModuleNames of the Build.cs file of your project. Note that you might need to add other dependencies as well, depending on the respective class you want to extend. Take a look at RealTimeStrategy.Build.cs of the plugin for a full list of referenced engine modules.
  6. Build the resulting solution in Visual Studio.
  7. Start the Unreal Editor.

Getting Started

Take a look at the official manual to get started right away!

Bugs & Feature Requests

We are sorry that you've experienced issues or are missing a feature! After verifying that you are using the latest version and having checked whether a similar issue has already been reported, feel free to open a new issue. In order to help us resolving your problem as fast as possible, please include the following details in your report:

  • Steps to reproduce
  • What happened?
  • What did you expect to happen?

After being able to reproduce the issue, we'll look into fixing it immediately.

Development Cycle

We know that using this plugin in production requires you to be completely sure about stability and compatibility. Thus, new releases are created using Semantic Versioning. In short:

  • Version numbers are specified as MAJOR.MINOR.PATCH.
  • MAJOR version increases indicate incompatible API changes.
  • MINOR version increases indicate added functionality in a backwards compatible manner.
  • PATCH version increases indicate backwards compatible bug fixes.

You'll always find all available releases and their respective release notes at:

https://github.com/npruehs/ue4-rts/releases

Contributing

You want to contribute to Real-Time Strategy Plugin for Unreal Engine 4? Great! Take a look at Contributing to get started right away!

License

Real-Time Strategy Plugin for Unreal Engine 4 is released under the MIT License.

More Repositories

1

thorup

Java implementation of Mikkel Thorup's deterministic algorithm to solve the classic single-source shortest paths problem for undirected graphs with positive integer weights in linear time and space.
Java
51
star
2

hostile-worlds

Hostile Worlds is a multiplayer real-time tactics game for the PC which puts the player in charge of a small squad of human soldiers facing enemy players, brutal aliens and even hostile terrain. The game is based on the approved Unreal Engine 3 in order to provide unique graphics and visuals in the real-time tactics genre.
UnrealScript
49
star
3

unity-query

UnityQuery is a small, lightweight C# library designed to increase productivity with Unity3D.
C#
44
star
4

pony-game

Game framework for creating DirectX games with Pony.
Pony
43
star
5

game-math

Free open-source math library for games.
C#
39
star
6

tome-editor

Tome is a generic data editor for games supporting arbitrary input and output formats.
C++
36
star
7

bychance

.NET implementation of a generic framework for the generation of game levels.
C#
8
star
8

vscode-pony

Pony language extension for Visual Studio Code.
7
star
9

UnrealDI

Dependency injection library for Unreal Engine 4.
C++
4
star
10

perlin-noise

.NET implementation of Perlin Noise by Ken Perlin.
C#
4
star
11

ue5-general-testing-strategy

Towards a general testing strategy for Unreal Engine games.
4
star
12

scalable-online-game-sample

Source code of the blog series "Building a Scalable Online Game with Azure".
C++
3
star
13

Entitas-Blueprints-CSharp

Addon for data-driven development with Entitas.
C#
3
star
14

game-analytics-win10

GameAnalytics library for Windows 10 and Windows Phone 10 apps.
C++
2
star
15

teaching-unreal-engine

Solution to all assignments of the lecture Unreal Engine Basics taught at SAE Institute Hamburg.
C++
1
star
16

Match-One-Blueprints

Simple Unity3D example project to show how to use Entitas with blueprints.
C#
1
star
17

pinned-down-client-win8

Windows 8 client of the cooperative card game Pinned Down.
C
1
star
18

ue4-custom-replay-demo

Demo project for parsing and applying custom replays in Unreal Engine 4.
C++
1
star
19

mission-runner

Technical documentation of the Mission Runner game.
1
star
20

personal-website

Spring Boot application for my personal website.
HTML
1
star
21

markov-name-generator

.NET implementation of a machine-learning name generator based on Markov chains.
C#
1
star
22

pinned-down

Cooperative card game that combines great trading card game mechanics like the ones of the Lord of the Rings Trading Card Game by Decipher, Inc. with cooperative board game mechanics you find in games like Pandemic or Battlestar Galactica: The Board Game.
1
star
23

teaching-shaders

CG shaders shown in the lecture Shaders taught at Hamburg University of Applied Sciences.
ShaderLab
1
star
24

Nicks-Grab-Bag-of-Useful-Stuff-2

This repository is my personal version of what Mike McShaffry calls a "Grab Bag of Useful Stuff": It contains all code snippets that I've written in my life and which are most likely to be useful in future projects again.
HTML
1
star