FragmentID-specific Tags (fragtags)

Description

FragmentID-specific tags (also known as fragtags) are tags that you can only assign to fragments with a specific fragmentID.

They exist because many tags don't have to be available to all fragments. For example you might have a FragmentID "hit" grouping together all fragments containing hit reaction animations. The actual type of hit (e.g. "headshot", "explosion", ...) would then be encoded in tags. But those tags are only useful in the context of this "hit" fragmentID. In this case we would make those tags FragmentID-specific. As a matter of fact, most of your tags might be like this.

Another reason to keep your list of global tags small is performance. Even though the system has optimized tag storage and fast tag look-ups, the more global tags you have, the more memory they will take and the longer it will take for those look-ups.

Creating & Editing Fragtags

You create a list of fragtags by creating a new tag definition in the Mannequin Tag Definition Editor.

Then you assign this new tag definition to a FragmentID (or FragmentIDs) in the Mannequin FragmentID Editor.

Each fragmentID can have only one tag definition containing its fragtags, but for more complicated cases you can include (import) other tag definition files hierarchically from this one main tag definition. See the file format section of the Tag Definition File (xxxTags.xml) article.

Storage

Fragtags are stored in separate tag definition files. They are linked to from the fragmentID definition file as sub-tag-definitions.