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!
 online 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:25 am]
Deathman101 -- http://www.staredit.net/?p=modnight read and you can go to SF's Realm
[02:16 am]
[lil-Inferno]:] -- Epic phail.
[02:16 am]
[lil-Inferno]:] -- I don't know how to get SF realm, and my brother is on my comp with SC :P .
[02:14 am]
[Vi3t-X]:] -- Inferno @ SF Realm. Come test something quickly nub.
[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!!!
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