• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:30
CET 01:30
KST 09:30
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros9[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win62025 RSL Offline Finals Dates + Ticket Sales!10BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION2Crank Gathers Season 2: SC II Pro Teams10Merivale 8 Open - LAN - Stellar Fest5
StarCraft 2
General
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win Weekly Cups (Oct 13-19): Clem Goes for Four DreamHack Open 2013 revealed RotterdaM "Serral is the GOAT, and it's not close" Intel X Team Liquid Seoul event: Showmatches and Meet the Pros
Tourneys
Merivale 8 Open - LAN - Stellar Fest SC4ALL $6,000 Open LAN in Philadelphia Kirktown Chat Brawl #9 $50 8:30PM EST 2025 RSL Offline Finals Dates + Ticket Sales! Crank Gathers Season 2: SC II Pro Teams
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
What's going on with b.net? BGH Auto Balance -> http://bghmmr.eu/ Ladder Map Matchup Stats Map pack for 3v3/4v4/FFA games BW General Discussion
Tourneys
[ASL20] Grand Finals BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
How to stay on top of macro? PvZ map balance Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread The Perfect Game Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Canadian Politics Mega-thread The Big Programming Thread
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
TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 2024 - 2026 Football Thread NBA General 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
more word salad -- pay no h…
Peanutsc
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1547 users

Extra time for switching targets.

Forum Index > BW General
Post a Reply
Normal
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
April 04 2015 06:27 GMT
#1
Greetings to my friends playing the best game in the world!

I am currently working on the Starbow mod that you may or may not have heard of. It is a fan-made expansion to Brood War in the SC2 engine (unfortunately) and as such, we have encountered many issues when trying to recreate some of the finesses from Brood War.

One of these, seems to have very little technical information about it, although I think it is noticed and recognized by most.

In Brood War, if a ranged unit, and maybe melee as well, killed a unit or lost its target, it would spend more time than it's regular weapon cool-down (attack speed) to shoot on a new target compared to firing on an existing one.

This behavior seems to be the most noticeable with dragoons, siege tanks in siege mode and reavers.

Does anyone knows how much extra time each unit's weapon needed to switch targets compared to firing upon the same unit over and over?
aka KanBan85. Working on Starbow.
TelecoM
Profile Blog Joined January 2010
United States10682 Posts
April 04 2015 07:14 GMT
#2
Thats a good question, i'm not sure how that would work....I would also be interested in knowing this just to know, sorry I can't really answer the question.
AKA: TelecoM[WHITE] Protoss fighting
Probemicro
Profile Joined February 2014
3708 Posts
Last Edited: 2015-04-04 08:01:27
April 04 2015 07:53 GMT
#3
related

Most Starcraft units have pre-attack animation sequences that must be played before the actual attack occurs. For the Marine, it is "holding up the gun". For the Hydralisk, it is "opening the mouth".

For most units, there is only one pre-attack sequence. All subsequent attacks do not require the unit to go through the sequence again. For the Marine, once it holds up its weapon, it does not put it down again. For the Hydralisk, once it opens its mouth, it doesn't have to open it again.

The exception is when the unit has to change targets. If a unit's attack target changes, it must go through its pre-attack sequence again. This phenomenon is most prevalent for the Photon Cannon, whose tower goes up and down constantly as it acquires new targets.
404AlphaSquad
Profile Joined October 2011
839 Posts
April 04 2015 08:09 GMT
#4
It is so hard recreating all the little finesses in BW and the hardest part, actually noticing them.
aka Kalevi
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
April 04 2015 08:14 GMT
#5
On April 04 2015 16:53 Probemicro wrote:
related

Most Starcraft units have pre-attack animation sequences that must be played before the actual attack occurs. For the Marine, it is "holding up the gun". For the Hydralisk, it is "opening the mouth".

For most units, there is only one pre-attack sequence. All subsequent attacks do not require the unit to go through the sequence again. For the Marine, once it holds up its weapon, it does not put it down again. For the Hydralisk, once it opens its mouth, it doesn't have to open it again.

The exception is when the unit has to change targets. If a unit's attack target changes, it must go through its pre-attack sequence again. This phenomenon is most prevalent for the Photon Cannon, whose tower goes up and down constantly as it acquires new targets.


Nice article. That was enlightening. The question remains though, how much time does it take for a unit to start the pre-attack animation?

And it seems that all units have this, even if they have no visual animation, like the reaver.
aka KanBan85. Working on Starbow.
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2015-04-04 13:53:21
April 04 2015 08:44 GMT
#6
Cannons, and also dragoons, certainly have particularly slow pre-attack animations.

The other effect you are looking out for is probably the influence of the unit command (idle/attack/hold position/attack) on the attack rate and initial attack time.
It has something to do with the order in which the BW engine runs through different unit behaviour checks over the course of multiple frames or something like that.
If I remeber correctly, units on patrol command have an immidiate first attack (minus aforementioned pre-attack animation, of course), but slightly slower attack rate afterwards, whereas units on attack command have the full attack rate, but slightly delayed initial attacks (not sure where idle and hold position lie in the spectrum, but I guess hold position has pretty fast initial attacks, because you can use it for muta and dragoon micro quite effectively).

There is an article about the finer details somewhere, I think it was at the BWAI page (whatever that is actually called) somewhere ; if not, maybe it was Staredit.net, but my best bet for detailed documentation about game mechanics would be the former.

EDIT: I think this is it:
https://code.google.com/p/bwapi/wiki/StarcraftGuide#What_are_the_differences_between_Stop_and_Hold_Position?
It's actually explaining the difference between stop and hold position, but I think patrol and attack also make a difference in how quickly the first attack is issued (patrol micro beats attack micro)...
Freakling
Profile Joined October 2012
Germany1529 Posts
April 04 2015 09:15 GMT
#7
Also interesting:

https://code.google.com/p/bwapi/wiki/StarcraftGuide#Why_is_the_cooldown_always_different?

https://code.google.com/p/bwapi/wiki/WeaponTypes
reminisce12
Profile Joined March 2012
Australia318 Posts
April 04 2015 09:44 GMT
#8
question: was this design intentional by the scbw devs?
Piste
Profile Blog Joined July 2006
6180 Posts
April 04 2015 11:10 GMT
#9
On April 04 2015 17:09 404AlphaSquad wrote:
It is so hard recreating all the little finesses in BW and the hardest part, actually noticing them.

indeed, the awesomeness and balance of this game was output of luck and few patches, and rest of it from the map designing.
Freakling
Profile Joined October 2012
Germany1529 Posts
Last Edited: 2015-04-04 13:54:54
April 04 2015 13:47 GMT
#10
On April 04 2015 18:44 reminisce12 wrote:
question: was this design intentional by the scbw devs?


That is probably mostly a semantic question, i.e. it depends on the exact definition of the word "intentional" you go by in your question:

Deliberate decisions, made to achieve some aim (i.e. get it to work in one way or another): yes, definitely!

Carefully weighed versus all alternatives, considering all the consequences?: Well, you wish, ... like anthing in the core of the BW engine was devised this way...
2Pacalypse-
Profile Joined October 2006
Croatia9517 Posts
April 04 2015 14:10 GMT
#11
On April 04 2015 20:10 Piste wrote:
Show nested quote +
On April 04 2015 17:09 404AlphaSquad wrote:
It is so hard recreating all the little finesses in BW and the hardest part, actually noticing them.

indeed, the awesomeness and balance of this game was output of luck and few patches, and rest of it from the map designing.

"Luck" would imply that the developers had no idea what they were doing and sort of just got lucky... which I don't think is a fair assessment at all. Did developers think of all the possible scenarios and little things/bugs that makes the BW what it is? Of course not. But it's also obvious that a lot of thought and effort was put into the design, which makes this incredible depth possible in the first place.

Perfect example of this is in this very thread. They could've made this cooldown before shooting much simpler and same for all the units or even remove it completely. But they consciously added it because they thought it would add more depth to the game, even though they didn't predict every possible consequence of this (out of which one consequence was getting your goons stuck ><).
Moderator"We're a community of geniuses because we've found how to extract 95% of the feeling of doing something amazing without actually doing anything." - Chill
reminisce12
Profile Joined March 2012
Australia318 Posts
April 04 2015 15:46 GMT
#12
yeah luck only augments the game, the core design of the game is what separates it from other games and makes it a legendary game. The uniqueness of the three different races, the unit design and synergies they have with one another.
Randomaccount#77123
Profile Blog Joined May 2010
United States5003 Posts
April 04 2015 17:32 GMT
#13
--- Nuked ---
DepressedOne
Profile Blog Joined September 2014
United States190 Posts
April 04 2015 22:10 GMT
#14
why don't you make a BW expansion in the BW engine?
Me sad.
TelecoM
Profile Blog Joined January 2010
United States10682 Posts
April 04 2015 22:56 GMT
#15
On April 05 2015 07:10 DepressedOne wrote:
why don't you make a BW expansion in the BW engine?


Please refrain from trying to answer this question.
AKA: TelecoM[WHITE] Protoss fighting
Foxxan
Profile Joined October 2004
Sweden3427 Posts
Last Edited: 2015-04-05 00:20:19
April 05 2015 00:18 GMT
#16
Good find xiphias.

On April 04 2015 17:09 404AlphaSquad wrote:
It is so hard recreating all the little finesses in BW and the hardest part, actually noticing them.

Indeed
vOdToasT
Profile Blog Joined September 2010
Sweden2870 Posts
Last Edited: 2015-04-15 06:01:23
April 15 2015 06:01 GMT
#17
Does anyone knows how much extra time each unit's weapon needed to switch targets compared to firing upon the same unit over and over?


Every unit has a different pre attack animation. It's a different amount of frames. The dragoon has more than half a second. You'd have to test every unit with a stop watch, or with frame measuring software.
If it's stupid but it works, then it's not stupid* (*Or: You are stupid for losing to it, and gotta git gud)
ggrrg
Profile Blog Joined September 2009
Bulgaria2716 Posts
April 15 2015 07:49 GMT
#18
On April 04 2015 17:44 Freakling wrote:
Cannons, and also dragoons, certainly have particularly slow pre-attack animations.

The other effect you are looking out for is probably the influence of the unit command (idle/attack/hold position/attack) on the attack rate and initial attack time.
It has something to do with the order in which the BW engine runs through different unit behaviour checks over the course of multiple frames or something like that.
If I remeber correctly, units on patrol command have an immidiate first attack (minus aforementioned pre-attack animation, of course), but slightly slower attack rate afterwards, whereas units on attack command have the full attack rate, but slightly delayed initial attacks (not sure where idle and hold position lie in the spectrum, but I guess hold position has pretty fast initial attacks, because you can use it for muta and dragoon micro quite effectively).

There is an article about the finer details somewhere, I think it was at the BWAI page (whatever that is actually called) somewhere ; if not, maybe it was Staredit.net, but my best bet for detailed documentation about game mechanics would be the former.

EDIT: I think this is it:
https://code.google.com/p/bwapi/wiki/StarcraftGuide#What_are_the_differences_between_Stop_and_Hold_Position?
It's actually explaining the difference between stop and hold position, but I think patrol and attack also make a difference in how quickly the first attack is issued (patrol micro beats attack micro)...


Afaik, hold position and patrol command both result in the pre-attack animation being started right away, since the unit does "remember" the target it had acquired beforehand. Stop command requires the unit to first acquire a target before starting the pre-attack animation. If I remember correctly, the same applies to the a-move. I'm also pretty sure that there is no difference in the attack rate of units after the initial attack no matter what command was used.
Chef
Profile Blog Joined August 2005
10810 Posts
April 15 2015 13:14 GMT
#19
On April 04 2015 18:44 reminisce12 wrote:
question: was this design intentional by the scbw devs?

Kinda like asking if they made the movement speed of vultures different from other units on purpose Somebody had to enter those numbers, and it would have been simpler to keep them the same across the board. But whichever people came to this decision to make units act slightly different was very likely doing so because they liked giving units individual personalities. Someone made the opposite decision with SC2, and attempted to homogenize many values in order to make large armies easier to control, so players would get less frustrated. You have to remember BW was designed before there was ever a pro scene of people dedicating 10 hours a day to practice the game, so it was designed mostly with messing around in mind, low apm users (though they wouldn't have called them that), and people who are just playing for fun and want all the wackiness possible. Nowadays you have to design for people who want their games to look like pro games, and get angry when they don't, if you're making a competitive game. You also have to design a lower learning curve for young adults who buy and play all kinds of games with their no-kids incomes, so a game with a lot of frustrating idiosyncrasies that lose you games when you try to play it competitively is potentially going to scare a lot of people off.

StarBow is an interesting effort, but I think ultimately kind of confusing. It's like you wanna design a whole new game, but you're going to make your game in a custom map in another game over the course of 4 years instead. Then again I guess that's what DOTA is.
LEGEND!! LEGEND!!
iLovePolandKurwa
Profile Joined April 2015
14 Posts
April 16 2015 23:09 GMT
#20
On April 04 2015 18:44 reminisce12 wrote:
question: was this design intentional by the scbw devs?



no way
FakeSteve[TPR]
Profile Blog Joined July 2003
Valhalla18444 Posts
April 17 2015 01:02 GMT
#21
On April 04 2015 16:53 Probemicro wrote:
related

Most Starcraft units have pre-attack animation sequences that must be played before the actual attack occurs. For the Marine, it is "holding up the gun". For the Hydralisk, it is "opening the mouth"..


you mean opening the hood on their neck/shoulders that houses all their spines. It's 2015. Hydras don't spit acid, people!
Moderatormy tatsu loops r fuckin nice
Normal
Please log in or register to reply.
Live Events Refresh
SC4ALL
14:00
SC4ALL - Day 1
Artosis645
PiGStarcraft486
RotterdaM371
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Artosis 645
PiGStarcraft486
RotterdaM 371
ProTech107
StarCraft: Brood War
NaDa 89
League of Legends
JimRising 29
Counter-Strike
Stewie2K1644
Heroes of the Storm
Khaldor169
Other Games
FrodaN3547
Grubby3421
summit1g3408
KnowMe200
WinterStarcraft143
Livibee72
ViBE66
Mew2King35
Organizations
Other Games
gamesdonequick1811
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• Hupsaiya 62
• RyuSc2 59
• musti20045 34
• davetesta20
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• HerbMon 13
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21480
League of Legends
• Doublelift4025
• Lourlo264
• HappyZerGling112
• Stunt92
Other Games
• Scarra1565
Upcoming Events
BSL Team A[vengers]
13h 30m
Cross vs Sobenz
Sziky vs IcaruS
SC4ALL
14h 30m
SC4ALL
14h 30m
BSL 21
18h 30m
Replay Cast
1d 8h
Wardi Open
1d 11h
Monday Night Weeklies
1d 16h
Replay Cast
1d 22h
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
2 days
[ Show More ]
Replay Cast
3 days
WardiTV Korean Royale
3 days
The PondCast
4 days
Korean StarCraft League
6 days
CranKy Ducklings
6 days
IPSL
6 days
dxtr13 vs OldBoy
Napoleon vs Doodle
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
SC4ALL: Brood War
SC4ALL: StarCraft II
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
Esports World Cup 2025

Upcoming

YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 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.