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



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.




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.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: zsnakezz, jun3hong