generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: RTS Unit Movement

Previous Thread :: Next Thread 
Maxattax is not online. 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
Frostglacier is not online. Frostglacier
Joined: 28 Oct 2010
Total Posts: 4177
15 Aug 2012 11:31 AM
Is there a reason you can't use humanoid?
Report Abuse
Maxattax is not online. 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 is not online. 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 is not online. Maxattax
Joined: 08 Jun 2008
Total Posts: 120
16 Aug 2012 12:01 PM
Bump.
Report Abuse
BJCarpenter is not online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
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 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
16 Aug 2012 04:17 PM
Errr...Humanoids...Err
Report Abuse
Maxattax is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image