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.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: Revenant, jun3hong