Exact Unit Size
Jun 29 2008, 2:05 am
By: jandii  

Jun 29 2008, 2:05 am jandii Post #1



I'm using some inverted locations, and I'm manually testing how small they need to be so that if the unit moves 1px, then is not detected (and snapped back).

So a corsair is minimum 48px wide by 33px high, and a ghost is 14px wide by 21px high etc.

Is there research on this already, or a program which tells you how big the units are? It would just save me tons of trial and error.



None.

Jun 29 2008, 2:22 am Brontobyte Post #2



I'm pretty sure that you can go into Scmdraft 2 -> Debug -> Enable Debug. Then: Debug -> Show Unit Collision Size. This is the actual size of the units. You will just have to make a fake location over top of the units to find out there exact size in pixels.



None.

Jun 29 2008, 2:25 am Impeached Post #3



You could also go into DatEdit and find the unit's exact size.



None.

Jun 29 2008, 3:18 pm Pyro682 Post #4



If you want only the sizes for just a small amount of units, open up SCMDraft 2, and then click the unit you want to check out the size and drag mouse out to middle of screen. Count the pixels in the box. The red/green lines are included in the unit's size. If youre looking for sizes of a ton of units, then i suggest not doing this, because counting pixels is slow, but if its for like 4 or 5 units, go for it. :D



None.

Jun 29 2008, 8:14 pm O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

...Or you could open DatEdit and look at the unit's exact size given to you as a number. No counting pixels necessary.



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!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
Please log in to shout.


Members Online: Oh_Man