Tutorial for RTS like age of empires/warcraft 3 etc?

Hello
Im new to unreal and Im currently building my first RTS in a style of AOE and W3 etc and I have this problem where I cannot find any tutorials for that style of game. The closest I found is for RTS like tropico from 3 prong gaming but its just too different.
I want to build an enemy AI who builds buildings, collects resources, creates units and looks for and attacks the player and I just dont know where to even start :frowning:

Does anybody have a tutorial for that? Or mayby finnished product?

thanks

tl;dr - you can’t learn how to make a game from a single tutorial


Does anybody have a tutorial for that? Or mayby finnished product?

Have a look at this:

Im new to unreal

Then start by learning the basics first:

I want to build an enemy AI who builds buildings, collects resources, creates units and looks for and attacks the player and I just dont know where to even start

Break it down into those elements and learn how they work on their own. Only then look into how they mesh together.

  • learn about the boring stuff first
    – elementary stuff: variables, functions, events, macros, referencing, actors and components
    – game framework: Player Controller, Pawns, Possession, Game mode, Game State, Game Instance
    – communication: Direct, Event Dispatchers, Interfaces

  • build an enemy AI (creates units) → open a new top-down project, experiment with:

  • builds buildings → learn about inheritance, spawning objects, transforms, a bit on materials and collision

  • collects resources → learn about dynamic spawning, collision filtering, arrays, basic UI in UMG: Unreal Motion Graphics

  • looks for and attacks the player → search for animation tutorials, Niagara particles, game math and trigonometry

1 Like

This may not give you a complete solution. But feel free to take a look at this strategy game template tutorial series I have done a while ago.
Unreal Engine 5 - Real Time Strategy Game Tutorial Series
These are the topics I have touched in this series so far.
These are the topics I have been worked on so far in the series,

  • Strategy game player controller
  • Strategy game camera controls
  • Unit Selection and move commands
  • Fog of war
  • Dynamic animated cursor changes when hovering on objects based on available actions
  • Select and Command multiple characters
  • Box selection of units
  • Unit tracking
  • Minimap and minimap navigation
  • Multiplayer replication
  • Multiplayer- Unit ownership
  • Combat mechanisms
  • Defense towers

1 Like

I follow that serie, i found it really intristing. There is a new one that touch the c++ coding i think is the best way to have a more nicely rts like W3 or AoE

1 Like

Did you mean this one?

Unreal Engine 5 Real Time Strategy Game with C++ Tutorial Series

Is a fantastic tutorial, but is not complete. He explains very well the basics on which RTS games are built, but then he does not explain all the other important mechanisms such as: Gathering, attacking, race management, fog of war, soldier production, upgrades etc etc. It’s a pity because he is really very good in his style of explanation.

Hi, This is an ongoing series. I haven’t finished everything here. I am still adding new episodes.