Template:KV Source 2 Hierarchy: Difference between revisions
Jump to navigation
Jump to search
(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...") |
Grande1900 (talk | contribs) m (intn'ing KV templates) |
||
| Line 1: | Line 1: | ||
{{ScrollBox|title=Source 2 Hierarchy| | {{ScrollBox|title=Source 2 Hierarchy| | ||
{{KV|[[Parent]] | {{KV|[[Parent]]|intn=parentname|targetname|Specifies a movement parent. An entity will maintain its initial offset from its parent.}} | ||
{{KV|Parent Model Bone/Attachment Name | {{KV|Parent Model Bone/Attachment Name|intn=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.}} | ||
{{KV|Model Attachment position offset | {{KV|Model Attachment position offset|intn=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.}} | ||
{{KV|Model Attachment angular offset | {{KV|Model Attachment angular offset|intn=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.}} | ||
{{KV|Model Attachment scale | {{KV|Model Attachment scale|intn=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.}} | ||
{{KV|Use Model Attachment Offset | {{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 09:24, 24 August 2024
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.