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.
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 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
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 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
Please log in to shout.


Members Online: NudeRaider, Roy