Code

DC = startValue;

while DC > endValue:

DC -= 1

while DC > endValue:

DC -= 1

Or rather, what's the formula to estimate the seconds it takes if a DC is at some startValue and is decremented by 1 until it reaches an endValue?

None.

Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How to calculate DC timer in seconds with hyper triggers?

How to calculate DC timer in seconds with hyper triggers?

This is probably a simple calculation, but if I have hyper triggers in my map, how many seconds in real time will it take for a DC to be 0 if it's decremented every cycle?

Or rather, what's the formula to estimate the seconds it takes if a DC is at some startValue and is decremented by 1 until it reaches an endValue?

Code

DC = startValue;

while DC > endValue:

DC -= 1

while DC > endValue:

DC -= 1

Or rather, what's the formula to estimate the seconds it takes if a DC is at some startValue and is decremented by 1 until it reaches an endValue?

None.

17 DC = 1 real life second

with hyper triggers at #x2.99

Post has been edited 1 time(s), last time on Dec 9 2018, 8:53 am by lifebot.

with hyper triggers at #x2.99

Post has been edited 1 time(s), last time on Dec 9 2018, 8:53 am by lifebot.

Assuming the game speed is on fastest.

A trigger cycle is 84 milliseconds with hyper triggers, so to calculate exactly one second, you divide 1000 milliseconds by 84.

1000 / 84 = ~11.9047619

Therefore, approximately 12 DCs is equivalent to one second.

A trigger cycle is 84 milliseconds with hyper triggers, so to calculate exactly one second, you divide 1000 milliseconds by 84.

1000 / 84 = ~11.9047619

Therefore, approximately 12 DCs is equivalent to one second.

Learn how EUDs work: __A Mapmaker's Guide for Creating EUDs__

Don't like learning?:__EUDGen 2__

Other stuff:__Farlap__ __Bound Maker__

Dash:__1__ __2__ __3__ __4__ __5__ __6__ __7__ __8__ __9__ __X__

Jog:__Original__ __Warp__

Other:__Super Mario SC__ __Fireball__ __Guard Your Civilian__ __Strength Contest__

Don't like learning?:

Other stuff:

Dash:

Jog:

Other:

Have a math graphic:

TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Options

Pages: 1

Back to forum
Please log in to reply to this topic or to report it.

Members in this topic: None.