• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:09
CET 14:09
KST 22:09
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners7Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!29$5,000+ WardiTV 2025 Championship5[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! TL.net Map Contest #21: Winners 5.0.15 Patch Balance Hotfix (2025-10-8) RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win
Tourneys
Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BW General Discussion [ASL20] Ask the mapmakers — Drop your questions [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[ASL20] Grand Finals [Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1512 users

Acceleration and Deceleration - Page 2

Forum Index > SC2 General
Post a Reply
Prev 1 2 All
Simberto
Profile Blog Joined July 2010
Germany11622 Posts
August 23 2011 23:21 GMT
#21
On August 24 2011 08:12 MMXMoto-X17 wrote:
Interesting.

did u forget to add ur integration constant ?

E = M*C^2

Will this equation maybe help?


How incredibly smart and funny. Please share more of your infinite wisdom with us.
Torik
Profile Joined June 2011
Italy12 Posts
August 23 2011 23:37 GMT
#22
On August 24 2011 07:48 Simberto wrote:
Show nested quote +
On August 24 2011 07:33 Torik wrote:
On August 24 2011 06:55 Simberto wrote:
Actually, i would ignore the zero at the moment, and try to get a good idea of how the rest of the deceleration works. The zero seems to do something strange, so it is more important to get the general idea rather than the special cases.

Also, there are a lot of things this deceleration coeffizient could mean, depending on how deceleration works. For example, it is not even totally clear that it works physically sound. It could be that units decelerate to zero in the same time or distance no matter what their starting velocity is.

Also, i noticed that i suck with the map editor, so if you get data, could you post your raw data so one can do some calculations with it?

I agree. It's best to leave the zero-case out.

Yes I could post the data, but just now I'm running a simulation with acc=32 and something is wrong. The time for trip from the patch to the CC is not the same from the CC back to the patch (I can see it right now watching the SCV). It seems that the SCV just does not decelerate and stop to deliver the minerals; the CC seems to be just like a point in its path from the mineral patch and back again (a kind of patrol). I didn’t notice this either using the default data in custom games or during my tests; the difference was absolutely not evident.
So I think that, besides the overall timings measure, the other data are no longer significant with these new information. I fear I have still a lot of work to do to try to find the solution .


That would not really be a problem, it would just mean that you only have one acc/dec phase per round instead of two, meaning you would have to redo some calculations, if it really keeps the same velocity.

However, obviously best would be if someone who knew how to do that would produce a script that either makes the SCV go to some place, with usual acc/dec behaviour, or return the exact time with good accuracy (1/10th or 1/100th of a second) for the time spend travelling.

Another important thing is to really look at when the units do decelerate, and when they simply ignore all that.

So far:

Patrols keep speed
(Delivering minerals maybe also keeps the speed up)

Queued move orders decelerate at each point
Mining decelerates

The point is that since it is not clear how it works it's difficult to isolate a single component. The acceleration seems ok, but there are two different deceleration-effects (approaching minerals and CC). We have two unknown factors into one equation, so the total amount of time of the harvesting cycle could not be used.

I think I'll follow Excalibur_Z and your suggestion about writing a script. I need a better testing environment. I'm reading some documentation about the Galaxy language for the Map Editor. It should not be too hard to write the scripts I need.
Victory needs no explanation, defeat allows none - Sun Tzu
MMXMoto-X17
Profile Joined July 2011
Barbados23 Posts
August 23 2011 23:42 GMT
#23
On August 24 2011 08:37 Torik wrote:
Show nested quote +
On August 24 2011 07:48 Simberto wrote:
On August 24 2011 07:33 Torik wrote:
On August 24 2011 06:55 Simberto wrote:
Actually, i would ignore the zero at the moment, and try to get a good idea of how the rest of the deceleration works. The zero seems to do something strange, so it is more important to get the general idea rather than the special cases.

Also, there are a lot of things this deceleration coeffizient could mean, depending on how deceleration works. For example, it is not even totally clear that it works physically sound. It could be that units decelerate to zero in the same time or distance no matter what their starting velocity is.

Also, i noticed that i suck with the map editor, so if you get data, could you post your raw data so one can do some calculations with it?

I agree. It's best to leave the zero-case out.

Yes I could post the data, but just now I'm running a simulation with acc=32 and something is wrong. The time for trip from the patch to the CC is not the same from the CC back to the patch (I can see it right now watching the SCV). It seems that the SCV just does not decelerate and stop to deliver the minerals; the CC seems to be just like a point in its path from the mineral patch and back again (a kind of patrol). I didn’t notice this either using the default data in custom games or during my tests; the difference was absolutely not evident.
So I think that, besides the overall timings measure, the other data are no longer significant with these new information. I fear I have still a lot of work to do to try to find the solution .


That would not really be a problem, it would just mean that you only have one acc/dec phase per round instead of two, meaning you would have to redo some calculations, if it really keeps the same velocity.

However, obviously best would be if someone who knew how to do that would produce a script that either makes the SCV go to some place, with usual acc/dec behaviour, or return the exact time with good accuracy (1/10th or 1/100th of a second) for the time spend travelling.

Another important thing is to really look at when the units do decelerate, and when they simply ignore all that.

So far:

Patrols keep speed
(Delivering minerals maybe also keeps the speed up)

Queued move orders decelerate at each point
Mining decelerates

The point is that since it is not clear how it works it's difficult to isolate a single component. The acceleration seems ok, but there are two different deceleration-effects (approaching minerals and CC). We have two unknown factors into one equation, so the total amount of time of the harvesting cycle could not be used.

I think I'll follow Excalibur_Z and your suggestion about writing a script. I need a better testing environment. I'm reading some documentation about the Galaxy language for the Map Editor. It should not be too hard to write the scripts I need.


Good call, make sure you document your findings in the liquidpedia database.
MMXMoto-X17
Profile Joined July 2011
Barbados23 Posts
August 23 2011 23:50 GMT
#24
btw, maybe this page can help u

http://en.wikipedia.org/wiki/Deceleration_parameter

User was temp banned for this post.
Simberto
Profile Blog Joined July 2010
Germany11622 Posts
August 24 2011 00:06 GMT
#25
You are absolutely right, Torik. I assumed you meant that there is simply no deceleration at the the CC, but obviously you can't really tell that just by bare eye. The ideal test would be one with large accuracy while minimizing the amount of movements involved. So you should probably avoid any repeated movements, and any interaction with other objects. But i don't think you can get good enough data for the time without repeating the movement some times. Also, when you change your method you need to find another way of measuring distance if you move between unspecific points instead of minerals and CC.

However, if you don't find a good way with scripting, one could test the behaviour at the CC seperately, for example by comparing the movement of one SCV that moves double the amount of spaces and comparing it with one that delivers minerals to a CC half the amount of space away. So far my theory is that there are two types of movement change, one with deceleration, and one where the object simply keeps its movement speed, but i have absolutely no proof at all for that.


On August 24 2011 08:50 MMXMoto-X17 wrote:
btw, maybe this page can help u

http://en.wikipedia.org/wiki/Deceleration_parameter


Don't you have something more useful to do than coming in here and spouting unrelated nonsense?
Torik
Profile Joined June 2011
Italy12 Posts
August 24 2011 22:20 GMT
#26
Just a little update.

I'm running several tests this evening and the big issue seems to be the top speed of the unit. The value I used for my previous simulations (16) is by far greater than the top speed of any units, which for the most part are below 4.5 (the interceptor is the fastest with 7.5).
My first impression is that the engine is not able to handle high speed and a deceleration value different from zero, but I need more data to be sure (or at least "almost" sure...).
I also verified that the Commend Center is not treated like a way-point in the mineral gathering cycle. The anomaly I observed yesterday should be another side effect of the speed too high of the SCV.

About the script for Map Editor, I haven't found yet a method to simulate the user input (mouse or keyboard).
Victory needs no explanation, defeat allows none - Sun Tzu
Torik
Profile Joined June 2011
Italy12 Posts
August 25 2011 20:23 GMT
#27
I don’t know if there is someone still interested in this argument. Anyway, I did a lot of tests and research on Internet about movement (something I should have done earlier) and I think I found why things appeared so odd.

For what I read, SC2 should use a steering behavior algorithm to control the path and the movement of the units; in particular, in order to simulate the slowing down of a unit when it’s reaching its destination, the arrival steering behavior is used to calculate when the unit needs to start to decelerate. You can find more information about this at http://www.red3d.com/cwr/steer.

So I think that, partially like I wrote in the previous post based only on empirical observation, the system messed up because the speed was too high compared to the distance between the mineral patch and the Command Center. The engine probably couldn’t calculate in the right way how to decelerate the unit properly, so other effects took the control of the movement.
Another confirmation I obtained is that the deceleration value acts like a tweak parameter rather than the actual deceleration; this also explains why all units (besides Motherships and High Templars) have a deceleration value of zero.

Since the units decelerate before stopping, there is for sure a deceleration value defined in some place. May be it is buried into the Map Editor and I haven’t found it yet, or it is simply not available. In this last case I’ll have to figure out a way to measure it.
Victory needs no explanation, defeat allows none - Sun Tzu
Al Bundy
Profile Joined April 2010
7257 Posts
August 25 2011 20:45 GMT
#28
Interesting find, thanks for the update.

So if I understand correctly, things only appeared odd because of the high speed, but in reality they do make sense? Please forgive my lack of scientific knowledge.
o choro é livre
kushm4sta
Profile Blog Joined July 2011
United States8878 Posts
August 25 2011 20:48 GMT
#29
There is no such thing as deceleration. Only negative acceleration.
OMGUS.net, kush sex blogs every friday night
0neder
Profile Joined July 2009
United States3733 Posts
August 25 2011 20:51 GMT
#30
but can you make air units do a moving shot that's not ridiculous?
0neder
Profile Joined July 2009
United States3733 Posts
August 25 2011 20:53 GMT
#31
On August 26 2011 05:48 kushm4sta wrote:
There is no such thing as deceleration. Only negative acceleration.

I think you spend too much in in academia my techie friend. Let's talk practically and not worry about such trivial semantics.
Torik
Profile Joined June 2011
Italy12 Posts
August 25 2011 21:00 GMT
#32
On August 26 2011 05:45 AlBundy wrote:
Interesting find, thanks for the update.

So if I understand correctly, things only appeared odd because of the high speed, but in reality they do make sense? Please forgive my lack of scientific knowledge.

Yes, it seems so. In some way the algorithm uses all the parameters (acceleration, top speed and deceleration) to establish how much space a unit needs to accelerate, to move at maximum speed and to decelerate. If one or more of these data is outside a specific bound, then the algorithm does not function properly, I think mainly because other effects become stronger (such as obstacle avoidance or other described at the link I posted).
I too don't know too much on this field, I started reading on this subject just few days ago .
Victory needs no explanation, defeat allows none - Sun Tzu
Sir Snoopy
Profile Joined March 2011
United States57 Posts
August 25 2011 21:10 GMT
#33
If somebody can help me make the leap from this to play....
How does a unit's acceleration affect anything at all? I hear that people complain about the warp prism acceleration, but it moves relatively slowly to begin with, how can a little acceleration change anything?
That's SIR Sir Snoopy to you!
Torik
Profile Joined June 2011
Italy12 Posts
August 25 2011 21:27 GMT
#34
Here is a test you can run so you can see what I mean for "odd" and what make me think that there have to be some safety boundaries for the parameters.
Using the Map Editor set for the SCV:
  • Acceleration = 16
  • Deceleration = 1
  • Speed = 16
  • InnerRadius = 1
  • Radius = 1
Now test the map, select a bunch of SCV and start to move this group around the map. Don’t make a multi-waypoint path, just click and move them towards a location. If you do this just two or three times, you should see that at some point the SCVs start to freak out when they are reaching the destination, wandering around or bouncing back and forth with each other.
Victory needs no explanation, defeat allows none - Sun Tzu
Torik
Profile Joined June 2011
Italy12 Posts
August 25 2011 21:32 GMT
#35
On August 26 2011 06:10 Sir Snoopy wrote:
If somebody can help me make the leap from this to play....
How does a unit's acceleration affect anything at all? I hear that people complain about the warp prism acceleration, but it moves relatively slowly to begin with, how can a little acceleration change anything?

A warp prism has an acceleration value of 2.125 (like the observer and the voidray for example) that is quite low. It has a speed of 2.5, so it takes more than a second to reach its maximum speed.
A zealot or a stalker have an acceleration of 1000, which means that they hit the top speed almost immediately.
Victory needs no explanation, defeat allows none - Sun Tzu
Simberto
Profile Blog Joined July 2010
Germany11622 Posts
August 26 2011 00:49 GMT
#36
On August 26 2011 06:10 Sir Snoopy wrote:
If somebody can help me make the leap from this to play....
How does a unit's acceleration affect anything at all? I hear that people complain about the warp prism acceleration, but it moves relatively slowly to begin with, how can a little acceleration change anything?


Acceleration is important when you try to micro stuff. For example, when you try to move a mothership so that it does not get hit, while cloaking something beneath it, and the enemy comes at you from different angles. Not only is the mothership extremely slow, it also has a very low acceleration, meaning everytime you want to get away from something it takes some seconds slowly starting to move before it reaches its maximum velocity. This might be an obscure example, but it applies in the same way to every kind of action where you move and stop.

For the Warp prism, you have dropped something, the enemy comes, and you want to get away. You grab your guys and start flying, and since you have a relatively low acceleration it gives the enemy more time to hit you. For example, assuming units accelerate linearly, if you take 1 second to accelerate to your top speed, you are half a second behind the place you would be if you accelerated instantly. Which, in this case, might me where these evil stalkers shoot you in the face as opposed to chilling safely over the sea.
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
OSC
12:00
King of the Hill #230
WardiTV463
iHatsuTV 13
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko255
RotterdaM 202
StarCraft: Brood War
Jaedong 1238
Light 681
EffOrt 603
Mini 459
Larva 376
actioN 360
Stork 359
GuemChi 256
Barracks 255
BeSt 252
[ Show more ]
Leta 206
Snow 196
hero 140
Rush 123
sSak 77
Aegong 71
JYJ70
Pusan 50
PianO 49
Backho 38
zelot 30
Noble 29
sas.Sziky 29
Sharp 23
sorry 21
Movie 19
yabsab 18
NaDa 16
soO 16
scan(afreeca) 14
Shine 13
Bale 11
HiyA 8
Icarus 5
Terrorterran 5
Dota 2
Gorgc5846
qojqva1031
XcaliburYe256
420jenkins105
League of Legends
Reynor106
Counter-Strike
zeus741
allub268
edward72
Other Games
singsing1700
B2W.Neo841
DeMusliM333
Sick311
crisheroes305
XaKoH 187
Happy32
Organizations
Other Games
gamesdonequick505
Counter-Strike
PGL151
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 37
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1943
• WagamamaTV321
League of Legends
• Jankos3594
Upcoming Events
LAN Event
1h 51m
Lambo vs Harstem
FuturE vs Maplez
Scarlett vs FoxeR
Gerald vs Mixu
Zoun vs TBD
Clem vs TBD
ByuN vs TBD
TriGGeR vs TBD
Korean StarCraft League
13h 51m
CranKy Ducklings
20h 51m
LAN Event
1d 1h
IPSL
1d 4h
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
1d 6h
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
1d 9h
Sparkling Tuna Cup
1d 20h
WardiTV Korean Royale
1d 22h
LAN Event
2 days
[ Show More ]
IPSL
2 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
2 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
2 days
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
4 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
5 days
The PondCast
5 days
RSL Revival
5 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.