Staredit Newtork
Community
StarCraft
Games
Site
Favourites
Slow down on turns?

Creator: Craftstar2
Time: Aug 9 2008, 5:07 pm

Post #1     Craftstar2 Aug 9 2008, 5:07 pm

[Avatar]
 offline contact
Is it possible to detect when a unit turns, and slow it down (with burrowed units)? I'm thinking of a kind of acceleration concept with turns making you lose speed.
Top

Post #2     NudeRaider Aug 9 2008, 5:22 pm

[Avatar]
Write your own destiny, or else someone will write it for you!
 offline contact
You can detect current movement direction using a [url=http://www.staredit.net/wiki/Grid_Systems]mobile grid (scroll down)[/url].
You just need to store the current direction and compare it with the next detection. If he didn't move to the same grid he has turned.

But i guess this wouldn't work well as sc units don't walk/fly in curves. They fly in straights and have instant turns inbetween.
So the slowdown would lag behind a bit as you cannot detect the actual facing.
(signature image)
http://sonsofwar.pyrom.net/index.html___0% (user posted image) 100%
Top
0 members in this topic: None
+ 0 guest(s)


[02:05 am]
[lil-Inferno]:] -- I need you to go into the enemy base and killz tehm awll bai yuorslef.
[02:04 am]
[lil-Inferno]:] -- Be quiet Privatecake!
[02:01 am]
Generalpie -- i'm back from my pinful arm and leg injuries!!!
[01:59 am]
OMC)Anonymous -- www.internetisseriousbusiness.com
[01:57 am]
OMC)Anonymous -- actually, my mom makes incredibly good fried chicken...
[01:56 am]
OMC)Anonymous -- sandwhiches = DICKS AMIRITE? I DUN NO RUIN JOKES!
[01:56 am]
[lil-Inferno]:] -- MAN, Y'ALL BE WHACK! NO MOTHAFUCKA MAKES BETTA FRIED CHICKEN THAN MAH MOMMA!
You must log in to shout.

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions