• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:47
CET 18:47
KST 02:47
  • 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
[ASL20] Finals Preview: Arrival10TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
Merivale 8 Open - LAN - Stellar Fest3Chinese SC2 server to reopen; live all-star event in Hangzhou22Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET10Weekly Cups (Oct 6-12): Four star herO8
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Could we add "Avoid Matchup" Feature for rankgame Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
Crank Gathers Season 2: SC II Pro Teams Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4 Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
ASL20 Pre-season Tier List ranking! [ASL20] Finals Preview: Arrival Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/ BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Grand Finals ASL final tickets help [ASL20] Semifinal A Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Roaring Currents ASL final Relatively freeroll strategies
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV
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
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 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
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1460 users

Larva spawn time.

Forum Index > BW General
Post a Reply
1 2 Next All
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
Last Edited: 2015-07-22 14:16:02
July 20 2015 19:56 GMT
#1
Sorry if this topic is too hard on tiny details, but it's important to me.

According to liquipedia both worker build time and larva spawn time is the same at 20 seconds on normal game speed.

http://wiki.teamliquid.net/starcraft/Larva_(Unit)

http://wiki.teamliquid.net/starcraft/Drone

BWAPI website confirms this with Drones at 300 frames with equals 20 sec on normal speed: https://code.google.com/p/bwapi/wiki/UnitTypes#Zerg_Drone

There is sadly no info on larva spawn time from hatcheries there.

I have done some Starbow vs Brood War test with larva spawn time and there seems to be a tiny bit more time for larva to spawn than for drones to be built. I cannot confirm this anywhere, and it might just be some animation differences.

Could someone with a decent mpq reader and some programming skills find the exact amount of frames it takes for larva to spawn from a hatchery?

Edit: Best answer so far (I think): http://www.staredit.net/topic/16810/#5
aka KanBan85. Working on Starbow.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
July 20 2015 19:59 GMT
#2
Post your question here: http://www.staredit.net/
http://www.reddit.com/r/broodwar/
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
July 20 2015 20:37 GMT
#3
Thanks, will do!
aka KanBan85. Working on Starbow.
Tadah
Profile Joined February 2010
Sweden120 Posts
July 21 2015 04:22 GMT
#4
Ok I might be mistaken here but, to my knowledge Liquipedia used to state that the spawn time for Larvae was 14 seconds [in game time (at the normal setting, I think)], which is in correspondence with how fast they seem to spawn in comparison to Drones.

But do let us know what number you eventually find. I am betting the 14 seconds (210 frames) is on the money.
avenmarine
Profile Joined May 2012
United Arab Emirates9 Posts
July 21 2015 05:43 GMT
#5
I ran a test using BWAPI, just counting the frames on just a plain hactery. It gave inconsistent results weirdly. I got 335, 337, 339, 345, and a few random ones up to 400. BUT 337 to 345 was extremely common. I'm completing guessing but maybe it only runs the check ever so often (instead 1 decrement each frame) and just carries over the difference to the next larva. Or it could just be a weird BWAPI anomaly. I think 340 frames is a safe guess though.

Tadah
Profile Joined February 2010
Sweden120 Posts
July 21 2015 06:13 GMT
#6
On July 21 2015 14:43 avenmarine wrote:
I ran a test using BWAPI, just counting the frames on just a plain hactery. It gave inconsistent results weirdly. I got 335, 337, 339, 345, and a few random ones up to 400. BUT 337 to 345 was extremely common. I'm completing guessing but maybe it only runs the check ever so often (instead 1 decrement each frame) and just carries over the difference to the next larva. Or it could just be a weird BWAPI anomaly. I think 340 frames is a safe guess though.


Wait, so the Larva spawn-interval is actually longer than the spawn time for Drones?! That's very unexpected. 340 seconds would then mean that the liquipedia-time/normal game-time should be about 22.666... ~ 22.5 seconds. Makes you wonder what, if any, significance that the developers saw in that specific spawn-interval. One might be able to get some information on that from the patch-logs.

Anyways, nice investigative work avenmarine!
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
July 21 2015 07:42 GMT
#7
On July 21 2015 14:43 avenmarine wrote:
I ran a test using BWAPI, just counting the frames on just a plain hactery. It gave inconsistent results weirdly. I got 335, 337, 339, 345, and a few random ones up to 400. BUT 337 to 345 was extremely common. I'm completing guessing but maybe it only runs the check ever so often (instead 1 decrement each frame) and just carries over the difference to the next larva. Or it could just be a weird BWAPI anomaly. I think 340 frames is a safe guess though.



That's interesting. When I was running a test where I constantly made workers off of one hatch it seemed to sometimes line up with the drone and sometimes it would pop a tad later. The larva spawn time may have a random element to it.
aka KanBan85. Working on Starbow.
Piste
Profile Blog Joined July 2006
6180 Posts
July 21 2015 12:52 GMT
#8
On July 21 2015 14:43 avenmarine wrote:
I ran a test using BWAPI, just counting the frames on just a plain hactery. It gave inconsistent results weirdly. I got 335, 337, 339, 345, and a few random ones up to 400. BUT 337 to 345 was extremely common. I'm completing guessing but maybe it only runs the check ever so often (instead 1 decrement each frame) and just carries over the difference to the next larva. Or it could just be a weird BWAPI anomaly. I think 340 frames is a safe guess though.

Maybe if the egg spawns ON the hatch like it often does, the unit must pop off from the hatchery before it can produce more larva.
Units have different voices and sounds, maybe after larva is selected to build a worker, the sound sprite has to finish before hatch releases more space to another larva? silly guesses but those frame differences are strange too.
[[Starlight]]
Profile Joined December 2013
United States1578 Posts
July 22 2015 00:02 GMT
#9
On July 21 2015 15:13 Tadah wrote:
Show nested quote +
On July 21 2015 14:43 avenmarine wrote:
I ran a test using BWAPI, just counting the frames on just a plain hactery. It gave inconsistent results weirdly. I got 335, 337, 339, 345, and a few random ones up to 400. BUT 337 to 345 was extremely common. I'm completing guessing but maybe it only runs the check ever so often (instead 1 decrement each frame) and just carries over the difference to the next larva. Or it could just be a weird BWAPI anomaly. I think 340 frames is a safe guess though.


Wait, so the Larva spawn-interval is actually longer than the spawn time for Drones?! That's very unexpected. 340 seconds would then mean that the liquipedia-time/normal game-time should be about 22.666... ~ 22.5 seconds. Makes you wonder what, if any, significance that the developers saw in that specific spawn-interval. One might be able to get some information on that from the patch-logs.

Anyways, nice investigative work avenmarine!

That's really strange... I remember Blizzard themselves saying on their own forums that the larvae spawn rate got changed from 15 seconds on Normal (225 frames) to 20 seconds (300 frames) for the 1.04 patch. Would assume that statement was true.

So... they slowed it down more after 1.04? Or is BWAPI a bit off here?

Seems that a second system of measurement should be used to confirm, even if its just a stopwatch.


User was warned for being hilarious
TelecoM
Profile Blog Joined January 2010
United States10682 Posts
July 22 2015 00:37 GMT
#10
This is some really in depth Zen stuff here, really diving deep into the Zerg to figure them out. I like your style.
AKA: TelecoM[WHITE] Protoss fighting
avenmarine
Profile Joined May 2012
United Arab Emirates9 Posts
July 22 2015 01:46 GMT
#11
Did the test again, included lairs/hives. Basically the same story: 335, 444, 337, 337, 336, 336, 343, 347, 337, 335, 339, 339, 341 ,340 ,349, 340, 346, 338, 340, 349, 332, 402, 342. The average time was about 21.7 seconds game time, but again random. Sometimes it was 20, some times it was 22.

I did a similar test with drones, I got exactly 318 frames 8 times in a row. That seems significant to me that it is always the same. There could be some fudginess in whether the animation frames are included (larva->egg and egg->drone)

Based on the averages larva is 20 frames slower than the drone but that *might* overlap with animations.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
July 22 2015 02:22 GMT
#12
If anyone suspects bias from BWAPI, it would be a good idea to cross check the data by recording a video at the same frame rate as SC and then measuring the amount of frames
http://www.reddit.com/r/broodwar/
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
July 22 2015 07:51 GMT
#13
On July 22 2015 10:46 avenmarine wrote:
Did the test again, included lairs/hives. Basically the same story: 335, 444, 337, 337, 336, 336, 343, 347, 337, 335, 339, 339, 341 ,340 ,349, 340, 346, 338, 340, 349, 332, 402, 342. The average time was about 21.7 seconds game time, but again random. Sometimes it was 20, some times it was 22.

I did a similar test with drones, I got exactly 318 frames 8 times in a row. That seems significant to me that it is always the same. There could be some fudginess in whether the animation frames are included (larva->egg and egg->drone)

Based on the averages larva is 20 frames slower than the drone but that *might* overlap with animations.


This is interesting as the BWAPI is listing worker BT as 300 frames as well.
aka KanBan85. Working on Starbow.
GeckoXp
Profile Blog Joined June 2013
Germany2016 Posts
July 22 2015 08:48 GMT
#14
Once you figured that stuff out, please update the Wiki and link to this discussion / your findings.
Xiphias
Profile Blog Joined May 2010
Norway2223 Posts
July 22 2015 10:27 GMT
#15
I think we have an answer here: http://www.staredit.net/topic/16810/#5
aka KanBan85. Working on Starbow.
xboi209
Profile Blog Joined June 2011
United States1173 Posts
July 22 2015 11:55 GMT
#16
I'm perplexed at how we are disecting this in 2015
http://www.reddit.com/r/broodwar/
BisuDagger
Profile Blog Joined October 2009
Bisutopia19293 Posts
July 22 2015 12:19 GMT
#17
On July 22 2015 19:27 Xiphias wrote:
I think we have an answer here: http://www.staredit.net/topic/16810/#5

That answer is amazing. The math was like a brain massage it felt so good to read.
ModeratorFormer Afreeca Starleague Caster: http://afreeca.tv/ASL2ENG2
B-royal
Profile Joined May 2015
Belgium1330 Posts
July 22 2015 14:01 GMT
#18
But why does it work with 2 counters? Why is this variance included? Very interesting.
new BW-player (~E rank fish) twitch.tv/crispydrone || What plays 500 games a season but can't get better? => http://imgur.com/a/pLzf9 <= ||
c3rberUs
Profile Blog Joined December 2010
Japan11286 Posts
July 22 2015 14:39 GMT
#19
I'm more perplexed at why there's a randomization factor included in one' of the game's fundamental mechanics.Or I just didn't understand.
WriterMovie, 진영화 : "StarCraft will never die".
Peeano
Profile Blog Joined March 2009
Netherlands5174 Posts
Last Edited: 2015-07-22 14:49:22
July 22 2015 14:48 GMT
#20
Does latency have any influence? I remember playing Zerg on battle.net and very rarely have a larva pop immediately after I started 3 eggs. Maybe it only was on older patches or perhaps map max had to do with it.
FBH #1!
1 2 Next All
Please log in or register to reply.
Live Events Refresh
RSL Revival
17:00
2025 S3: Europe Qualifier
IndyStarCraft 222
Rex61
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 341
IndyStarCraft 222
Rex 61
MindelVK 16
DisKSc2 3
StarCraft: Brood War
Dewaltoss 165
sas.Sziky 73
Dota 2
qojqva4708
Dendi1283
Fuzer 267
canceldota109
Counter-Strike
fl0m1056
Super Smash Bros
Mew2King67
Heroes of the Storm
Khaldor517
Liquid`Hasu482
Other Games
singsing1922
B2W.Neo1333
KnowMe365
Hui .280
Skadoodle184
capcasts175
mouzStarbuck140
RotterdaM98
ArmadaUGS67
Organizations
Counter-Strike
PGL9913
Other Games
gamesdonequick720
StarCraft 2
angryscii 34
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 80
• davetesta22
• Adnapsc2 11
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• 3DClanTV 68
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• imaqtpie1894
Other Games
• WagamamaTV414
Upcoming Events
Wardi Open
18h 13m
CrankTV Team League
19h 13m
Monday Night Weeklies
23h 13m
Replay Cast
1d 16h
WardiTV Invitational
1d 18h
CrankTV Team League
1d 19h
Replay Cast
2 days
CrankTV Team League
2 days
Replay Cast
3 days
The PondCast
3 days
[ Show More ]
CrankTV Team League
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
CSL 2025 AUTUMN (S18)
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1
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
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
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.