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.

None.

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:

Rs_yes-im4real - Clan Aura - jjf28.net84.net

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.

[06:01 am]

NudeRaider -- youarenotworthyyouarenotworthy shouted: Is there a post somewhere that details how to get started with EUD?

not just somewhere but stickied in UMS Assistance! http://www.staredit.net/topic/7993/[05:57 am]

NudeRaider -- UltravioletUltraviolet shouted: I found results for qwertz, is it this? https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/KB_Germany.svg/550px-KB_Germany.svg.png

yep[02:47 am]

youarenotworthy -- I looked at the AI ability requirements you sent me before, but I don't really understand any of it.[02:37 am]

Roy -- It would be easier to just meet the AI requirements: http://www.staredit.net/topic/13823/[02:22 am]

Roy -- For some reason I have the ability to check it via condition in EUDGen but not set it with an action, so I'm guessing at least some of them don't work as expected as EUD actions. Or I'm just bad and forgot to include them.