| 06-11-2006, 08:13 PM | #1 |
I recently began using the War3ModelEditor to make some small changed to the ingame Blizzard models. I tried removing the hero-glow from a deathknight and giving him a darker texture. It all works nicely, except for the model's attachment points. I haven't tested the other attachments, but it seems the origin and overhead refs are not used correctly. They both seem to point to the last attachment in line, which is the overhead in this case. If I change the coords of the overhead to (0,0,0), both the overhead and origin appear at 0,0,0. I even tried adding another origin attachment point after the overhead and noticed this one was now being used. From the .mdl: Code:
Attachment "Origin Ref" {
ObjectId 89,
AttachmentID 0,
}
Attachment "OverHead Ref" {
ObjectId 90,
AttachmentID 0,
}With the pivotpoints: Code:
{ -0.896102, 0.600088, 0.0480423 },
{ -0.8961, 0.600088, 152.28 },Does anyone know what is wrong and how to fix this? |
| 06-11-2006, 08:24 PM | #2 |
Magos' model editor has been known to bacon around with pivot points in some cases. All I can suggest right now is that you save it to MDL text, and make sure that the points do match the objects... Which may be hard, since you're going to have to count down the pivots from 0 to 89... ![]() |
| 06-11-2006, 08:34 PM | #3 |
I already did just that. Using the linenumbers in notepad can be very useful sometimes :) I found the right coords matching the objectID's of the attachments. Note that in game, both the attachment points appear above the unit's head. If I change just overhead to (0,0,0), both points appear at the feet. |
| 06-12-2006, 12:05 AM | #4 |
I suggest that you remove those loathsome AttachmentID lines. |
| 06-12-2006, 03:51 AM | #5 |
Yeah, it sounds like something has buggered up your attachment points, i suggest you remake them. |
| 06-12-2006, 06:16 AM | #6 |
I just removed the attachmentID lines. It works great now :) I suppose those ID's are a bit useless and having them both at 0 causes override or something. Thanks for the help ![]() |
| 06-12-2006, 11:00 AM | #7 |
Interesting, I'll have to take note of that one. AttachmentID lines, GeosetID and GeosetAnimID lines in bones; they all seem to cause nothing but trouble. |
| 06-13-2006, 07:43 PM | #8 |
I got a similar problem i tried to add heros glow to a edited unit model and it appear overhead even if a attach in origin. Update:Problem...solved as you said i just removed attachement id line,and since this day i'm happy. |
| 06-14-2006, 09:13 PM | #9 |
Gerroff me i know im posting off-topic... Well RDZ another thing to add to your vast knowledge of mdl editing ;) |
