• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Adding Attachment Points?

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2004
Messages
235
Is there a way to add attachment points.

for example- in my case- the model i am working with has no attachment points...i'm looking to add an Origin- and Chest point...

so is there a way to fix this?

If so, i can post this model that i'm finishing

thanks again

-A
 
Level 6
Joined
Sep 23, 2004
Messages
35
Miseracord said:
Is there a way to add attachment points.

for example- in my case- the model i am working with has no attachment points...i'm looking to add an Origin- and Chest point...

so is there a way to fix this?

If so, i can post this model that i'm finishing

thanks again

-A
Sure is, open ur model is notepad, near the top you should see something like this

Model "Gotenks" {
NumGeosets 3,
NumGeosetAnims 2,
NumHelpers 2,
NumBones 18,
NumAttachments 8, //Set attachments here
NumEvents 1,
BlendTime 150,


Just add NumAttachments 8,

After that scroll to the bottom and add this before the pivotpoints section
Attachment "Overhead Ref" {
ObjectId 20,
}
Attachment "Foot Left Ref" {
ObjectId 21,
Parent 3,
}
Attachment "Foot Right Ref" {
ObjectId 22,
Parent 6,
}
Attachment "Head Ref" {
ObjectId 23,
Parent 9,
}
Attachment "Chest Ref" {
ObjectId 24,
Parent 19,
}
Attachment "Hand Left Ref" {
ObjectId 25,
Parent 14,
}
Attachment "Hand Right Ref" {
ObjectId 26,
Parent 17,
}
Attachment "Origin Ref" {
ObjectId 27,
}

Each Parent is a reference to a Bone object. So if your chest bone is Object no 10, set chest ref parent to 10. ObjectID, should be in numerical order contining after the last set ObjectID. Origin Ref does not need a parent, since it is attached to no bone.[/b]
 
Status
Not open for further replies.
Top