| 06-06-2004, 08:50 PM | #1 |
What I'm trying to do, is add an item onto the head of a unit, but do it with mdl editing. At the moment, I've got the item on the model, but instead of being on his head and moving with it, it just floats on top of it. So does anyone know how I can make it replace his head, and move along with it? and if it helps, here's the code: Code:
Attachment "Head - Ref" {
ObjectId 49,
Path "item.MDL",
Visibility 1 {
DontInterp,
20967: 0,
}
} |
| 06-06-2004, 11:17 PM | #2 |
You need to give it a "Parent". First find the ObjectId of the bone you want to attach it do (head?). If it was head, then just search for "Head" until you come across something like Bone "Bone_Head" {. Make a note of its ObjectId. After the ObjectId line on your attachment, put "Parent theObjectIdOfTheBone," and it should follow. |
| 06-07-2004, 02:06 AM | #3 |
oooooo! awsome, many thanks, you are god :D |
