Maxattax
|
  |
| Joined: 08 Jun 2008 |
| Total Posts: 120 |
|
|
| 15 Aug 2012 11:29 AM |
I am currently making an RTS, and as of yet, I have gotten very far. But I just hit a bump in the road. I don't know of a good way to move my units.
My RTS was inspired by many others on Roblox, and also WarCraft and StarCraft. When I look at games like Reign and Conquer 2 or The Conquerers, their units seem to move so smoothly, and it seems quite simple. This is not the case, or at least not from what I can tell.
My units are much like chess pieces. They have a small platform on the bottom, with a man built on top with a weapon. They are not humanoids, they don't have legs or heads, anything of that nature. So using the MoveTo() method with a humanoid is not an option. Techneeka uses BodyPosition movement, I am sure, but this is not a smooth fluid movement that I want. I want some units to be slower or faster than others. Not a very choppy movement.
So here I am at the scripting helpers club, asking for help. Any suggestions, comments, questions, or other would be great. |
|
|
| Report Abuse |
|
|
|
| 15 Aug 2012 11:31 AM |
| Is there a reason you can't use humanoid? |
|
|
| Report Abuse |
|
|
Maxattax
|
  |
| Joined: 08 Jun 2008 |
| Total Posts: 120 |
|
|
| 15 Aug 2012 12:14 PM |
| Putting legs and a head an all that would make the process EXTREMELY difficult, and there would be a lot of problems if I did. |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 15 Aug 2012 12:22 PM |
I made a RTS game before and it was perfect (less features but Core down). After that I got bored of making it and save it onto my computer.
So...You want to make it move. I prefer using BodyPosition, BodyGyro. |
|
|
| Report Abuse |
|
|
Maxattax
|
  |
| Joined: 08 Jun 2008 |
| Total Posts: 120 |
|
| |
|
|
| 16 Aug 2012 01:57 PM |
Does a Humanoid really need arms and legs to use MoveTo?
Just stick a Humanoid object in the model. That needs a Torso and a Head. Just rename some parts, which are there already... They may have to be welded or something.
Just satisfy the basics of being Humanoid and it should work. |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
Maxattax
|
  |
| Joined: 08 Jun 2008 |
| Total Posts: 120 |
|
|
| 16 Aug 2012 04:28 PM |
@ BJCarpenter
Well now I feel kind of stupid. It worked. I'll have to find some work arounds to the health GUI (won't be that bad), and moving into objects like lava and water.
As for air units, I will probably just use body positioning.
Thanks guys! |
|
|
| Report Abuse |
|
|