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.
[09:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[08:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[08:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[06:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[03:20 pm]
l)ark_ssj9kevin -- le reddit
[02:55 pm]
Moose -- >reddit :rip2:
[02:07 pm]
IskatuMesk -- reddit 💀
[2026-5-30. : 1:31 pm]
l)ark_ssj9kevin -- DarkenedFantasies
DarkenedFantasies shouted: FaRTy1billion Ah, crap! This landing site doesn't have any minerals!
sick refeernce
[2026-5-30. : 10:39 am]
NudeRaider -- Are you frigging kidding me? Such an impactful patch in this economy? https://www.youtube.com/watch?v=fYsP29E-FUs
Please log in to shout.


Members Online: Symmetry