• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:21
CEST 17:21
KST 00:21
  • 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
[ASL19] Finals Recap: Standing Tall8HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL44Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster How does the number of casters affect your enjoyment of esports? Weekly Cups (June 23-29): Reynor in world title form?
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Help: rep cant save Flash Announces Hiatus From ASL BW General Discussion [ASL19] Finals Recap: Standing Tall
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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 Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 597 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
6174 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 States10668 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
Bisutopia19229 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
Netherlands4985 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
Next event in 39m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mcanning 115
StarCraft: Brood War
Britney 41282
Rain 4707
Sea 3435
Jaedong 1978
EffOrt 1047
Stork 408
BeSt 375
ZerO 348
actioN 217
Snow 160
[ Show more ]
Light 140
ToSsGirL 127
Mong 85
hero 78
Sharp 68
Mind 59
Shinee 50
Rush 49
sSak 37
Sea.KH 32
PianO 22
Nal_rA 20
Terrorterran 19
yabsab 16
scan(afreeca) 12
zelot 10
GoRush 10
Sacsri 9
IntoTheRainbow 7
sorry 7
soO 7
JulyZerg 6
Dota 2
qojqva3412
Gorgc2318
Counter-Strike
markeloff558
edward85
kRYSTAL_82
Super Smash Bros
Mew2King141
Other Games
hiko1230
DeMusliM821
Happy414
crisheroes394
Lowko355
FrodaN319
B2W.Neo219
ArmadaUGS128
KnowMe103
Pyrionflax99
QueenE54
Trikslyr35
ZerO(Twitch)23
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 15
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 28
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis7874
• TFBlade1179
Upcoming Events
WardiTV European League
39m
ByuN vs NightPhoenix
HeRoMaRinE vs HiGhDrA
Krystianer vs sebesdes
MaxPax vs Babymarine
SKillous vs Mixu
ShoWTimE vs MaNa
Replay Cast
8h 39m
RSL Revival
18h 39m
herO vs SHIN
Reynor vs Cure
OSC
21h 39m
WardiTV European League
1d
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
1d
Korean StarCraft League
1d 11h
CranKy Ducklings
1d 18h
RSL Revival
1d 18h
FEL
2 days
[ Show More ]
Sparkling Tuna Cup
2 days
RSL Revival
2 days
FEL
2 days
BSL: ProLeague
3 days
Dewalt vs Bonyth
Replay Cast
4 days
Replay Cast
4 days
The PondCast
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
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
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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.