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:18 am]
Symmetry -- Make maps for the memes :hurr:
[2026-10-30. : 8:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[2026-10-30. : 8:03 pm]
lil-Inferno -- u
[2026-10-30. : 7:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[2026-10-30. : 6:55 am]
UndeadStar -- :wob:
[2026-10-30. : 2:28 am]
Symmetry -- :wob:
[2026-10-29. : 9:17 pm]
RIVE -- :wob:
[2026-10-29. : 7:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[2026-10-29. : 4:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
Please log in to shout.


Members Online: Butch