|
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
|
|
|
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.
|
United Arab Emirates9 Posts
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.
|
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!
|
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.
|
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.
|
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.
|
This is some really in depth Zen stuff here, really diving deep into the Zerg to figure them out. I like your style.
|
United Arab Emirates9 Posts
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.
|
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
|
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.
|
Once you figured that stuff out, please update the Wiki and link to this discussion / your findings.
|
|
I'm perplexed at how we are disecting this in 2015
|
Bisutopia19137 Posts
That answer is amazing. The math was like a brain massage it felt so good to read.
|
But why does it work with 2 counters? Why is this variance included? Very interesting.
|
Japan11285 Posts
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.
|
Netherlands4641 Posts
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.
|
|
|
|