Template:KV Source 2 Hierarchy

From Valve Developer Community
Revision as of 07:08, 8 March 2020 by Rectus (talk | contribs) (Created page with "{{ScrollBox|title=Source 2 Hierarchy| {{KV|Parent (parentname)|targetname|Specifies a movement parent. An entity will maintain its initial offset from its parent.}} {{KV|P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Source 2 Hierarchy:
Parent (parentname) ([todo internal name (i)]) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent.
Parent Model Bone/Attachment Name (parentAttachmentName) ([todo internal name (i)]) <string>
The name of the bone or attachment to attach to on the entity's parent in the movement hierarchy. Use !bonemerge to use bone-merge style attachment.
Model Attachment position offset (local.origin) ([todo internal name (i)]) <coordinates>
Offset in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
Model Attachment angular offset (local.angles) ([todo internal name (i)]) <angles>
Angular offset in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
Model Attachment scale (local.scales) ([todo internal name (i)]) <vector>
Scale in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
Use Model Attachment Offset (useLocalOffset) ([todo internal name (i)]) <boolean>
Whether to respect the specified local offset when doing the initial hierarchical attachment to its parent.