Fast Upgrades
May 17 2008, 11:45 am
By: Razor  

May 19 2008, 5:45 pm Heimdal Post #21



Quote from Daedalus
Now that's fun: a method to detect your OS. To bad it crashes you when you have the wrong one though :P.
$10 says there's a EUD condition that will do that easier and without crashing.

For those curious, build times are stored in 15ths of a second, and it's stored in a 2-byte unsigned integer. SCMDraft and StarForge let you type in the value in 15ths of a second directly, so typing in 0 is what you want. Staredit and its variants (SCXE, etc) make you type in the number of seconds, and then multiply that number by 15 when you save the value. If the number you type in multiplied by 15 is greater than 65535 (the max value of an unsigned int), it wraps around.

4370 * 15 = 65550; 65550 - 65536 = 14, which is less than 15, so it shows up as 0.



None.

May 20 2008, 12:42 am O)FaRTy1billion[MM] Post #22

👻 👾 👽 💪

I just remember it as one more than 65535/15 (which happens to be 4369, the largest possible value without cutting off.)



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 20 2008, 5:17 am Vi3t-X Post #23



Lets just answer his question:

Time: 0 or anything that will "equal" zero.
Cost: Whatever you want.
UF: This will be added to the Cost + any previous ups.
Basically

Total Cost = c + (n x Q)
Substitute "Q" for the amount of ups researched//teched.



None.

May 20 2008, 5:23 pm Heimdal Post #24



Quote from Vi3t-X
Lets just answer his question:

Time: 0 or anything that will "equal" zero.
Cost: Whatever you want.
UF: This will be added to the Cost + any previous ups.
Basically

Total Cost = c + (n x Q)
Substitute "Q" for the amount of ups researched//teched.
That's not a good answer, because entering 4370 in SF or SCMDraft will not give you 0 build time, and you can't enter 0 in SE or its derivatives. The question's been answered, I think...or the OP hasn't come back with more questions.



None.

May 21 2008, 10:57 pm Razor Post #25



lol it seems fast upgrades even when set to zero do not behave as you would expect on single player which i was testing the map on. once i played it on bnet, it worked fine. strange though how single player can mess a map up :S



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:36 pm]
Wing Zero -- Bop em
[02:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: jun3hong