RTS Blueprints Template

So this is a quick update just to show the resource function. So upon hovering the mouse on a resource node, the node’s highlight and health bar appear. Right clicking on a node will send all Worker AI to the node for collection. A random amount of damage is done per Worker to the resource every 0.5 - 1.5 seconds. Every 33% of health taken from the resource gives back gold with the complete harvest giving the most. Each Worker has “Collection Mode” now. This is enabled by the “Collection Mode” widget. When Collection Mode is enabled, the worker will move to the nearest resource node and harvest until that node is gone and then move to the next node to start collecting. The Worker will do this until he either has a new command or there are no nodes within 5000 units.

I have noticed a few things that have either been fixed since the recording of this video or are unable to be fixed right now due to certain UE4 features’ functionality at this time:

#1 - There is a little bit of bugginess with the health upon its first visibility and I think that’s in part due to the fact that 3D Widgets are experimental right now.

#2 - I noticed at the end of the video that by taking one Worker AI off of the resource node it set the health bar and outline visibility to false. That was fixed with a simple check to see if other units were working on the resource node.

#3 - I haven’t added any currency counter to the HUD yet. The way it works is every 5 seconds the player gets a random amount of currency from 5-10. Totally overlooked that but it’s so simple I’ll just save that for when I tidy everything up at the very end. That’s also when I’ll add in costs for spawning units.

So all that’s left is team assignment/enemy AI. Shouldn’t be too difficult. I hope to have that done in a week or less. If anyone has any suggestions about certain features that can be done differently/better please let me know. Also, if anyone has suggestions as to what needs to be added/features you’d like to see, please PLEASE let me know. I don’t want to miss anything!

Thanks!

Edit: I apologize for the framerate. My computer is old. Really old. I had a lot of stuff going on in the background for this recording and my computer didn’t like that.