Final Year Degree Student's Unity Project

Hello all,

I am undertaking a unity based project for my final project for my degree and I’ve decided to get involved with the Unity Community in order to produce a better project overall. My course is in Applied Computing and the project has to be commercially viable.

With that in mind I have decided to go ahead a create an RTS game with some RPG elements to it. Taking inspiration from such games as Total Annihilation, Warcraft 3, Civilizations Series, as well as others.

I do have some stuff to show on what I have done and what I am trying to do.

I am incredibly new to the forums and haven’t ever been an active member of a forum before so I’m little bit unsure on how best to communicate with the community about my project, I decided to get started with this post.

Best of luck to you. I am creating an RTS at the moment also. In Uni I got 89% in Games Development and I was so proud when I received my grade - best result in the Uni too. :slight_smile: It was a Fantasy style RPG where the player had a sword and projectiles. The games objective being to kill zombies, grab a key and to reach the end of a dungeon.

I strongly suggest looking at Learn and Unity - Scripting API: before doing much else. There’s also a lot of good tutorials on Youtube.

Hi kittik,
Thanks for replying! 89% is impressive grade :O, I’m just hoping to get 70+. I have been doing tutorials for the last couple of months from various places such as YouTube and unity official website. I do need to spend more time on the script references however.

The hardest thing with an RTS is figuring out how to handle massive amounts of Units.
Unity is a General game dev Engine. It can work for anything, but you, your self have to figure out how to Optimize everything when it comes to that many Units on a screen.

Example, something like Rome Total War, good luck. E.G. > 10,000 Units on the screen at once.
Even with my 8 Core AMD 5.2 GHZ and Radeon R9 290, I can handle at best (with legit performance) no more than 300+ units at once, but that’s without any optimizations at all.

But I wish you the best of luck with your project. Seriously.

Hi N1warhead,

Thanks bringing up the topic of optimization, if I am honest it is something that actually slip the net, as currently I been working with just a few units on the screen. My exact idea of what the RTS will be is still very unknown but I’ll crack on with all of that with optimization in mind. Thanks for the luck :slight_smile:

Well actually let me refraze that, if they are (Rigidbody) Unit’s. That is the case then.

However, Character Controller Units I have no idea about, I hate the Character Controller, I refuse to use it. I hate every part of a Character Controller lol.

But yeah, you’re welcome man. Optimization is VERY Important in any RTS style game.

Currently there are no Rigidbodies within my project, a lot of tutorials that I went through did have them but they weren’t in a RTS tutorial that I followed, so in my own project I haven’t used them either. The same for Character Controller Units, in the tutorial all units were moved via Transform.forward. I am using the inbuilt navigation to move units around the world via Agents for units and Obstacles for buildings.

Total War’s platoons are basically particle systems. Each “emitter” would function as the leader, accepting commands from the player and directing the particles. The “particles” themselves wouldn’t actually do anything other than function as visual aids for the player.

4 Likes

I plan to make the visuals of the game a bit minimal currently due to time limitations and that my lecturers want something more code oriented and complex.

really? they sure look like 3d models to me lol.

Yeah but it’s just like a crowd system - which is essentially a particle system. I think that’s what Ryiah was referring to. Crowd systems drive the 3d models with animations but has logic like a particle system does.

3 Likes

You do realize that Shuriken can be set to use meshes, right? :wink:

http://docs.unity3d.com/Manual/PartSysShapeModule.html

Not that I would necessarily use Shuriken for this situation.

Yeah, unit by unit simulations for RTS’s cap out pretty low. Still, AOE and WC3 and star craft were all succesful with low unit caps. There is no need to try and build in numbers like total war or supreme commander.

RTS games are amongst the more technically challenging games to build. There is a ton of stuff that you need to handle that isn’t present in a simple FPS.

Good luck and keep us posted with how it goes.

1 Like

I am not planning on making a game where you have a number of units akin to what supreme commander can have or Total War both are out of my paygrade but making a small RTS game with elements like Warcraft 3 had more focused groups of units is something I would go for. Something like Dawn of War 2 with the option to build an actual base but more blocky and uni student looking.

I have recently added in Rigidbodies and colliders to my units but to make sure game optimation is the top of my list. I’ve began to rework some of the scripts as well as rethinking my game design idea of how everything will play out.

Thanks for bringing up optimaization as it has brought things into perspective.

I mean depending on what you want to do, I mean as long as your infantry type solders don’t have a lot of Bones in them for animations you can probably deal with around 300 units on the screen at once if that isn’t a problem.
(That is if they are all actual objects or doing like someone said above and make them particles, which I’ve never done that so I have no experience in how that works).

But it likewise means how strong is your PC because 300 Rigidbodies may over power your PC from Physics Calculations.

Yup, +1 on RTS is complex game type to develop. And its not only about optimizing to handle hundreds of units. But in that matter I can give you important key-word: time slicing :wink: With hundreds of units you have to time-slice almost everything. Because even if you have simple main loop on every unity, doing it every frame for every unit will kill performance very fast.

Check out Warcraft 1 or Dune 2. You can still play them with DosBox I recon you can probably pull off something like that with some determination.

Those were the good old days when I had time to complete games.

Oh gawsh man you ain’t lying, man them days, despite how bad tech was with like CPU Speed and stuff, them games were amazing! They weren’t anything short of a bad game, yeah occasionally a bad game would show it’s ugly face, but I believe 99.99% of all classics are in their own ways - bad a** games.

I will definitely look into Time Slicing thanks. Anything that make sure that the RTS doesn’t crush itself under its own weight is worth researching into. :slight_smile: