Xiphias Profile Blog Joined May 2010 Norway 2219 Posts Last Edited: 2015-07-22 14:16:02 #1



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:



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): 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.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 States 1173 Posts #2 Post your question here: http://www.staredit.net/ http://www.reddit.com/r/broodwar/

Xiphias Profile Blog Joined May 2010 Norway 2219 Posts #3 Thanks, will do! aka KanBan85. Working on Starbow.

Tadah Profile Joined February 2010 Sweden 120 Posts #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 Emirates 9 Posts #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 Sweden 120 Posts #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! 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 Norway 2219 Posts #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. 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 5961 Posts #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. 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 States 1571 Posts #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! 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.





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 States 10256 Posts #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 Emirates 9 Posts #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 States 1173 Posts #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 Norway 2219 Posts #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. 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 Germany 1948 Posts #14 Once you figured that stuff out, please update the Wiki and link to this discussion / your findings. "Was macht Gecko da aus meiner BWCL." - Annihilator

Xiphias Profile Blog Joined May 2010 Norway 2219 Posts #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 States 1173 Posts #16 I'm perplexed at how we are disecting this in 2015 http://www.reddit.com/r/broodwar/

BisuDagger Profile Blog Joined October 2009 Bisutopia 17617 Posts #17 On July 22 2015 19:27 Xiphias wrote:

I think we have an answer here: 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. That answer is amazing. The math was like a brain massage it felt so good to read. Moderator Ofiicial Afreeca Starleague Caster: http://afreeca.tv/ASL2ENG2

B-royal Profile Joined May 2015 Belgium 1330 Posts #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 Japan 11276 Posts #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. Writer Movie, 진영화 : "StarCraft will never die".

Peeano Profile Blog Joined March 2009 Netherlands 3141 Posts Last Edited: 2015-07-22 14:49:22 #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! Trying my best to continue TLPD.

1 2 Next All