Template:HLA KV Parentname: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ScrollBox|title=Parentname| {{KV|Parent (parentname)|targetname|Specifies a movement parent. An entity will maintain its initial offset from...")
 
m (Fix old formatting on KV template that caused ??? to show)
 
Line 1: Line 1:
{{ScrollBox|title=Parentname|
{{ScrollBox|title=Parentname|
{{KV|Parent (parentname)|targetname|Specifies a [[Entity Hierarchy (parenting)|movement parent]]. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.}}
{{KV|Parent|intn=parentname|targetname|Specifies a [[Entity Hierarchy (parenting)|movement parent]]. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.}}
{{KV|Parent Model Bone/Attachment Name (parentAttachment)|parentAttachment|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.}}
{{KV|Parent Model Bone/Attachment Name|intn=parentAttachment|parentAttachment|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.}}
{{KV|Model Attachment position offset (origin)|vector|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.}}
{{KV|Model Attachment position offset|intn=origin|vector|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.}}
{{KV|Model Attachment angular offset (angles)|angle|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.}}
{{KV|Model Attachment angular offset|intn=angles|angle|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.}}
{{KV|Model Attachment scale (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.}}
{{KV|Model Attachment scale|intn=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.}}
{{KV|Use Model Attachment Offset (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|HLA Parentname]]
[[Category:Keyvalue Templates|HLA Parentname]]
</noinclude>
</noinclude>

Latest revision as of 11:55, 19 June 2024

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Parent Model Bone/Attachment Name (parentAttachment) <parentAttachment>
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 (origin) <vector>
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 (angles) <angle>
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 (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.