RTS behaviours
by Matt Brasier · in Torque Game Builder · 04/13/2009 (11:23 am) · 10 replies
There are a couple of behaviours in TDN that are relevant to building an RTS in TGB. I was thinking of trying to put together a larger group that would make writing an RTS a bit easier, the kind of thing I was thinking of would be behaviours like Attackable, Movable, SpecialAttach, ProductionStructure etc tybe behaviours.
Is anyone interested in working with me to try and build up a set of these? It will be easier if there are a few of us doing it, and there seem to be quite a few people that want to build an RTS with TGB.
Matt
Is anyone interested in working with me to try and build up a set of these? It will be easier if there are a few of us doing it, and there seem to be quite a few people that want to build an RTS with TGB.
Matt
About the author
#3
Units can be sellected by dragging over them with the mouse
Units can be moved by right clicking on the map
Units can attack enemy units by selecting friendly units and right clicking on the enemy unit.
Units can follow friendly units by selecting friendly units and right clicking on the friendly unit.
The screen can be scrolled by moving the mouse cursor to the edges.
When enemy units are attacked they lose health and then die.
What I want to get working before putting up an initial version:
Display of health for friendly and enemy units.
Production structures that can produce units and be destroyed.
Enemies fire back if they are attacked.
Future enhancements:
Enemy AI.
Game UI.
Victory conditions.
Mouse doesn't scroll off the map edge.
04/22/2009 (1:10 am)
Ok, what I have working so far is:Units can be sellected by dragging over them with the mouse
Units can be moved by right clicking on the map
Units can attack enemy units by selecting friendly units and right clicking on the enemy unit.
Units can follow friendly units by selecting friendly units and right clicking on the friendly unit.
The screen can be scrolled by moving the mouse cursor to the edges.
When enemy units are attacked they lose health and then die.
What I want to get working before putting up an initial version:
Display of health for friendly and enemy units.
Production structures that can produce units and be destroyed.
Enemies fire back if they are attacked.
Future enhancements:
Enemy AI.
Game UI.
Victory conditions.
Mouse doesn't scroll off the map edge.
#4
05/16/2009 (8:24 am)
Matt, I'm excited to see how this turns out!
#5
05/18/2009 (2:16 pm)
Sounds great, looking forward to seeing more about this!
#6
Always hoped that someone would pick them up and join in in creating the required base components to create action adventures and RTS
05/18/2009 (5:00 pm)
Nice you like the RTS components :)Always hoped that someone would pick them up and join in in creating the required base components to create action adventures and RTS
#7
05/19/2009 (9:35 am)
Its good to see other people are interested in this. I haven't done anything on this for a while so will try and do some more next week.
#8
05/19/2009 (9:44 am)
Thanks, Matt. We all appreciate your efforts!
#9
Keep up the good Work!
05/19/2009 (2:39 pm)
Sounds good Matt! I've already got a nice start on an RTS and I would be pretty interested in your future enhancements: Enemy AI and Game UI. Keep up the good Work!
#10
06/18/2009 (10:29 am)
Awesome! This is exactly what I wanted to get into TGB for in the first place. Hope to see something of it soon!
Torque 3D Owner Matt Brasier
When I have something more useable I might put together an (or just update the existing) RTS tutorial or something, if this is something people are interested in?