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?
Dec 8 2018, 4:33 pm
By: sethmachine  

Dec 8 2018, 4:33 pm sethmachine Post #1



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?

Code
DC = startValue;

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.

Dec 8 2018, 4:40 pm lifebot Post #2



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.




Dec 8 2018, 7:33 pm Roy Post #3

An artist's depiction of an Extended Unit Death

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.




Dec 9 2018, 1:05 am jjf28 Post #4

Cartography Artisan

Have a math graphic:




TheNitesWhoSay - Clan Aura - github

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

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:40 am]
Ultraviolet -- :wob:
[10:31 pm]
RIVE -- :wob:
[2021-10-25. : 9:59 pm]
UndeadStar -- :wob:
[2021-10-25. : 8:39 pm]
KrayZee -- :wob:
[2021-10-25. : 5:40 pm]
lil-Inferno -- :wob:
[2021-10-25. : 9:27 am]
Moose -- :wob:
[2021-10-24. : 12:54 pm]
Ultraviolet -- :wob:
[2021-10-22. : 8:31 pm]
O)FaRTy1billion[MM] -- :wob:
[2021-10-22. : 6:07 pm]
UndeadStar -- :wob:
[2021-10-22. : 12:00 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Roy, Zergy, KrayZee