$includemodel

From Valve Developer Community
Revision as of 20:02, 7 November 2007 by Beeswax (talk | contribs)
Jump to navigation Jump to search
$includemodel (filename)
  • Adds a .mdl file that this .mdl will include at run-time, and all new sequences and animations will be appended to the model. Animations and sequences are processed in-order, and subsequent animations/sequences that have name conflicts will be ignored, and any references to .mdl local entry by the same name will be overwritten with the reference to a first one declared.
  • Included .mdl’s can have different bone ordering, but they need to have the same bone hierarchy and ikchain declarations. Currently there’s no run-time checking to verify they match.
  • Only animations and sequences are used from included .mdls. Currently models, textures, faces, attachments, etc. are ignored.