Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Size of a zealot
Size of a zealot
Feb 3 2010, 3:32 am
By: stickynote  

Feb 3 2010, 3:32 am stickynote Post #1



The wiki says the size of a zealot is 27x23, which, when I input as an inverted location, does not detect that the zealot is there. Does anyone know the size of a zealot? Or is there a way to find out if no one knows?

Ok, using paint, counted the number of pixels, and I counted 23(width)x19(height). I made an inverted location (left,top,right,bottom) (23,19,0,0) and centered it on a zealot and it doesn't detect the zealot. I thought the unit size was wrong, but now I'm not sure. Is something wrong with the inverted location?

Post has been edited 1 time(s), last time on Feb 3 2010, 3:42 am by stickynote.



None.

Feb 3 2010, 3:49 am Hercanic Post #2

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

The actual unit dimensions (that is, collision detection, not graphic size) in units.dat are 23 pixels wide by 19 pixels high. There is a vertical bias, where from the center of the GRP the unit dimensions are 5 pixels above and 13 pixels below. This means the head and the top of the shoulders are not included in the Zealot's collision detection.

The dimensions you list are the size of the Zealot's Placement Box, which is relevant to StarEdit placement and building placement.

Post has been edited 1 time(s), last time on Feb 3 2010, 3:57 am by Hercanic.




Feb 3 2010, 3:51 am Aristocrat Post #3



http://wiki.teamliquid.net/starcraft/List_of_Unit_and_Building_Sizes

Team Liquid states that it's 23x19, but why is your inverted location not detecting? You should not need an exact size.



None.

Feb 3 2010, 3:52 am NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

All I can tell you is that you can check datedit to get the true size of the unit.
Also when counting pixel you have to count the collision box scmdraft shows when placing units, not the unit itself.




Feb 3 2010, 3:52 am Kenoli Post #5



Like most units, the center point of a Zealot is not actually in the center of the unit.
The size of a zealot is 11,11,5,13 (left,right,up,down), or 23x19.


Try making the inverted location smaller to detect it.



None.

Feb 3 2010, 3:55 am stickynote Post #6



22x18 inverted location doesn't detect it either. Does the vertical bias affect the way the inverted location should be?
@nude, I counted collision box.



None.

Feb 3 2010, 4:07 am Kenoli Post #7



Make it 22x10.



None.

Feb 3 2010, 4:59 am Ultraviolet Post #8

We do a little trolling

Just make it like 5x5 then increase each dimension individually until it doesn't detect anymore, then reduce it by 1. Do that for both sides and you've got it.



My Projects:

Impossible Ultraviolet | Impossible UV 2 | Impossible UV 3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

Feb 3 2010, 5:05 am Vrael Post #9



Use the zoom function on SCMDraft then make the location while zoomed, its worked for me before with goliaths. Should work with zealots?



None.

Feb 3 2010, 5:50 am rockz Post #10

ᴄʜᴇᴇsᴇ ɪᴛ!

This exact problem has occurred twice before.

This is why we use the search tool. Anything smaller than or equal to a 23x12 location works. Remeber that a 0,0,0,0 location is a 1x1 location.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Feb 3 2010, 6:08 am stickynote Post #11



A real quick, related question: Does a unit only need to be touching an edge of an inverted location to count as in?



None.

Feb 3 2010, 7:29 am rockz Post #12

ᴄʜᴇᴇsᴇ ɪᴛ!

No.
Quote from wiki
A unit is registered as inside a location if any part of the unit is right of the location's left border, left of the right border, below the top border and above the bottom border
See this thread for more on the subject.

When you make your inverted location, the non-inverted location should horizontally look like my last post's picture of the tank. The location should be 1 smaller than the hitbox. The vertical distance should be 12 pixels, counting 0 (ie put 100 and 111 in the bottom and top coordinates respectively. 111-100=11, but if you count 100, it's 12.)



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:43 am]
Symmetry -- I'm doing my best, damn it
[04:46 pm]
Ultraviolet -- @:@
@:@ shouted: this community still going strong?
Still going.. strong is debatable though.
[04:13 pm]
WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
[04:11 pm]
WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
[04:10 pm]
WeirdoX4857 -- Where is everybody
[01:21 pm]
@:@ -- this community still going strong?
[2026-9-27. : 4:30 pm]
Oh_Man -- yeah, probs
[2026-9-27. : 3:11 pm]
NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
[2026-9-27. : 3:09 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
[2026-9-27. : 2:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
Please log in to shout.


Members Online: Ultraviolet