• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

adding of attachment points

Status
Not open for further replies.
Level 6
Joined
Apr 1, 2004
Messages
31
First, you need to know where your attachment point should go in the MDL, in terms of its ObjectId. If there are already existing attachment points, make it be the ObjectId after the last existing one. If none exist, make it be after the last helper. If no helpers exist, then after the last bone.

Next download the objectid inserter from here: http://www.oinkerwinkle.com/tools/download.html . Use it to insert 1 ObjectId after whichever would leave a space where you determined that you need it. For example: Your last Helper's ObjectId was 23, so you'd set the 'Insert After' field to 23.

Then, open your newly generated MDL and scroll down to where the ObjectId gap has been made. Paste this in and modify as needed.
Code:
Attachment "Hand Right Ref " {
	ObjectId 41,
	Parent 36,	// "Bone_Hand_R"
}

Change the name in quotes to that of the attachment point you want it to be. Change the ObjectId to one more than the previous ObjectId. Change the Parent to the ObjectId of the bone that you want it to follow.
 
Status
Not open for further replies.
Top