Template:KV Source 2 Hierarchy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (intn'ing KV templates)
No edit summary
Line 7: Line 7:
{{KV|Use Model Attachment Offset|intn=useLocalOffset|boolean|Whether to respect the specified local offset when doing the initial hierarchical attachment to its parent.}}}}
{{KV|Use Model Attachment Offset|intn=useLocalOffset|boolean|Whether to respect the specified local offset when doing the initial hierarchical attachment to its parent.}}}}
<noinclude>
<noinclude>
[[Category:KeyValue Templates|Source 2 Hierarchy]]
[[Category:Keyvalue Templates|Source 2 Hierarchy]]
</noinclude>
</noinclude>

Revision as of 05:33, 8 February 2025

Source 2 Hierarchy:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent.
Parent Model Bone/Attachment Name (parentAttachmentName) <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) <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) <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) <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) <boolean>
Whether to respect the specified local offset when doing the initial hierarchical attachment to its parent.