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.
[09:16 pm]
ihjel -- No bots online :omfg:
[08:15 pm]
Moose -- o, I thought it was EUD, gg
[03:58 am]
Symmetry -- Reindeer breeding 2 is not EUD and errors when I try to upload
[2026-11-19. : 12:26 am]
Moose -- Symmetry
Symmetry shouted: yeah uploading for me has been a 50/50 toss up here lately
certain EUD maps segfault the map parser, :farty: ignore me the last time I complain at him. :crybaby:
[2026-11-18. : 5:18 pm]
NudeRaider -- NimoStar
NimoStar shouted: isn't that only for maps?
yes
[2026-11-18. : 3:34 am]
Symmetry -- yeah uploading for me has been a 50/50 toss up here lately
[2026-11-17. : 7:55 pm]
NimoStar -- isn't that only for maps?
[2026-11-17. : 5:52 pm]
NudeRaider -- use scmscx.com
[2026-11-17. : 4:39 pm]
NimoStar -- While I can download, uploading is another story (771 kb file)
Please log in to shout.


Members Online: Rawflesh0615, Decency, Zakerozi, armitage