• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:49
CEST 01:49
KST 08:49
  • 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
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7Weekly Cups (June 30 - July 6): Classic Doubles7[BSL20] Non-Korean Championship 4x BSL + 4x China10Flash Announces Hiatus From ASL76
StarCraft 2
General
The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread Weekly Cups (June 30 - July 6): Classic Doubles Server Blocker RSL Season 1 - Final Week
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event $5,100+ SEL Season 2 Championship (SC: Evo) $25,000 Streamerzone StarCraft Pro Series announced Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Flash Announces Hiatus From ASL BW General Discussion A cwal.gg Extension - Easily keep track of anyone Script to open stream directly using middle click
Tourneys
2025 ACS Season 2 Qualifier [Megathread] Daily Proleagues Small VOD Thread 2.0 Last Minute Live-Report Thread Resource!
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread CCLP - Command & Conquer League Project The PlayStation 5 Nintendo Switch 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Accidental Video Game Porn Archive Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 630 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 States10670 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
6174 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
Croatia9498 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 States10670 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
BSL20 Non-Korean Champi…
18:00
RO8 Round Robin Group - Day 1
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
ZZZero.O186
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 175
ProTech64
RuFF_SC2 12
StarCraft: Brood War
ZZZero.O 186
NaDa 78
Dota 2
monkeys_forever214
canceldota80
League of Legends
Grubby4667
JimRising 407
Heroes of the Storm
Khaldor312
Other Games
summit1g10705
ViBE213
Livibee96
Trikslyr65
Liquid`Ken4
Organizations
Other Games
gamesdonequick59216
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• davetesta90
• musti20045 41
• HeavenSC 33
• Hupsaiya 19
• tFFMrPink 12
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Pr0nogo 4
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22592
League of Legends
• Doublelift4276
• Jankos1986
Other Games
• imaqtpie1973
Upcoming Events
Sparkling Tuna Cup
10h 11m
RSL Revival
10h 11m
Classic vs Clem
FEL
15h 11m
Elazer vs Spirit
Gerald vs MaNa
BSL20 Non-Korean Champi…
18h 11m
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Wardi Open
1d 11h
Replay Cast
2 days
WardiTV European League
2 days
PiGosaur Monday
3 days
uThermal 2v2 Circuit
3 days
Replay Cast
4 days
[ Show More ]
The PondCast
4 days
Replay Cast
5 days
Epic.LAN
5 days
CranKy Ducklings
6 days
Epic.LAN
6 days
BSL20 Non-Korean Champi…
6 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Liquipedia Results

Completed

KCM Race Survival 2025 Season 2
HSC XXVII
NC Random Cup

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.