HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Selection size for model too small.. help.

07-17-2004, 09:18 AM#1
HexenLordX
I created a model in the shape of a sphere, and added it to my map. The size of the model was INCREDIBLY small. (I'm using milkshape). I changed the scale value to 10 to make it the desired size. I noticed in-game I couldn't click on the model because the selection size for it was still the same size. I opened up the WE and under items, the selection size only works in the editor for items. So I made this topic: http://www.wc3campaigns.com/showthread.php?t=60332

I tried everything and it didn't work. I opened milkshape back up and rescaled the model to 10 times its normal size. I re-imported into the WE and placed it. Again, I still have no luck. This is in the bottom of my .mdl

Code:
PivotPoints 1 {
	{ -22.499989, -0.250000, 37.750008 },
}
CollisionShape "Collision" {
	ObjectId 1,
	Sphere,
	Vertices 1 {
		{ -22.499989, -0.250000, 37.750008 },
	}
	BoundsRadius 60.0000,
}

Can anyone help me out here? I can't even pick these items up. Ill send the .mdl if anyone thinks they can fix it for me.
07-17-2004, 04:14 PM#2
Oinkerwinkle
Code:
PivotPoints 1 {
	{ -22.499989, -0.250000, 37.750008 },
}

Should be...

Code:
PivotPoints 2 {
	{ 0, 0, 0},
	{ -22.499989, -0.250000, 37.750008 },
}

If it still doesn't work after that, you can send/upload it and I should be able to figure out the problem.
07-17-2004, 05:01 PM#3
HexenLordX
I attached the model.. It still didn't work.

Thx.
07-17-2004, 05:48 PM#4
Oinkerwinkle
Here's a working one.

It doesn't look like you did anything wrong, based on what I told you, but I'm evidently missing something. After some testing, I figured out that it was the little section at the top that was messing it up. As far as I knew (or knew anyone knew), that section was just for the reader's information. But I guess not. Anyway, I had to add these three lines.
Code:
	MinimumExtent { -45.5, -22.95, 14.55 },
	MaximumExtent { 0.4, 23.0499, 60.45 },
	BoundsRadius 23.1454,

I wish I could tell you more, but I've never seen those needed before.

On another topic, the Milkshape exporter messes up normals. Get the MDL Finalizer here and follow the help menu to fix them. In case you don't know, normals determine shading/lighting. It's not overly noticeable on that sphere, but it's pretty blatent on some models.
07-17-2004, 05:50 PM#5
HexenLordX
Well, it looks like we've both learned something here. Thanks for the help.
07-17-2004, 09:18 PM#6
Whitehorn
You can change the selection size in World Editor.
07-29-2004, 08:17 AM#7
HexenLordX
Quote:
Originally Posted by Whitehorn
You can change the selection size in World Editor.

You can only change the selection size of units in the world editor. Theres option to change selection size of items in the world editor, but if you look, it says Scale - Selection - Editor, and the changes are only visible in the world editor. I was making an item, not a unit. I tried changing the selection size of it 10 times what it was, and still got no visible changes. Oinkerwinkle fixed my problem, however, but thanks anyway.