HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attatchments in MDL?

05-26-2004, 06:48 AM#1
Shiv
Is it possible to add an attachment and control it's visibility from within the .mdl file itself? What I mean is can I reference an outside file and attach it similar to how one would attatch a weapon model with triggers? I'd like to be able to do this to allow for direct control of visiblity of an attachment file, but I guess I could settle for triggers if this isn't possible.
05-26-2004, 02:02 PM#2
Oinkerwinkle
You can. Check out any of the Naga building MDLs for examples. Here's the coral bed's.

Attachment "NagaBirth" {
ObjectId 9,
Path "buildings\Naga\CoralBed\NagaBirth_Small.MDL",
Visibility 3 {
DontInterp,
61667: 0,
68333: 0,
71667: 0,
}
}
05-26-2004, 09:50 PM#3
Shiv
Thanks Oinkerwinkle. You are my personal Jesus ^_^