Hello, UE4 community!
I’m pretty new to any sort of game development. In fact I started using my first game engine, UE4, for the first time just over three weeks ago. But thanks to the awesome tutorials provided by Epic I’ve learned a decent amount in a short time.
So I thought it would be neat to create an RTS template made entirely from Blueprints since I haven’t seen it done yet. In fact, I haven’t been able to find anything on working RTS gameplay.
I started about a week ago, working from a third-person template. Right now I have some basic functionality. Select structures (the cube you’ll see in the video below), select units and tell units where to go, some simple buttons that appear upon switching to RTS mode.
In the next two weeks I’ll be working on creating soldier units that spawn as a group, creating enemy states to determine what AI units cannot be selected, vehicles based on the AI_Template I’ve created, and a basic resource system. After that I would like to have some very basic attack commands built into the AI. By the end of tomorrow evening I’ll have menus set up for at least the structures that will handle spawning the units just like what you’d see in C&C or AoE or something along those lines.
I do not plan on adding many custom meshes or animations as I want this to feel like a template. I want anyone who uses this to load it up and have a template in which they may plug all of their own assets and be ready to start customizing. So even when it’s done, it’s gonna look pretty basic for that reason alone.
The only bug I have, and it’s not so much a bug as something I don’t like, is the structure spawn. Right now, when you spawn a structure its world location is set to 0,0,z. By tomorrow evening it’ll follow the mouse upon spawn and then a simple click will set it down permanently and enable collision.
Here is a quick video:
So I guess the main reason that I post here is that I’d like a bit of feedback. Is this something that anyone is interested in seeing once completed? And if so, what could be done better? What could be added to this template to help anyone using this to have a good start to an RTS? What other features would be desired/required if I’ve missed any?
Update 11/19/2014: So I have had a good few hours to work on this since yesterday. Everything that I had hoped to complete by tonight is finished! Mostly subtle changes but definitely necessary and end up making the whole thing look a lot nicer when compared to the last video. A list of these minor changes include:
-Actual spawning and placement of structure units
-Translucent material to denote placement mode
-Red “error” material to denote collision and prevent placement
-Rotation of structure in placement mode (forgot to put in video)
-Structure-handled AI spawning
-“Menu”/widget switch upon structure selection
-CTRL+Click to add to/remove from selection for AI
-Sell function for all selected units (simple destroy actor for now)
It’s very minor but it’s what I said I’d have at this point. So here it is! Here is just a quick video: