Attack speed
Mar 25 2009, 5:48 am
By: rockz  

Apr 27 2009, 6:28 pm ForTheSwarm Post #21



Quote from name:Zachary Taylor
If you explain what wait 1 means, then sure, but this doesn't tell me anything as to why my brood doesn't have exactly 15 fpa.

Wait 1 = 1/10 of a second ~=~ 1.5 cooldown.



None.

Apr 28 2009, 5:22 am rockz Post #22

ᴄʜᴇᴇsᴇ ɪᴛ!

That makes even less sense.

A broodling attacks a unit ->
Frame 1 7
Frame 2 7
Frame 3 8
Frame 4 9 Cooldown 15
Frame 5 9 14
Frame 6 10 13
Frame 7 11 12
Frame 8 11 11
Frame 9 11 10
Frame 10 11 9
Frame 11 11 8
Frame 12 11 7
Frame 13 11 6
Frame 14 11 5
Frame 15 11 4
Frame 16 11 3
Frame 17 11 2
Frame 18 11 1
Frame 19 11 Goto wherever repeat goes.

That means one attack would take 18-19 frames. If it's wait 1 frame, it's still 17-18 frames.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 28 2009, 2:12 pm A_of-s_t Post #23

aka idmontie

The broodling only has wait 4 in the attack script, plus the cooldown. There, done, simple.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Apr 28 2009, 5:58 pm rockz Post #24

ᴄʜᴇᴇsᴇ ɪᴛ!

15+wait(4)=15.57?

Looking at the cooldown timer in game yields some interesting results. The cooldown ranges from cooldown-1 to cooldown +2, yielding an average attack of cooldown + .5. I believe stimmed rines have a cooldown of 7, but there's something finicky with the iscript which makes them not attack again, and I think they go through a 3 frame delay every so often, which pushes it up again.

Post has been edited 1 time(s), last time on Apr 28 2009, 10:59 pm by Zachary Taylor.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: 2milae562fM6, RIVE, C(a)HeK