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.



None.

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:




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

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.
[06:01 am]
NudeRaider -- youarenotworthy
youarenotworthy 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 -- Ultraviolet yep
[03:09 am]
RdeRenato -- with weapon* i need a medic with grenade launcher
[03:09 am]
RdeRenato -- x2
[02:48 am]
youarenotworthy -- Is there a post somewhere that details how to get started with EUD?
[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:41 am]
Roy -- Or do you mean giving the medic a weapon?
[02:37 am]
Roy -- It would be easier to just meet the AI requirements: http://www.staredit.net/topic/13823/
[02:32 am]
RdeRenato -- Is it possible to make the medic attack with EUD?
[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.
Please log in to shout.


Members Online: Roy, jun3hong