| 11-03-2003, 05:25 PM | #1 |
bear with me here, I haven't done any model editing using attachments before, so I'm a complete n00b in this respect. Anyway, all the attachments I've seen so far seem to be simple things like sticking wings on a guys back, or a sword in his hand, and they attach to whatever bone and animate with it, right? So here's my question- is it possible to create a simple model, say a rotating disc, that's animated(hence the 'rotating') and attach it to a model, and have it permanently rotating, while being simultaneously animating with whatever bone it's attached to? |
| 11-03-2003, 05:42 PM | #2 |
ataching a model to another model can be done with mdl editing with addind some code like this : Code:
Attachment "Hand Right Ref " {
ObjectId 45,
Parent 39, // "Bone_Hand_R"
Path "units\NightElf\HuntressDismounted\TriSword.mdl",
Visibility 3 {
DontInterp,
50000: 1,
110000: 0,
116667: 0,
}
}ps : i never did it, this code is from a dismounted huntress mdl that did not have the waepon on the model so it has been attached using mdls - model by Xara Alamas - of course has to declare it at the beginning like this : Code:
Model "Watcher" {
NumGeosets 3,
NumGeosetAnims 3,
NumHelpers 15,
NumBones 28,
[color=red]NumAttachments 9,[/color]
NumEvents 3,
BlendTime 150,
MinimumExtent { -72.1253, -82.1236, -59.3488 },
MaximumExtent { 91.3274, 64.2367, 127.942 },
} |
| 11-03-2003, 06:00 PM | #3 |
wow, that was quick. ok, thx, I'll try that. |
| 11-03-2003, 06:09 PM | #4 |
just for your information all those numbers on the top are ignored, and dont need to be changed in any way. Alsmot anything in the .mdl that counts is soley for ythe reference, like Scaling 3 { Linear, 0: {2,2,2}, 33: {3,3,3}, 55: {2,2,2}, } can safely be changed to Scaling 66 { Linear, 0: {2,2,2}, 33: {3,3,3}, 55: {2,2,2}, } and still work fine. |
