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.
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: RIVE